Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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 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(Annex60.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(Annex60.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.004907/0.004907, allocations: 102.3 kB / 15.73 MB, free: 6.055 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.001166/0.001166, allocations: 191.5 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.476/1.476, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2889/0.2889, allocations: 54.96 MB / 324.9 MB, free: 4.828 MB / 270.1 MB 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: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 83.83 kB / 456.2 MB, free: 2.621 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1458, allocations: 59.6 MB / 0.5037 GB, free: 7.074 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003218/0.1491, allocations: 1.937 MB / 0.5056 GB, free: 5.121 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001311/0.1504, allocations: 0.7525 MB / 0.5063 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.1506, allocations: 3.938 kB / 0.5063 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002527/0.1508, allocations: 87.64 kB / 0.5064 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001332/0.151, allocations: 83.62 kB / 0.5065 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000563/0.1515, allocations: 190.7 kB / 0.5067 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003082/0.1519, allocations: 267.5 kB / 0.5069 GB, free: 3.742 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001651/0.152, allocations: 69.81 kB / 0.507 GB, free: 3.676 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001486/0.1522, allocations: 115.7 kB / 0.5071 GB, free: 3.562 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002033/0.1524, allocations: 155.5 kB / 0.5073 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.484e-05/0.1524, allocations: 20 kB / 0.5073 GB, free: 3.391 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001474/0.1526, allocations: 95.86 kB / 0.5074 GB, free: 3.297 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.613e-05/0.1527, allocations: 63.77 kB / 0.5074 GB, free: 3.234 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.1528, allocations: 103.3 kB / 0.5075 GB, free: 3.133 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003456/0.1531, allocations: 307 kB / 0.5078 GB, free: 2.832 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1532, allocations: 0 / 0.5078 GB, free: 2.832 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1532, allocations: 0 / 0.5078 GB, free: 2.832 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1532, allocations: 0 / 0.5078 GB, free: 2.832 MB / 398.1 MB 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.0008678/0.154, allocations: 0.5936 MB / 0.5084 GB, free: 2.184 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.1541, allocations: 8.031 kB / 0.5084 GB, free: 2.176 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.602e-05/0.1542, allocations: 32.56 kB / 0.5084 GB, free: 2.145 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004922/0.1547, allocations: 306.8 kB / 0.5087 GB, free: 1.805 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.1547, allocations: 8.375 kB / 0.5087 GB, free: 1.797 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.79e-05/0.1547, allocations: 16.38 kB / 0.5088 GB, free: 1.781 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000386/0.1551, allocations: 227.9 kB / 0.509 GB, free: 1.539 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.1551, allocations: 0 / 0.509 GB, free: 1.539 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.367e-05/0.1552, allocations: 12 kB / 0.509 GB, free: 1.527 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.1552, allocations: 4 kB / 0.509 GB, free: 1.523 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002436/0.1554, allocations: 132.3 kB / 0.5091 GB, free: 1.395 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008486/0.1563, allocations: 0.677 MB / 0.5098 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003357/0.1566, allocations: 174.3 kB / 0.5099 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001586/0.1568, allocations: 96.95 kB / 0.51 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/0.1568, allocations: 4 kB / 0.51 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002591/0.1571, allocations: 169 kB / 0.5102 GB, free: 200 kB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 1.963e-06/0.1571, allocations: 0 / 0.5102 GB, free: 200 kB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006951/0.1578, allocations: 382.1 kB / 0.5106 GB, free: 15.81 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.78e-05/0.1579, allocations: 132.5 kB / 0.5107 GB, free: 15.65 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002692/0.1582, allocations: 278.7 kB / 0.511 GB, free: 15.37 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.143e-05/0.1582, allocations: 33.7 kB / 0.511 GB, free: 15.33 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.1583, allocations: 160.2 kB / 0.5111 GB, free: 15.17 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.184e-05/0.1584, allocations: 43.44 kB / 0.5112 GB, free: 15.13 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.392e-05/0.1585, allocations: 37.7 kB / 0.5112 GB, free: 15.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.1586, allocations: 338.8 kB / 0.5115 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.1588, allocations: 91.89 kB / 0.5116 GB, free: 14.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001797/0.159, allocations: 129 kB / 0.5118 GB, free: 14.51 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003188/0.1593, allocations: 238.7 kB / 0.512 GB, free: 14.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1593, allocations: 0 / 0.512 GB, free: 14.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004988/0.1598, allocations: 338.9 kB / 0.5123 GB, free: 13.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.966e-05/0.1599, allocations: 37.69 kB / 0.5123 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.1599, allocations: 0 / 0.5123 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.63e-05/0.1599, allocations: 7.984 kB / 0.5123 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001359/0.1601, allocations: 24.08 kB / 0.5124 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.145e-05/0.1601, allocations: 15.86 kB / 0.5124 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.1602, allocations: 19.83 kB / 0.5124 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.726e-05/0.1602, allocations: 8 kB / 0.5124 GB, free: 13.79 MB / 414.1 MB 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.0001912/0.1604, allocations: 199.4 kB / 0.5126 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.235e-05/0.1605, allocations: 31.62 kB / 0.5126 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.235e-05/0.1606, allocations: 25.83 kB / 0.5127 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1606, allocations: 0 / 0.5127 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.1606, allocations: 0 / 0.5127 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.1606, allocations: 4 kB / 0.5127 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002583/0.1609, allocations: 297.3 kB / 0.5129 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1609, allocations: 0 / 0.5129 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.161, allocations: 23.94 kB / 0.513 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.161, allocations: 3.984 kB / 0.513 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.003e-05/0.161, allocations: 4 kB / 0.513 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.161, allocations: 0 / 0.513 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.161, allocations: 0 / 0.513 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006586/0.1617, allocations: 462.3 kB / 0.5134 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.17e-05/0.1618, allocations: 108.8 kB / 0.5135 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.26e-05/0.1618, allocations: 4 kB / 0.5135 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.1619, allocations: 15.98 kB / 0.5135 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.34e-05/0.162, allocations: 27.91 kB / 0.5136 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.09e-05/0.162, allocations: 7.984 kB / 0.5136 GB, free: 12.49 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001739/0.1622, allocations: 202 kB / 0.5138 GB, free: 12.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1622, allocations: 0 / 0.5138 GB, free: 12.29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002604/0.1625, allocations: 56.12 kB / 0.5138 GB, free: 12.24 MB / 414.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002015/0.1627, allocations: 138.8 kB / 0.5139 GB, free: 12.1 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000467/0.1632, allocations: 295.2 kB / 0.5142 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1632, allocations: 0 / 0.5142 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002208/0.1634, allocations: 183.3 kB / 0.5144 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.1637, allocations: 37.02 kB / 0.5144 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009781/0.1647, allocations: 473.1 kB / 0.5149 GB, free: 11.08 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/0.165, allocations: 0.7514 MB / 0.5156 GB, free: 10.3 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.105e-05/0.1651, allocations: 17.55 kB / 0.5156 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.644e-05/0.1652, allocations: 19.44 kB / 0.5157 GB, free: 10.27 MB / 414.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1652, allocations: 0 / 0.5157 GB, free: 10.27 MB / 414.1 MB Notification: Performance of Templates: time 0.00611/0.1713, allocations: 2.843 MB / 0.5184 GB, free: 7.445 MB / 414.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Actuators.Motors.Examples.IdealMotor.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Actuators.Motors.Examples.IdealMotor.sim & ./Annex60_1.0.0_Annex60.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1)