Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.conf.json 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/Modelica 4.0.0+maint.om/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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009404/0.0009405, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 221.4 MB / 234.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008501/0.00085, allocations: 88.86 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5148/0.5148, allocations: 78.9 MB / 415.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.579e-05/5.592e-05, allocations: 4 kB / 492.8 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3909/0.3909, allocations: 69.51 MB / 0.5491 GB, free: 19.59 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1217/0.5127, allocations: 92.6 MB / 0.6395 GB, free: 7.043 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002774/0.513, allocations: 75.95 kB / 0.6396 GB, free: 6.969 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02511/0.5381, allocations: 9.205 MB / 0.6486 GB, free: 13.7 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.5382, allocations: 4 kB / 0.6486 GB, free: 13.7 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.609e-05/0.5382, allocations: 12 kB / 0.6486 GB, free: 13.69 MB / 474.7 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.0021/0.5403, allocations: 0.8107 MB / 0.6494 GB, free: 12.83 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.5404, allocations: 19.91 kB / 0.6494 GB, free: 12.81 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001105/0.5415, allocations: 179.3 kB / 0.6496 GB, free: 12.64 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007038/0.5422, allocations: 371.7 kB / 0.65 GB, free: 12.23 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001248/0.5423, allocations: 91.89 kB / 0.65 GB, free: 12.12 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.909e-05/0.5424, allocations: 28 kB / 0.6501 GB, free: 12.1 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006424/0.5431, allocations: 333.2 kB / 0.6504 GB, free: 11.77 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.5431, allocations: 3.953 kB / 0.6504 GB, free: 11.76 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.977e-05/0.5431, allocations: 12 kB / 0.6504 GB, free: 11.75 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.5431, allocations: 7.984 kB / 0.6504 GB, free: 11.74 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005845/0.5437, allocations: 330.2 kB / 0.6507 GB, free: 11.42 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002174/0.5459, allocations: 1.127 MB / 0.6518 GB, free: 10.24 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007106/0.553, allocations: 1.728 MB / 0.6535 GB, free: 8.5 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003916/0.5535, allocations: 220.8 kB / 0.6537 GB, free: 8.281 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.584e-05/0.5535, allocations: 4 kB / 0.6537 GB, free: 8.277 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.5536, allocations: 35.16 kB / 0.6538 GB, free: 8.234 MB / 474.7 MB Notification: Performance of pre-optimization done (n=35): time 2.926e-06/0.5536, allocations: 4 kB / 0.6538 GB, free: 8.23 MB / 474.7 MB Notification: Performance of matching and sorting (n=35): time 0.003551/0.5571, allocations: 1.166 MB / 0.6549 GB, free: 7.047 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/0.5572, allocations: 55.41 kB / 0.655 GB, free: 6.98 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005397/0.5578, allocations: 351.6 kB / 0.6553 GB, free: 6.637 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.582e-05/0.5578, allocations: 29.7 kB / 0.6553 GB, free: 6.602 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001733/0.558, allocations: 204.5 kB / 0.6555 GB, free: 6.398 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001431/0.5581, allocations: 126.2 kB / 0.6556 GB, free: 6.273 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.814e-05/0.5582, allocations: 4 kB / 0.6556 GB, free: 6.27 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.5584, allocations: 350.8 kB / 0.656 GB, free: 5.918 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003235/0.5587, allocations: 176.7 kB / 0.6561 GB, free: 5.742 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002967/0.559, allocations: 173.3 kB / 0.6563 GB, free: 5.574 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003225/0.5593, allocations: 194.1 kB / 0.6565 GB, free: 5.387 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.5593, allocations: 0 / 0.6565 GB, free: 5.387 MB / 474.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003715/0.5631, allocations: 1.284 MB / 0.6577 GB, free: 4.086 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/0.5631, allocations: 9.703 kB / 0.6578 GB, free: 4.078 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.5631, allocations: 0 / 0.6578 GB, free: 4.078 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002736/0.5658, allocations: 0.744 MB / 0.6585 GB, free: 3.324 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000235/0.5661, allocations: 39.92 kB / 0.6585 GB, free: 3.285 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005018/0.5711, allocations: 2.657 MB / 0.6611 GB, free: 0.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006141/0.5718, allocations: 67.69 kB / 0.6612 GB, free: 444 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.788e-05/0.5718, allocations: 12 kB / 0.6612 GB, free: 432 kB / 474.7 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 () * 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 (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {7 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001648/0.572, allocations: 114.2 kB / 0.6613 GB, free: 312 kB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/0.5722, allocations: 39.44 kB / 0.6613 GB, free: 272 kB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003561/0.5758, allocations: 1.23 MB / 0.6625 GB, free: 15.01 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.5758, allocations: 4 kB / 0.6625 GB, free: 15.01 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.5758, allocations: 0 / 0.6625 GB, free: 15.01 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.5758, allocations: 0 / 0.6625 GB, free: 15.01 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007274/0.5765, allocations: 0.5322 MB / 0.6631 GB, free: 14.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.5766, allocations: 0 / 0.6631 GB, free: 14.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002762/0.5768, allocations: 39.92 kB / 0.6631 GB, free: 14.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002008/0.5789, allocations: 0.5957 MB / 0.6637 GB, free: 13.78 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.248e-05/0.5789, allocations: 11.94 kB / 0.6637 GB, free: 13.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003158/0.5821, allocations: 2.145 MB / 0.6658 GB, free: 11.49 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.5821, allocations: 0 / 0.6658 GB, free: 11.49 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003868/0.586, allocations: 1.547 MB / 0.6673 GB, free: 9.918 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001679/0.5862, allocations: 128.5 kB / 0.6674 GB, free: 9.773 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.364e-05/0.5862, allocations: 8 kB / 0.6674 GB, free: 9.766 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004807/0.5867, allocations: 47.95 kB / 0.6675 GB, free: 9.719 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002245/0.587, allocations: 83.84 kB / 0.6676 GB, free: 9.637 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.373e-05/0.587, allocations: 15.95 kB / 0.6676 GB, free: 9.621 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003469/0.5874, allocations: 282.2 kB / 0.6678 GB, free: 9.348 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5874, allocations: 0 / 0.6678 GB, free: 9.348 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000553/0.5879, allocations: 151.8 kB / 0.668 GB, free: 9.199 MB / 490.7 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 () * 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 (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002638/0.5882, allocations: 127.1 kB / 0.6681 GB, free: 9.066 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00245/0.5907, allocations: 1.018 MB / 0.6691 GB, free: 7.992 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.5907, allocations: 0 / 0.6691 GB, free: 7.992 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00159/0.5923, allocations: 0.7252 MB / 0.6698 GB, free: 7.211 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002626/0.5925, allocations: 33.27 kB / 0.6698 GB, free: 7.176 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/0.5939, allocations: 0.6502 MB / 0.6705 GB, free: 6.504 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004012/0.5943, allocations: 0.8266 MB / 0.6713 GB, free: 5.648 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001329/0.5944, allocations: 26.97 kB / 0.6713 GB, free: 5.621 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.434e-05/0.5945, allocations: 19.44 kB / 0.6713 GB, free: 5.602 MB / 490.7 MB Notification: Performance of SimCode: time 3.31e-07/0.5945, allocations: 4 kB / 0.6713 GB, free: 5.598 MB / 490.7 MB Notification: Performance of Templates: time 0.2939/0.8884, allocations: 7.276 MB / 0.6784 GB, free: 117.1 MB / 490.7 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe 2>&1)