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.00109/0.00109, allocations: 109.7 kB / 16.41 MB, free: 6.465 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.001125/0.001125, allocations: 192.3 kB / 17.35 MB, free: 5.715 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.313/1.313, allocations: 222.9 MB / 241.1 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7373/0.7373, allocations: 135.1 MB / 426.3 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00111/0.00111, allocations: 65.89 kB / 0.5863 GB, free: 21.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1485, allocations: 80.93 MB / 0.6653 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003124/0.1516, allocations: 1.935 MB / 0.6672 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001259/0.1529, allocations: 0.7207 MB / 0.6679 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001432/0.1531, allocations: 7.938 kB / 0.6679 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002289/0.1533, allocations: 75.7 kB / 0.668 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001464/0.1535, allocations: 95.56 kB / 0.6681 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005998/0.1541, allocations: 195.6 kB / 0.6682 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003252/0.1544, allocations: 263.4 kB / 0.6685 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001533/0.1546, allocations: 69.58 kB / 0.6686 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001699/0.1548, allocations: 119.6 kB / 0.6687 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002106/0.155, allocations: 159.5 kB / 0.6688 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.307e-05/0.155, allocations: 20 kB / 0.6689 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001419/0.1552, allocations: 87.94 kB / 0.6689 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.677e-05/0.1553, allocations: 59.77 kB / 0.669 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001164/0.1554, allocations: 107.3 kB / 0.6691 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003587/0.1558, allocations: 303 kB / 0.6694 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.1558, allocations: 4 kB / 0.6694 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1558, allocations: 3.938 kB / 0.6694 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.785e-06/0.1558, allocations: 0 / 0.6694 GB, free: 1.684 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.0008432/0.1566, allocations: 0.5819 MB / 0.67 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.1567, allocations: 9.109 kB / 0.67 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.933e-05/0.1568, allocations: 28.66 kB / 0.67 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000517/0.1573, allocations: 306.8 kB / 0.6703 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/0.1573, allocations: 16.12 kB / 0.6703 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.68e-05/0.1574, allocations: 15.98 kB / 0.6703 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003912/0.1578, allocations: 219.1 kB / 0.6705 GB, free: 416 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.1578, allocations: 0 / 0.6705 GB, free: 416 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.111e-05/0.1578, allocations: 11.98 kB / 0.6705 GB, free: 404 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.1578, allocations: 4 kB / 0.6705 GB, free: 400 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002384/0.1581, allocations: 129.3 kB / 0.6707 GB, free: 272 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008503/0.1589, allocations: 0.6807 MB / 0.6713 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003462/0.1593, allocations: 162.5 kB / 0.6715 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001664/0.1595, allocations: 101 kB / 0.6716 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.341e-05/0.1595, allocations: 4.031 kB / 0.6716 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002516/0.1597, allocations: 172.9 kB / 0.6718 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.603e-06/0.1598, allocations: 0 / 0.6718 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0006399/0.1604, allocations: 378.2 kB / 0.6721 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.339e-05/0.1605, allocations: 132.5 kB / 0.6722 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002571/0.1607, allocations: 282.7 kB / 0.6725 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.1608, allocations: 29.7 kB / 0.6725 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.1609, allocations: 160.2 kB / 0.6727 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.789e-05/0.1609, allocations: 47.39 kB / 0.6727 GB, free: 14 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.648e-05/0.161, allocations: 37.7 kB / 0.6728 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.1611, allocations: 338.8 kB / 0.6731 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/0.1613, allocations: 91.95 kB / 0.6732 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001812/0.1615, allocations: 135.1 kB / 0.6733 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00033/0.1618, allocations: 240.8 kB / 0.6735 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1618, allocations: 0 / 0.6735 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004758/0.1623, allocations: 341.1 kB / 0.6739 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.979e-05/0.1624, allocations: 41.62 kB / 0.6739 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/0.1624, allocations: 0 / 0.6739 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.1624, allocations: 4 kB / 0.6739 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.1625, allocations: 23.98 kB / 0.6739 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/0.1625, allocations: 4 kB / 0.6739 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/0.1627, allocations: 23.77 kB / 0.674 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.1627, allocations: 12 kB / 0.674 GB, free: 12.66 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.0001637/0.1629, allocations: 199.5 kB / 0.6742 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.577e-05/0.1629, allocations: 23.72 kB / 0.6742 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.176e-05/0.163, allocations: 29.81 kB / 0.6742 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.163, allocations: 0 / 0.6742 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.163, allocations: 0 / 0.6742 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.179e-05/0.163, allocations: 108.7 kB / 0.6743 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.058e-05/0.1631, allocations: 8 kB / 0.6743 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.1632, allocations: 19.98 kB / 0.6743 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.759e-05/0.1633, allocations: 23.95 kB / 0.6744 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007127/0.164, allocations: 481.8 kB / 0.6748 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006921/0.1647, allocations: 0.6053 MB / 0.6754 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001856/0.1649, allocations: 128 kB / 0.6755 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001652/0.1651, allocations: 198 kB / 0.6757 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of Backend: time 5.11e-07/0.1651, allocations: 3.938 kB / 0.6757 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006512/0.1657, allocations: 321.5 kB / 0.676 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of SimCode: time 0.0008635/0.1666, allocations: 0.9049 MB / 0.6769 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of Templates: time 0.006189/0.1728, allocations: 3.044 MB / 0.6799 GB, free: 6.453 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)