Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_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.InductiveMotorI_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test") translateModel(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09286/0.09286, allocations: 12.59 MB / 28.23 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.001115/0.001114, allocations: 111.4 kB / 31.83 MB, free: 3.895 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.418/1.418, allocations: 205.1 MB / 240.4 MB, free: 12.36 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.001306/0.001306, allocations: 184.5 kB / 290.7 MB, free: 13.38 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4315/0.4315, allocations: 78.51 MB / 419.3 MB, free: 11.24 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.002578/0.002578, allocations: 143.3 kB / 0.5558 GB, free: 28.63 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1354, allocations: 68.12 MB / 0.6224 GB, free: 15.46 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test): time 0.003924/0.1394, allocations: 2.784 MB / 0.6251 GB, free: 12.65 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001825/0.1412, allocations: 0.9474 MB / 0.626 GB, free: 11.7 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002917/0.1416, allocations: 4 kB / 0.626 GB, free: 11.7 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000348/0.1419, allocations: 91.33 kB / 0.6261 GB, free: 11.61 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004399/0.1424, allocations: 139 kB / 0.6262 GB, free: 11.47 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001033/0.1434, allocations: 454 kB / 0.6267 GB, free: 11.03 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005395/0.144, allocations: 422.3 kB / 0.6271 GB, free: 10.61 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002062/0.1442, allocations: 96.98 kB / 0.6272 GB, free: 10.52 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002476/0.1445, allocations: 167.2 kB / 0.6273 GB, free: 10.35 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003925/0.1449, allocations: 231 kB / 0.6275 GB, free: 10.12 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.097e-05/0.1449, allocations: 32 kB / 0.6276 GB, free: 10.09 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001965/0.1451, allocations: 87.97 kB / 0.6276 GB, free: 10.01 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.783e-05/0.1452, allocations: 83.61 kB / 0.6277 GB, free: 9.926 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002004/0.1455, allocations: 190.9 kB / 0.6279 GB, free: 9.738 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005906/0.1461, allocations: 0.4905 MB / 0.6284 GB, free: 9.246 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1461, allocations: 3.938 kB / 0.6284 GB, free: 9.242 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1461, allocations: 0 / 0.6284 GB, free: 9.242 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.901e-05/0.1461, allocations: 4 kB / 0.6284 GB, free: 9.238 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.00317/0.1493, allocations: 1.013 MB / 0.6294 GB, free: 8.172 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.1493, allocations: 11.98 kB / 0.6294 GB, free: 8.16 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001733/0.1511, allocations: 256.2 kB / 0.6296 GB, free: 7.91 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004537/0.1515, allocations: 359.7 kB / 0.63 GB, free: 7.516 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00012/0.1517, allocations: 84.08 kB / 0.6301 GB, free: 7.422 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.305e-05/0.1517, allocations: 24 kB / 0.6301 GB, free: 7.398 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007739/0.1525, allocations: 368.8 kB / 0.6304 GB, free: 7.031 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.1525, allocations: 4 kB / 0.6304 GB, free: 7.027 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.433e-05/0.1526, allocations: 4 kB / 0.6304 GB, free: 7.023 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.1526, allocations: 8 kB / 0.6305 GB, free: 7.016 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007647/0.1534, allocations: 370 kB / 0.6308 GB, free: 6.652 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002001/0.1554, allocations: 1.014 MB / 0.6318 GB, free: 5.59 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006991/0.1624, allocations: 1.375 MB / 0.6331 GB, free: 4.207 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005889/0.163, allocations: 256.8 kB / 0.6334 GB, free: 3.953 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.892e-05/0.1631, allocations: 7.984 kB / 0.6334 GB, free: 3.945 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.1631, allocations: 38.56 kB / 0.6334 GB, free: 3.898 MB / 446.1 MB Notification: Performance of pre-optimization done (n=31): time 2.255e-06/0.1631, allocations: 0 / 0.6334 GB, free: 3.898 MB / 446.1 MB Notification: Performance of matching and sorting (n=31): time 0.007036/0.1701, allocations: 1.975 MB / 0.6354 GB, free: 1.852 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.1702, allocations: 55.34 kB / 0.6354 GB, free: 1.785 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000429/0.1706, allocations: 316.6 kB / 0.6357 GB, free: 1.469 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.793e-05/0.1707, allocations: 33.7 kB / 0.6357 GB, free: 1.43 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.1708, allocations: 184.6 kB / 0.6359 GB, free: 1.242 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/0.1709, allocations: 118.4 kB / 0.636 GB, free: 1.125 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.1711, allocations: 49.98 kB / 0.6361 GB, free: 1.07 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.1712, allocations: 350.7 kB / 0.6364 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004959/0.1717, allocations: 216.4 kB / 0.6366 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004812/0.1722, allocations: 221 kB / 0.6368 GB, free: 300 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009951/0.1732, allocations: 482.2 kB / 0.6373 GB, free: 15.82 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.1732, allocations: 0 / 0.6373 GB, free: 15.82 MB / 462.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.004312/0.1775, allocations: 1.248 MB / 0.6385 GB, free: 14.55 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.1776, allocations: 4 kB / 0.6385 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.1776, allocations: 0 / 0.6385 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003243/0.1808, allocations: 0.7594 MB / 0.6393 GB, free: 13.78 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001884/0.181, allocations: 35.92 kB / 0.6393 GB, free: 13.75 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006178/0.1872, allocations: 3.122 MB / 0.6423 GB, free: 10.48 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005214/0.1877, allocations: 55.89 kB / 0.6424 GB, free: 10.43 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.475e-05/0.1878, allocations: 8 kB / 0.6424 GB, free: 10.42 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 (21): * Single equations (assignments): 18 * 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 {(5,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002209/0.188, allocations: 156.2 kB / 0.6426 GB, free: 10.26 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.921e-05/0.1881, allocations: 35.61 kB / 0.6426 GB, free: 10.22 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004165/0.1923, allocations: 1.218 MB / 0.6438 GB, free: 8.988 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/0.1923, allocations: 4 kB / 0.6438 GB, free: 8.984 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.1923, allocations: 3.938 kB / 0.6438 GB, free: 8.98 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.1923, allocations: 0 / 0.6438 GB, free: 8.98 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005998/0.193, allocations: 0.5204 MB / 0.6443 GB, free: 8.41 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.193, allocations: 3.938 kB / 0.6443 GB, free: 8.406 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002067/0.1932, allocations: 31.92 kB / 0.6443 GB, free: 8.375 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002806/0.196, allocations: 0.6698 MB / 0.645 GB, free: 7.695 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.565e-05/0.196, allocations: 4 kB / 0.645 GB, free: 7.691 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004749/0.2008, allocations: 2.688 MB / 0.6476 GB, free: 4.867 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.2008, allocations: 4 kB / 0.6476 GB, free: 4.863 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004686/0.2055, allocations: 1.574 MB / 0.6491 GB, free: 3.262 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/0.2057, allocations: 116.6 kB / 0.6493 GB, free: 3.129 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.369e-05/0.2057, allocations: 8 kB / 0.6493 GB, free: 3.121 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004458/0.2062, allocations: 27.97 kB / 0.6493 GB, free: 3.094 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002315/0.2064, allocations: 95.92 kB / 0.6494 GB, free: 3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.749e-05/0.2065, allocations: 8 kB / 0.6494 GB, free: 2.992 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002682/0.2067, allocations: 227.1 kB / 0.6496 GB, free: 2.773 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2067, allocations: 0 / 0.6496 GB, free: 2.773 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005166/0.2073, allocations: 139.8 kB / 0.6497 GB, free: 2.637 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (motorTypeI.s) * 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 (22): * Single equations (assignments): 19 * 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.0001769/0.2075, allocations: 111.2 kB / 0.6498 GB, free: 2.516 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002565/0.21, allocations: 0.9868 MB / 0.6508 GB, free: 1.473 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.21, allocations: 0 / 0.6508 GB, free: 1.473 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001783/0.2118, allocations: 0.713 MB / 0.6515 GB, free: 0.7031 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003778/0.2122, allocations: 34.23 kB / 0.6515 GB, free: 0.668 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006651/0.2189, allocations: 1.084 MB / 0.6526 GB, free: 15.56 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005341/0.2194, allocations: 0.7834 MB / 0.6534 GB, free: 14.75 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001257/0.2196, allocations: 34.22 kB / 0.6534 GB, free: 14.72 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.895e-05/0.2197, allocations: 19.44 kB / 0.6534 GB, free: 14.7 MB / 478.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2197, allocations: 0 / 0.6534 GB, free: 14.7 MB / 478.1 MB Notification: Performance of Templates: time 0.01367/0.2334, allocations: 8.158 MB / 0.6614 GB, free: 6.543 MB / 478.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe 2>&1)