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.001122/0.001122, allocations: 115.3 kB / 16.41 MB, free: 6.391 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.001102/0.001102, allocations: 194.4 kB / 17.34 MB, free: 5.832 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.276/1.276, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.763/0.763, allocations: 135.1 MB / 426.3 MB, free: 4.145 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 62.66 kB / 0.5863 GB, free: 21.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1533, allocations: 80.92 MB / 0.6653 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002856/0.1562, allocations: 1.947 MB / 0.6672 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001116/0.1574, allocations: 0.7206 MB / 0.6679 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.1575, allocations: 0 / 0.6679 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002283/0.1577, allocations: 95.56 kB / 0.668 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001126/0.1579, allocations: 83.58 kB / 0.6681 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005367/0.1584, allocations: 191 kB / 0.6682 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002772/0.1587, allocations: 267.4 kB / 0.6685 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.1588, allocations: 69.58 kB / 0.6686 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.159, allocations: 115.7 kB / 0.6687 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001856/0.1592, allocations: 159.4 kB / 0.6688 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.214e-05/0.1592, allocations: 20 kB / 0.6688 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001383/0.1594, allocations: 91.92 kB / 0.6689 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.33e-05/0.1594, allocations: 55.84 kB / 0.669 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.228e-05/0.1595, allocations: 107.3 kB / 0.6691 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003355/0.1599, allocations: 306.8 kB / 0.6694 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1599, allocations: 0 / 0.6694 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1599, allocations: 0 / 0.6694 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.1599, allocations: 4 kB / 0.6694 GB, free: 1.613 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.0007731/0.1607, allocations: 0.5972 MB / 0.67 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.1607, allocations: 9.109 kB / 0.67 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.347e-05/0.1608, allocations: 32.75 kB / 0.67 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004478/0.1613, allocations: 303.1 kB / 0.6703 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.328e-05/0.1613, allocations: 16.11 kB / 0.6703 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.461e-05/0.1613, allocations: 16 kB / 0.6703 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003489/0.1617, allocations: 223.1 kB / 0.6705 GB, free: 324 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.1617, allocations: 0 / 0.6705 GB, free: 324 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.126e-05/0.1617, allocations: 8 kB / 0.6705 GB, free: 316 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.1617, allocations: 4 kB / 0.6705 GB, free: 312 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002294/0.162, allocations: 129.3 kB / 0.6707 GB, free: 184 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007565/0.1627, allocations: 0.6848 MB / 0.6713 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000323/0.1631, allocations: 166.6 kB / 0.6715 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001494/0.1632, allocations: 96.94 kB / 0.6716 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/0.1633, allocations: 8 kB / 0.6716 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002446/0.1635, allocations: 175.8 kB / 0.6718 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.353e-06/0.1635, allocations: 0 / 0.6718 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0006143/0.1641, allocations: 367.1 kB / 0.6721 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.127e-05/0.1642, allocations: 132.5 kB / 0.6722 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002422/0.1644, allocations: 286.6 kB / 0.6725 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.1645, allocations: 29.7 kB / 0.6725 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.695e-05/0.1646, allocations: 160.3 kB / 0.6727 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.763e-05/0.1646, allocations: 43.62 kB / 0.6727 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.449e-05/0.1647, allocations: 45.73 kB / 0.6728 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.1648, allocations: 346.7 kB / 0.6731 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/0.165, allocations: 87.89 kB / 0.6732 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001778/0.1651, allocations: 140.7 kB / 0.6733 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002902/0.1654, allocations: 236.8 kB / 0.6736 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1655, allocations: 4.031 kB / 0.6736 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004359/0.1659, allocations: 335.1 kB / 0.6739 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.734e-05/0.1659, allocations: 37.69 kB / 0.6739 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.166, allocations: 0 / 0.6739 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.166, allocations: 4 kB / 0.6739 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.1661, allocations: 27.92 kB / 0.6739 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.1661, allocations: 3.984 kB / 0.6739 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.1662, allocations: 31.91 kB / 0.674 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.758e-05/0.1662, allocations: 8 kB / 0.674 GB, free: 12.56 MB / 0.5137 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 (ySet.nextEventScaled,ySet.nextEvent,$PRE.ySet.nextEvent,ySet.last,ySet.b,ySet.a,mot.lowHys.y,$PRE.mot.lowHys.y,mot.uppHys.y,$PRE.mot.uppHys.y,$whenCondition1,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001453/0.1664, allocations: 187.5 kB / 0.6742 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.894e-05/0.1664, allocations: 31.81 kB / 0.6742 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.458e-05/0.1665, allocations: 25.83 kB / 0.6742 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.1665, allocations: 0 / 0.6742 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1665, allocations: 0 / 0.6742 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.477e-05/0.1666, allocations: 112.8 kB / 0.6743 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.845e-05/0.1666, allocations: 11.98 kB / 0.6743 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.848e-05/0.1667, allocations: 12 kB / 0.6744 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.033e-05/0.1668, allocations: 27.89 kB / 0.6744 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006742/0.1675, allocations: 481.8 kB / 0.6748 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006718/0.1682, allocations: 0.6124 MB / 0.6754 GB, free: 11 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001809/0.1683, allocations: 124 kB / 0.6756 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001551/0.1685, allocations: 202 kB / 0.6757 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of Backend: time 1.71e-07/0.1685, allocations: 0 / 0.6757 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000645/0.1692, allocations: 313.7 kB / 0.676 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of SimCode: time 0.0008118/0.17, allocations: 0.9123 MB / 0.6769 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of Templates: time 0.005806/0.1758, allocations: 3.052 MB / 0.6799 GB, free: 6.344 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.makefile (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)