Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_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.InductiveMotorIII_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test") translateModel(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07613/0.07613, allocations: 12.6 MB / 28.9 MB, free: 0.6055 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.001063/0.001063, allocations: 111.5 kB / 32.5 MB, free: 3.547 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.19/1.19, allocations: 205.1 MB / 241.1 MB, free: 12.38 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.001219/0.001219, allocations: 191.4 kB / 291.4 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.4085/0.4085, allocations: 78.5 MB / 420 MB, free: 11.25 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.002411/0.002411, allocations: 134.7 kB / 0.5565 GB, free: 28.61 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1053, allocations: 68.13 MB / 0.623 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test): time 0.003632/0.109, allocations: 2.983 MB / 0.6259 GB, free: 12.45 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001479/0.1105, allocations: 1.01 MB / 0.6269 GB, free: 11.43 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.1106, allocations: 4 kB / 0.6269 GB, free: 11.43 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002519/0.1109, allocations: 95.28 kB / 0.627 GB, free: 11.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002774/0.1112, allocations: 150.9 kB / 0.6272 GB, free: 11.19 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001123/0.1123, allocations: 461.9 kB / 0.6276 GB, free: 10.74 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005176/0.1128, allocations: 0.502 MB / 0.6281 GB, free: 10.23 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001911/0.113, allocations: 100.9 kB / 0.6282 GB, free: 10.13 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002385/0.1133, allocations: 203.1 kB / 0.6284 GB, free: 9.934 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003956/0.1137, allocations: 286.8 kB / 0.6287 GB, free: 9.652 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.949e-05/0.1138, allocations: 44 kB / 0.6287 GB, free: 9.609 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002035/0.114, allocations: 99.98 kB / 0.6288 GB, free: 9.512 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.223e-05/0.1141, allocations: 107.5 kB / 0.6289 GB, free: 9.406 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001967/0.1143, allocations: 230.7 kB / 0.6291 GB, free: 9.18 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000589/0.1149, allocations: 0.5606 MB / 0.6297 GB, free: 8.617 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.1149, allocations: 0 / 0.6297 GB, free: 8.617 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1149, allocations: 3.938 kB / 0.6297 GB, free: 8.613 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.1149, allocations: 0 / 0.6297 GB, free: 8.613 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.003591/0.1185, allocations: 1.114 MB / 0.6308 GB, free: 7.449 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.1186, allocations: 19.98 kB / 0.6308 GB, free: 7.43 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001875/0.1205, allocations: 268 kB / 0.631 GB, free: 7.168 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004512/0.1209, allocations: 398.2 kB / 0.6314 GB, free: 6.738 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001031/0.121, allocations: 92.08 kB / 0.6315 GB, free: 6.637 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.547e-05/0.1211, allocations: 24 kB / 0.6315 GB, free: 6.613 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007446/0.1219, allocations: 404.6 kB / 0.6319 GB, free: 6.207 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.1219, allocations: 0 / 0.6319 GB, free: 6.207 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.623e-05/0.1219, allocations: 19.92 kB / 0.6319 GB, free: 6.188 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.1219, allocations: 8 kB / 0.6319 GB, free: 6.18 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007138/0.1226, allocations: 386 kB / 0.6323 GB, free: 5.805 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001772/0.1244, allocations: 1.084 MB / 0.6334 GB, free: 4.668 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006226/0.1307, allocations: 1.381 MB / 0.6347 GB, free: 3.273 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005563/0.1313, allocations: 276.6 kB / 0.635 GB, free: 3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.677e-05/0.1313, allocations: 4 kB / 0.635 GB, free: 2.996 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/0.1314, allocations: 42.55 kB / 0.635 GB, free: 2.945 MB / 446.1 MB Notification: Performance of pre-optimization done (n=35): time 2.885e-06/0.1314, allocations: 0 / 0.635 GB, free: 2.945 MB / 446.1 MB Notification: Performance of matching and sorting (n=35): time 0.005994/0.1374, allocations: 1.959 MB / 0.6369 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/0.1374, allocations: 55.41 kB / 0.637 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004488/0.1379, allocations: 405.6 kB / 0.6374 GB, free: 452 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.333e-05/0.1379, allocations: 29.7 kB / 0.6374 GB, free: 416 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.1381, allocations: 208.5 kB / 0.6376 GB, free: 204 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/0.1382, allocations: 122.2 kB / 0.6377 GB, free: 80 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/0.1383, allocations: 54.03 kB / 0.6378 GB, free: 16 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.1384, allocations: 358.8 kB / 0.6381 GB, free: 15.66 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004719/0.1389, allocations: 228.5 kB / 0.6383 GB, free: 15.43 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004591/0.1394, allocations: 225.2 kB / 0.6385 GB, free: 15.21 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009303/0.1403, allocations: 0.491 MB / 0.639 GB, free: 14.72 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1403, allocations: 0 / 0.639 GB, free: 14.72 MB / 462.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003664/0.144, allocations: 1.275 MB / 0.6403 GB, free: 13.43 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.144, allocations: 4 kB / 0.6403 GB, free: 13.43 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/0.1441, allocations: 4 kB / 0.6403 GB, free: 13.42 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002706/0.1468, allocations: 0.7673 MB / 0.641 GB, free: 12.64 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001935/0.147, allocations: 35.92 kB / 0.6411 GB, free: 12.61 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005325/0.1523, allocations: 3.116 MB / 0.6441 GB, free: 9.355 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003944/0.1527, allocations: 55.73 kB / 0.6442 GB, free: 9.301 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.175e-05/0.1528, allocations: 8 kB / 0.6442 GB, free: 9.293 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 {(7,6)} Notification: Performance of prepare postOptimizeDAE: time 0.000172/0.1529, allocations: 149.6 kB / 0.6443 GB, free: 9.137 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.567e-05/0.153, allocations: 43.44 kB / 0.6443 GB, free: 9.094 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003422/0.1564, allocations: 1.214 MB / 0.6455 GB, free: 7.859 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.1565, allocations: 4 kB / 0.6455 GB, free: 7.855 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.1565, allocations: 0 / 0.6455 GB, free: 7.855 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.1565, allocations: 7.922 kB / 0.6455 GB, free: 7.848 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005282/0.157, allocations: 0.5283 MB / 0.6461 GB, free: 7.27 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.157, allocations: 0 / 0.6461 GB, free: 7.27 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002369/0.1573, allocations: 47.92 kB / 0.6461 GB, free: 7.223 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002088/0.1594, allocations: 0.619 MB / 0.6467 GB, free: 6.594 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.334e-05/0.1594, allocations: 8 kB / 0.6467 GB, free: 6.586 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003891/0.1633, allocations: 2.552 MB / 0.6492 GB, free: 3.895 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1633, allocations: 0 / 0.6492 GB, free: 3.895 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003906/0.1672, allocations: 1.586 MB / 0.6508 GB, free: 2.281 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.761e-05/0.1673, allocations: 120.5 kB / 0.6509 GB, free: 2.145 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.482e-05/0.1674, allocations: 15.94 kB / 0.6509 GB, free: 2.129 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004012/0.1678, allocations: 35.95 kB / 0.6509 GB, free: 2.094 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002021/0.168, allocations: 87.88 kB / 0.651 GB, free: 2.008 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.643e-05/0.1681, allocations: 4 kB / 0.651 GB, free: 2.004 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002791/0.1683, allocations: 291.2 kB / 0.6513 GB, free: 1.719 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.244e-06/0.1684, allocations: 4 kB / 0.6513 GB, free: 1.715 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004482/0.1688, allocations: 143.8 kB / 0.6514 GB, free: 1.574 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (motorTypeI.s,motorTypeI.epr,motorTypeI.epm) * 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.0001484/0.169, allocations: 107.2 kB / 0.6515 GB, free: 1.461 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002504/0.1715, allocations: 1.08 MB / 0.6526 GB, free: 332 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1715, allocations: 0 / 0.6526 GB, free: 332 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001558/0.173, allocations: 0.7287 MB / 0.6533 GB, free: 15.54 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003162/0.1734, allocations: 29.56 kB / 0.6533 GB, free: 15.51 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.1748, allocations: 0.8841 MB / 0.6542 GB, free: 14.59 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/0.1751, allocations: 0.815 MB / 0.655 GB, free: 13.75 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.1752, allocations: 35.42 kB / 0.655 GB, free: 13.72 MB / 478.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1752, allocations: 0 / 0.655 GB, free: 13.72 MB / 478.1 MB Notification: Performance of Templates: time 0.01125/0.1865, allocations: 10.57 MB / 0.6653 GB, free: 3.125 MB / 478.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe 2>&1)