Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.conf.json 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/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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008666/0.0008669, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008773/0.0008773, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.212/1.212, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8286/0.8286, allocations: 135.2 MB / 426.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003281/0.0003284, allocations: 8 kB / 0.5068 GB, free: 5.297 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1519, allocations: 82.3 MB / 0.5872 GB, free: 3.16 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.001955/0.1539, allocations: 1.598 MB / 0.5888 GB, free: 1.543 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009977/0.1549, allocations: 0.6451 MB / 0.5894 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.615e-05/0.155, allocations: 0 / 0.5894 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001343/0.1551, allocations: 75.77 kB / 0.5895 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001291/0.1553, allocations: 83.8 kB / 0.5895 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004783/0.1558, allocations: 137.4 kB / 0.5897 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002466/0.156, allocations: 147.8 kB / 0.5898 GB, free: 480 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.1562, allocations: 56.88 kB / 0.5899 GB, free: 428 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.1563, allocations: 95.66 kB / 0.59 GB, free: 332 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001795/0.1565, allocations: 103.6 kB / 0.5901 GB, free: 228 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.397e-05/0.1565, allocations: 7.938 kB / 0.5901 GB, free: 220 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000112/0.1566, allocations: 67.94 kB / 0.5901 GB, free: 152 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.682e-05/0.1567, allocations: 47.81 kB / 0.5902 GB, free: 104 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.038e-05/0.1568, allocations: 61.58 kB / 0.5902 GB, free: 36 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002425/0.157, allocations: 215.8 kB / 0.5904 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.157, allocations: 0 / 0.5904 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.322e-06/0.157, allocations: 0 / 0.5904 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.732e-06/0.157, allocations: 4 kB / 0.5904 GB, free: 15.82 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0007789/0.1578, allocations: 0.549 MB / 0.591 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.1579, allocations: 19.97 kB / 0.591 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.116e-05/0.1579, allocations: 31.61 kB / 0.591 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004425/0.1584, allocations: 309.5 kB / 0.5913 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.1584, allocations: 8 kB / 0.5913 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.313e-05/0.1585, allocations: 16 kB / 0.5913 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003563/0.1588, allocations: 227.9 kB / 0.5916 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.1588, allocations: 0 / 0.5916 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.832e-05/0.1589, allocations: 4 kB / 0.5916 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.1589, allocations: 4 kB / 0.5916 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002343/0.1591, allocations: 136.3 kB / 0.5917 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007621/0.1599, allocations: 0.7002 MB / 0.5924 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003351/0.1602, allocations: 182.6 kB / 0.5926 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/0.1603, allocations: 0 / 0.5926 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002637/0.1605, allocations: 169 kB / 0.5927 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.422e-06/0.1605, allocations: 0 / 0.5927 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0006812/0.1612, allocations: 464.1 kB / 0.5932 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.814e-05/0.1613, allocations: 132.5 kB / 0.5933 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002491/0.1615, allocations: 282.6 kB / 0.5936 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.942e-05/0.1616, allocations: 29.7 kB / 0.5936 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.524e-05/0.1617, allocations: 164.2 kB / 0.5937 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.824e-05/0.1617, allocations: 43.39 kB / 0.5938 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.009e-05/0.1618, allocations: 4 kB / 0.5938 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.1619, allocations: 342.8 kB / 0.5941 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.1621, allocations: 84.09 kB / 0.5942 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001819/0.1622, allocations: 139.3 kB / 0.5943 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001596/0.1624, allocations: 117.6 kB / 0.5944 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1624, allocations: 4.031 kB / 0.5944 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004382/0.1629, allocations: 334.9 kB / 0.5948 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.369e-05/0.1629, allocations: 41.69 kB / 0.5948 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.1629, allocations: 0 / 0.5948 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.1629, allocations: 4 kB / 0.5948 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.1631, allocations: 28.02 kB / 0.5948 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.1631, allocations: 7.984 kB / 0.5948 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.1632, allocations: 23.83 kB / 0.5949 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.311e-05/0.1632, allocations: 12 kB / 0.5949 GB, free: 10.95 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,$PRE.mot.uppHys.y,mot.uppHys.y,$PRE.mot.lowHys.y,mot.lowHys.y,ySet.a,ySet.b,ySet.last,$PRE.ySet.nextEvent,ySet.nextEvent,ySet.nextEventScaled,mot.int.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001462/0.1634, allocations: 190.8 kB / 0.5951 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.315e-05/0.1634, allocations: 31.67 kB / 0.5951 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.944e-05/0.1635, allocations: 29.83 kB / 0.5951 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.1635, allocations: 8.031 kB / 0.5951 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.1635, allocations: 3.938 kB / 0.5951 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1635, allocations: 0 / 0.5951 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002183/0.1637, allocations: 289.4 kB / 0.5954 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1637, allocations: 0 / 0.5954 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.426e-05/0.1638, allocations: 15.98 kB / 0.5954 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.1638, allocations: 7.953 kB / 0.5954 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.1639, allocations: 0 / 0.5954 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1639, allocations: 8 kB / 0.5954 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1639, allocations: 0 / 0.5954 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006373/0.1645, allocations: 482.3 kB / 0.5959 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.974e-05/0.1646, allocations: 92.86 kB / 0.596 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.108e-05/0.1646, allocations: 11.95 kB / 0.596 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.1647, allocations: 15.98 kB / 0.596 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.845e-05/0.1648, allocations: 27.95 kB / 0.596 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.899e-05/0.1649, allocations: 11.92 kB / 0.596 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001587/0.165, allocations: 198 kB / 0.5962 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.165, allocations: 0 / 0.5962 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002514/0.1653, allocations: 67.89 kB / 0.5963 GB, free: 9.383 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (mot.int.y) * Number of discrete variables: 8 ($whenCondition1,mot.uppHys.y,mot.lowHys.y,ySet.a,ySet.b,ySet.last,ySet.nextEvent,ySet.nextEventScaled) * Number of discrete states: 8 (mot.lowHys.y,mot.uppHys.y,ySet.nextEvent,ySet.last,ySet.nextEventScaled,ySet.b,ySet.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00017/0.1655, allocations: 134.5 kB / 0.5964 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000418/0.1659, allocations: 295.4 kB / 0.5967 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1659, allocations: 8 kB / 0.5967 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002083/0.1661, allocations: 187.3 kB / 0.5969 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002006/0.1663, allocations: 32.05 kB / 0.5969 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008516/0.1672, allocations: 0.5186 MB / 0.5974 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002812/0.1675, allocations: 0.7635 MB / 0.5982 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.76e-05/0.1676, allocations: 17.55 kB / 0.5982 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.796e-05/0.1676, allocations: 15.44 kB / 0.5982 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1676, allocations: 0 / 0.5982 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of Templates: time 0.004992/0.1726, allocations: 2.438 MB / 0.6006 GB, free: 4.93 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) Environment - environmentSimulation: