Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test") translateModel(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.0873/0.0873, allocations: 12.59 MB / 28.22 MB, free: 0.7656 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 107.4 kB / 31.84 MB, free: 3.898 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.414/1.414, allocations: 205.1 MB / 240.4 MB, free: 12.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001922/0.001921, allocations: 187.4 kB / 290.7 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4641/0.4641, allocations: 78.51 MB / 419.3 MB, free: 11.22 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002939/0.002939, allocations: 143.5 kB / 0.5558 GB, free: 28.5 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1458, allocations: 68.12 MB / 0.6224 GB, free: 15.46 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test): time 0.004105/0.1499, allocations: 3.065 MB / 0.6254 GB, free: 12.38 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001726/0.1517, allocations: 1.018 MB / 0.6263 GB, free: 11.36 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001432/0.1519, allocations: 4 kB / 0.6263 GB, free: 11.35 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002934/0.1522, allocations: 95.27 kB / 0.6264 GB, free: 11.26 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003276/0.1525, allocations: 170.8 kB / 0.6266 GB, free: 11.09 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009767/0.1535, allocations: 473.8 kB / 0.6271 GB, free: 10.63 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005121/0.154, allocations: 0.5332 MB / 0.6276 GB, free: 10.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001841/0.1542, allocations: 96.98 kB / 0.6277 GB, free: 9.996 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002445/0.1545, allocations: 223 kB / 0.6279 GB, free: 9.777 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003917/0.1549, allocations: 302.7 kB / 0.6282 GB, free: 9.48 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.961e-05/0.1549, allocations: 48 kB / 0.6282 GB, free: 9.434 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001805/0.1551, allocations: 103.9 kB / 0.6283 GB, free: 9.332 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.1552, allocations: 115.6 kB / 0.6284 GB, free: 9.219 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001891/0.1554, allocations: 238.6 kB / 0.6287 GB, free: 8.984 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006549/0.1561, allocations: 0.5913 MB / 0.6292 GB, free: 8.391 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1561, allocations: 0 / 0.6292 GB, free: 8.391 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1561, allocations: 4 kB / 0.6292 GB, free: 8.387 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.1561, allocations: 4 kB / 0.6292 GB, free: 8.383 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.003375/0.1595, allocations: 1.157 MB / 0.6304 GB, free: 7.176 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.1596, allocations: 15.98 kB / 0.6304 GB, free: 7.16 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001643/0.1612, allocations: 272.4 kB / 0.6306 GB, free: 6.895 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005711/0.1618, allocations: 426.4 kB / 0.631 GB, free: 6.438 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001228/0.1619, allocations: 92.02 kB / 0.6311 GB, free: 6.336 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.859e-05/0.162, allocations: 28 kB / 0.6312 GB, free: 6.309 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008081/0.1628, allocations: 400.7 kB / 0.6315 GB, free: 5.91 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.1628, allocations: 4 kB / 0.6315 GB, free: 5.906 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.37e-05/0.1629, allocations: 12 kB / 0.6316 GB, free: 5.895 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.1629, allocations: 8 kB / 0.6316 GB, free: 5.887 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007927/0.1637, allocations: 390 kB / 0.6319 GB, free: 5.504 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002025/0.1657, allocations: 1.123 MB / 0.633 GB, free: 4.328 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006563/0.1723, allocations: 1.379 MB / 0.6344 GB, free: 2.941 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005852/0.1729, allocations: 284.7 kB / 0.6347 GB, free: 2.66 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.373e-05/0.173, allocations: 4 kB / 0.6347 GB, free: 2.656 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.173, allocations: 34.56 kB / 0.6347 GB, free: 2.613 MB / 446.1 MB Notification: Performance of pre-optimization done (n=35): time 2.345e-06/0.173, allocations: 0 / 0.6347 GB, free: 2.613 MB / 446.1 MB Notification: Performance of matching and sorting (n=35): time 0.006246/0.1793, allocations: 1.986 MB / 0.6366 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.1793, allocations: 55.41 kB / 0.6367 GB, free: 500 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005475/0.1799, allocations: 429.6 kB / 0.6371 GB, free: 60 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.535e-05/0.18, allocations: 29.7 kB / 0.6371 GB, free: 24 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001714/0.1801, allocations: 216.7 kB / 0.6373 GB, free: 15.81 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001273/0.1803, allocations: 138.8 kB / 0.6375 GB, free: 15.67 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001354/0.1804, allocations: 61.7 kB / 0.6375 GB, free: 15.61 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.1806, allocations: 350.8 kB / 0.6379 GB, free: 15.25 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005073/0.1811, allocations: 239.8 kB / 0.6381 GB, free: 15.02 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004975/0.1816, allocations: 247.7 kB / 0.6383 GB, free: 14.78 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/0.1826, allocations: 0.5051 MB / 0.6388 GB, free: 14.27 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.1826, allocations: 0 / 0.6388 GB, free: 14.27 MB / 462.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.004485/0.1871, allocations: 1.373 MB / 0.6402 GB, free: 12.88 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.1872, allocations: 15.94 kB / 0.6402 GB, free: 12.86 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.1872, allocations: 0 / 0.6402 GB, free: 12.86 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003548/0.1907, allocations: 0.8765 MB / 0.641 GB, free: 11.98 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002139/0.191, allocations: 35.92 kB / 0.6411 GB, free: 11.94 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006866/0.1978, allocations: 3.394 MB / 0.6444 GB, free: 8.41 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00056/0.1984, allocations: 55.73 kB / 0.6444 GB, free: 8.355 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.26e-05/0.1985, allocations: 11.98 kB / 0.6444 GB, free: 8.344 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002354/0.1987, allocations: 155.3 kB / 0.6446 GB, free: 8.184 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.891e-05/0.1988, allocations: 39.77 kB / 0.6446 GB, free: 8.145 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003717/0.2025, allocations: 1.237 MB / 0.6458 GB, free: 6.891 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.2025, allocations: 4 kB / 0.6458 GB, free: 6.887 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.2026, allocations: 4 kB / 0.6458 GB, free: 6.883 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.2026, allocations: 0 / 0.6458 GB, free: 6.883 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000618/0.2032, allocations: 0.5517 MB / 0.6464 GB, free: 6.281 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.2032, allocations: 0 / 0.6464 GB, free: 6.281 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003028/0.2035, allocations: 39.97 kB / 0.6464 GB, free: 6.242 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002123/0.2056, allocations: 0.6229 MB / 0.647 GB, free: 5.609 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.073e-05/0.2057, allocations: 16 kB / 0.647 GB, free: 5.594 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005177/0.2109, allocations: 2.557 MB / 0.6495 GB, free: 2.891 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.2109, allocations: 3.938 kB / 0.6495 GB, free: 2.887 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005974/0.2169, allocations: 1.614 MB / 0.6511 GB, free: 1.242 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002146/0.2171, allocations: 132.8 kB / 0.6512 GB, free: 1.094 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.056e-05/0.2172, allocations: 4 kB / 0.6512 GB, free: 1.09 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000634/0.2179, allocations: 39.95 kB / 0.6513 GB, free: 1.051 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003344/0.2182, allocations: 91.73 kB / 0.6514 GB, free: 0.9609 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.473e-05/0.2183, allocations: 8 kB / 0.6514 GB, free: 0.9531 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005331/0.2188, allocations: 311.1 kB / 0.6517 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2189, allocations: 0 / 0.6517 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007758/0.2196, allocations: 151.8 kB / 0.6518 GB, free: 0.5039 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (motorTypeI.s,motorTypeI.e1r,motorTypeI.e1m,motorTypeI.e2r,motorTypeI.e2m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002475/0.2199, allocations: 115.1 kB / 0.6519 GB, free: 388 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004058/0.224, allocations: 1.119 MB / 0.653 GB, free: 15.2 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.187e-06/0.224, allocations: 4 kB / 0.653 GB, free: 15.2 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002387/0.2264, allocations: 0.7362 MB / 0.6537 GB, free: 14.4 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005892/0.227, allocations: 34.42 kB / 0.6538 GB, free: 14.37 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001816/0.2288, allocations: 0.9693 MB / 0.6547 GB, free: 13.38 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004577/0.2293, allocations: 0.8274 MB / 0.6555 GB, free: 12.52 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001106/0.2294, allocations: 26.97 kB / 0.6556 GB, free: 12.5 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.2295, allocations: 27.44 kB / 0.6556 GB, free: 12.47 MB / 478.1 MB Notification: Performance of SimCode: time 8.02e-07/0.2295, allocations: 4 kB / 0.6556 GB, free: 12.46 MB / 478.1 MB Notification: Performance of Templates: time 0.02094/0.2505, allocations: 9.002 MB / 0.6644 GB, free: 3.465 MB / 478.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe 2>&1)