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.002034/0.002034, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002564/0.002564, allocations: 193 kB / 16.13 MB, free: 6.652 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.585/1.585, allocations: 205.1 MB / 222 MB, free: 4.719 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4843/0.4843, allocations: 54.93 MB / 324.3 MB, free: 136 kB / 254.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.001644/0.001645, allocations: 60.39 kB / 394.7 MB, free: 12.28 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.159, allocations: 59.59 MB / 454.2 MB, free: 0.6211 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.2749/0.4339, allocations: 1.984 MB / 456.2 MB, free: 39.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001188/0.4352, allocations: 0.7657 MB / 457 MB, free: 38.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.4353, allocations: 2.812 kB / 457 MB, free: 38.96 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002383/0.4356, allocations: 77.28 kB / 457.1 MB, free: 38.96 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001024/0.4357, allocations: 84.55 kB / 457.2 MB, free: 38.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004708/0.4362, allocations: 158.1 kB / 457.3 MB, free: 38.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002089/0.4364, allocations: 239.9 kB / 457.5 MB, free: 38.92 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001536/0.4365, allocations: 61.75 kB / 457.6 MB, free: 38.92 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.4367, allocations: 104.2 kB / 457.7 MB, free: 38.9 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001598/0.4368, allocations: 137 kB / 457.8 MB, free: 38.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.065e-05/0.4369, allocations: 13.42 kB / 457.8 MB, free: 38.87 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001239/0.437, allocations: 81.33 kB / 457.9 MB, free: 38.87 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.273e-05/0.4371, allocations: 49.88 kB / 458 MB, free: 38.86 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.836e-05/0.4372, allocations: 92.47 kB / 458.1 MB, free: 38.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002788/0.4375, allocations: 297.6 kB / 458.4 MB, free: 38.76 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.4375, allocations: 0 / 458.4 MB, free: 38.76 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4375, allocations: 0.5 kB / 458.4 MB, free: 38.76 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.4375, allocations: 0 / 458.4 MB, free: 38.76 MB / 382.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.0007725/0.4383, allocations: 0.5767 MB / 458.9 MB, free: 38.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.4383, allocations: 9.281 kB / 458.9 MB, free: 38.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.29e-05/0.4384, allocations: 26.91 kB / 459 MB, free: 38.29 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003575/0.4387, allocations: 307 kB / 459.3 MB, free: 38.05 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.4388, allocations: 15.91 kB / 459.3 MB, free: 38.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.103e-05/0.4388, allocations: 12.56 kB / 459.3 MB, free: 38.05 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000336/0.4392, allocations: 232.1 kB / 459.5 MB, free: 37.97 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.4392, allocations: 3.188 kB / 459.5 MB, free: 37.97 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.026e-05/0.4392, allocations: 9.5 kB / 459.5 MB, free: 37.97 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.4392, allocations: 3.406 kB / 459.5 MB, free: 37.97 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002182/0.4394, allocations: 130 kB / 459.7 MB, free: 37.97 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007083/0.4402, allocations: 0.6814 MB / 460.3 MB, free: 37.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003202/0.4405, allocations: 169.4 kB / 460.5 MB, free: 37.49 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001453/0.4407, allocations: 105.2 kB / 460.6 MB, free: 37.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.4407, allocations: 5.219 kB / 460.6 MB, free: 37.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003034/0.441, allocations: 166 kB / 460.8 MB, free: 37.4 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.323e-06/0.441, allocations: 2.156 kB / 460.8 MB, free: 37.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005913/0.4416, allocations: 380.2 kB / 461.2 MB, free: 37.31 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.08e-05/0.4417, allocations: 131.7 kB / 461.3 MB, free: 37.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002043/0.4419, allocations: 278.7 kB / 461.6 MB, free: 37.01 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.4419, allocations: 33.52 kB / 461.6 MB, free: 36.97 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.787e-05/0.442, allocations: 157.4 kB / 461.7 MB, free: 36.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.879e-05/0.442, allocations: 41.77 kB / 461.8 MB, free: 36.81 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.059e-05/0.4421, allocations: 41.42 kB / 461.8 MB, free: 36.78 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.109e-05/0.4422, allocations: 339.1 kB / 462.2 MB, free: 36.46 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.4423, allocations: 90.86 kB / 462.2 MB, free: 36.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000158/0.4425, allocations: 131 kB / 462.4 MB, free: 36.36 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002774/0.4428, allocations: 245.9 kB / 462.6 MB, free: 36.22 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.4428, allocations: 0 / 462.6 MB, free: 36.22 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004309/0.4432, allocations: 335 kB / 462.9 MB, free: 36.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.756e-05/0.4433, allocations: 41 kB / 463 MB, free: 36.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.4433, allocations: 0 / 463 MB, free: 36.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.4433, allocations: 2.781 kB / 463 MB, free: 36.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.4434, allocations: 25.56 kB / 463 MB, free: 36.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.4435, allocations: 5.281 kB / 463 MB, free: 36.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.4436, allocations: 23.02 kB / 463 MB, free: 36.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/0.4436, allocations: 13.91 kB / 463 MB, free: 36.04 MB / 382.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.0001468/0.4438, allocations: 202.7 kB / 463.2 MB, free: 35.87 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.506e-05/0.4438, allocations: 23.97 kB / 463.3 MB, free: 35.86 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.224e-05/0.4439, allocations: 27.91 kB / 463.3 MB, free: 35.85 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.4439, allocations: 3.562 kB / 463.3 MB, free: 35.85 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.4439, allocations: 0 / 463.3 MB, free: 35.85 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.4439, allocations: 0 / 463.3 MB, free: 35.85 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000198/0.4441, allocations: 292.6 kB / 463.6 MB, free: 35.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.4441, allocations: 3.688 kB / 463.6 MB, free: 35.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.797e-05/0.4442, allocations: 16.55 kB / 463.6 MB, free: 35.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.4442, allocations: 0.5625 kB / 463.6 MB, free: 35.61 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/0.4443, allocations: 4.828 kB / 463.6 MB, free: 35.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.4443, allocations: 5.625 kB / 463.6 MB, free: 35.6 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4443, allocations: 0 / 463.6 MB, free: 35.6 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006787/0.445, allocations: 475.3 kB / 464.1 MB, free: 35.39 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.679e-05/0.445, allocations: 98.36 kB / 464.2 MB, free: 35.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.671e-05/0.4451, allocations: 6.812 kB / 464.2 MB, free: 35.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.978e-05/0.4452, allocations: 12.12 kB / 464.2 MB, free: 35.28 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.52e-05/0.4453, allocations: 36.05 kB / 464.2 MB, free: 35.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.268e-05/0.4453, allocations: 2.719 kB / 464.2 MB, free: 35.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000161/0.4455, allocations: 202.3 kB / 464.4 MB, free: 35.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4455, allocations: 0 / 464.4 MB, free: 35.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002694/0.4457, allocations: 56.27 kB / 464.5 MB, free: 35.16 MB / 382.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.0001768/0.4459, allocations: 137.3 kB / 464.6 MB, free: 35.05 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004285/0.4464, allocations: 291.8 kB / 464.9 MB, free: 34.92 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.4464, allocations: 2.438 kB / 464.9 MB, free: 34.92 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002013/0.4466, allocations: 188.2 kB / 465.1 MB, free: 34.81 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003077/0.4469, allocations: 29.59 kB / 465.1 MB, free: 34.8 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009664/0.4479, allocations: 0.5408 MB / 465.7 MB, free: 34.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002721/0.4482, allocations: 0.7534 MB / 466.4 MB, free: 33.78 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.369e-05/0.4483, allocations: 27.14 kB / 466.4 MB, free: 33.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.206e-05/0.4483, allocations: 17.19 kB / 466.5 MB, free: 33.77 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4483, allocations: 0 / 466.5 MB, free: 33.77 MB / 382.1 MB Notification: Performance of Templates: time 0.005624/0.4539, allocations: 2.53 MB / 469 MB, free: 33.62 MB / 382.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)