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.07685/0.07685, allocations: 12.6 MB / 28.9 MB, free: 428 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 115.4 kB / 32.5 MB, free: 3.426 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.366/1.366, allocations: 205.1 MB / 241.1 MB, free: 12.37 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.001512/0.001512, allocations: 184.5 kB / 291.4 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.4483/0.4483, allocations: 78.51 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.004076/0.004076, allocations: 139.8 kB / 0.5565 GB, free: 28.88 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1143, allocations: 68.13 MB / 0.623 GB, free: 15.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test): time 0.004269/0.1186, allocations: 2.994 MB / 0.626 GB, free: 12.54 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001724/0.1203, allocations: 1.003 MB / 0.6269 GB, free: 11.53 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001304/0.1204, allocations: 7.938 kB / 0.6269 GB, free: 11.52 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002688/0.1207, allocations: 91.33 kB / 0.627 GB, free: 11.43 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003276/0.121, allocations: 162.9 kB / 0.6272 GB, free: 11.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.1221, allocations: 468.3 kB / 0.6276 GB, free: 10.82 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005537/0.1226, allocations: 0.5059 MB / 0.6281 GB, free: 10.31 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001789/0.1228, allocations: 68.92 kB / 0.6282 GB, free: 10.24 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002552/0.1231, allocations: 211.1 kB / 0.6284 GB, free: 10.03 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003991/0.1235, allocations: 282.8 kB / 0.6287 GB, free: 9.754 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.716e-05/0.1235, allocations: 40 kB / 0.6287 GB, free: 9.715 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001886/0.1237, allocations: 103.9 kB / 0.6288 GB, free: 9.613 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.1238, allocations: 107.5 kB / 0.6289 GB, free: 9.508 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000221/0.124, allocations: 222.8 kB / 0.6291 GB, free: 9.289 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006921/0.1247, allocations: 0.5679 MB / 0.6297 GB, free: 8.719 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1247, allocations: 0 / 0.6297 GB, free: 8.719 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1247, allocations: 0 / 0.6297 GB, free: 8.719 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.144e-06/0.1247, allocations: 4 kB / 0.6297 GB, free: 8.715 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.00359/0.1283, allocations: 1.13 MB / 0.6308 GB, free: 7.535 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.1284, allocations: 15.98 kB / 0.6308 GB, free: 7.52 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001765/0.1301, allocations: 272.4 kB / 0.6311 GB, free: 7.254 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005522/0.1307, allocations: 410.4 kB / 0.6314 GB, free: 6.812 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001238/0.1308, allocations: 92.08 kB / 0.6315 GB, free: 6.711 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.081e-05/0.1309, allocations: 28 kB / 0.6316 GB, free: 6.684 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008722/0.1318, allocations: 392.7 kB / 0.6319 GB, free: 6.289 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.1318, allocations: 0 / 0.6319 GB, free: 6.289 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.054e-05/0.1318, allocations: 12 kB / 0.6319 GB, free: 6.277 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.1318, allocations: 15.94 kB / 0.632 GB, free: 6.262 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008806/0.1327, allocations: 390 kB / 0.6323 GB, free: 5.883 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002146/0.1349, allocations: 1.084 MB / 0.6334 GB, free: 4.746 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007376/0.1422, allocations: 1.346 MB / 0.6347 GB, free: 3.387 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005824/0.1428, allocations: 248.7 kB / 0.6349 GB, free: 3.141 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.013e-05/0.1429, allocations: 7.984 kB / 0.6349 GB, free: 3.133 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.1429, allocations: 34.56 kB / 0.635 GB, free: 3.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=35): time 1.553e-06/0.1429, allocations: 0 / 0.635 GB, free: 3.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=35): time 0.007009/0.1499, allocations: 1.959 MB / 0.6369 GB, free: 1.059 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.023e-05/0.15, allocations: 55.41 kB / 0.6369 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005277/0.1505, allocations: 409.6 kB / 0.6373 GB, free: 0.582 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.516e-05/0.1505, allocations: 33.7 kB / 0.6374 GB, free: 0.543 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001807/0.1507, allocations: 208.7 kB / 0.6376 GB, free: 344 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/0.1508, allocations: 122.9 kB / 0.6377 GB, free: 220 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001474/0.151, allocations: 65.97 kB / 0.6377 GB, free: 144 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.1512, allocations: 346.8 kB / 0.6381 GB, free: 15.79 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005602/0.1517, allocations: 228.5 kB / 0.6383 GB, free: 15.57 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005662/0.1523, allocations: 233.2 kB / 0.6385 GB, free: 15.34 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001114/0.1534, allocations: 494.9 kB / 0.639 GB, free: 14.86 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1534, allocations: 0 / 0.639 GB, free: 14.86 MB / 462.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.004462/0.1579, allocations: 1.264 MB / 0.6402 GB, free: 13.58 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.1579, allocations: 11.94 kB / 0.6402 GB, free: 13.57 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.1579, allocations: 3.984 kB / 0.6402 GB, free: 13.56 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00322/0.1611, allocations: 0.7673 MB / 0.641 GB, free: 12.79 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002163/0.1613, allocations: 31.98 kB / 0.641 GB, free: 12.75 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006449/0.1678, allocations: 3.112 MB / 0.6441 GB, free: 9.504 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004928/0.1683, allocations: 55.73 kB / 0.6441 GB, free: 9.449 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.112e-05/0.1683, allocations: 11.94 kB / 0.6441 GB, free: 9.438 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.000217/0.1685, allocations: 153.7 kB / 0.6443 GB, free: 9.277 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.107e-05/0.1686, allocations: 39.77 kB / 0.6443 GB, free: 9.238 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004096/0.1727, allocations: 1.202 MB / 0.6455 GB, free: 8.016 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.1727, allocations: 4 kB / 0.6455 GB, free: 8.012 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.1727, allocations: 7.938 kB / 0.6455 GB, free: 8.004 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.1727, allocations: 7.922 kB / 0.6455 GB, free: 7.996 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006489/0.1734, allocations: 0.5322 MB / 0.646 GB, free: 7.414 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1734, allocations: 0 / 0.646 GB, free: 7.414 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002654/0.1736, allocations: 43.97 kB / 0.6461 GB, free: 7.371 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002431/0.1761, allocations: 0.623 MB / 0.6467 GB, free: 6.738 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.249e-05/0.1761, allocations: 4 kB / 0.6467 GB, free: 6.734 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004615/0.1807, allocations: 2.561 MB / 0.6492 GB, free: 4.035 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1807, allocations: 4 kB / 0.6492 GB, free: 4.031 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004724/0.1854, allocations: 1.582 MB / 0.6507 GB, free: 2.422 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/0.1856, allocations: 124.8 kB / 0.6508 GB, free: 2.281 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.366e-05/0.1856, allocations: 11.94 kB / 0.6509 GB, free: 2.27 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004528/0.1861, allocations: 35.95 kB / 0.6509 GB, free: 2.234 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002313/0.1863, allocations: 87.88 kB / 0.651 GB, free: 2.148 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.728e-05/0.1863, allocations: 4 kB / 0.651 GB, free: 2.145 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000345/0.1867, allocations: 295.2 kB / 0.6513 GB, free: 1.855 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1867, allocations: 0 / 0.6513 GB, free: 1.855 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004952/0.1872, allocations: 139.9 kB / 0.6514 GB, free: 1.719 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.00017/0.1874, allocations: 111.2 kB / 0.6515 GB, free: 1.602 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002964/0.1903, allocations: 1.057 MB / 0.6525 GB, free: 500 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1903, allocations: 0 / 0.6525 GB, free: 500 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001864/0.1922, allocations: 0.7093 MB / 0.6532 GB, free: 15.72 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003543/0.1925, allocations: 36.83 kB / 0.6533 GB, free: 15.69 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00159/0.1941, allocations: 0.8576 MB / 0.6541 GB, free: 14.8 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004525/0.1946, allocations: 0.8033 MB / 0.6549 GB, free: 13.98 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001214/0.1947, allocations: 34.95 kB / 0.6549 GB, free: 13.95 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.1948, allocations: 27.44 kB / 0.6549 GB, free: 13.92 MB / 478.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1948, allocations: 0 / 0.6549 GB, free: 13.92 MB / 478.1 MB Notification: Performance of Templates: time 0.0148/0.2096, allocations: 8.469 MB / 0.6632 GB, free: 5.445 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 -s gbode -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe 2>&1)