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.0009251/0.000925, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.006975/0.006975, allocations: 171.1 kB / 16.26 MB, free: 6.676 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.608/1.608, allocations: 205.4 MB / 222.4 MB, free: 5.801 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4087/0.4087, allocations: 55.01 MB / 325.8 MB, free: 0.6055 MB / 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.000529/0.0005291, allocations: 12 kB / 397.2 MB, free: 11.41 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4168/0.4174, allocations: 60.73 MB / 458 MB, free: 38.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002233/0.4197, allocations: 1.637 MB / 459.6 MB, free: 38.53 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001304/0.421, allocations: 0.754 MB / 460.4 MB, free: 38.45 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.4211, allocations: 3.438 kB / 460.4 MB, free: 38.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000242/0.4214, allocations: 74.53 kB / 460.4 MB, free: 38.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001133/0.4215, allocations: 87.33 kB / 460.5 MB, free: 38.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005592/0.422, allocations: 154.6 kB / 460.7 MB, free: 38.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002654/0.4223, allocations: 243.4 kB / 460.9 MB, free: 38.4 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000174/0.4225, allocations: 65.67 kB / 461 MB, free: 38.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001186/0.4226, allocations: 89.95 kB / 461.1 MB, free: 38.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001983/0.4228, allocations: 132.7 kB / 461.2 MB, free: 38.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.732e-05/0.4229, allocations: 5.562 kB / 461.2 MB, free: 38.36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001325/0.423, allocations: 75.08 kB / 461.3 MB, free: 38.36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.944e-05/0.4231, allocations: 43.41 kB / 461.3 MB, free: 38.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.87e-05/0.4232, allocations: 117.9 kB / 461.4 MB, free: 38.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002839/0.4235, allocations: 282.3 kB / 461.7 MB, free: 38.22 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.4235, allocations: 0.5 kB / 461.7 MB, free: 38.22 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.4235, allocations: 0.5312 kB / 461.7 MB, free: 38.22 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.086e-06/0.4235, allocations: 3.969 kB / 461.7 MB, free: 38.22 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.0007636/0.4243, allocations: 0.5512 MB / 462.3 MB, free: 37.76 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.4244, allocations: 8.75 kB / 462.3 MB, free: 37.76 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.064e-05/0.4244, allocations: 25.62 kB / 462.3 MB, free: 37.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004332/0.4249, allocations: 314.4 kB / 462.6 MB, free: 37.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.591e-05/0.4249, allocations: 12.91 kB / 462.6 MB, free: 37.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.706e-05/0.4249, allocations: 12.59 kB / 462.6 MB, free: 37.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003731/0.4253, allocations: 232.8 kB / 462.9 MB, free: 37.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.4253, allocations: 1.75 kB / 462.9 MB, free: 37.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.08e-05/0.4254, allocations: 6.656 kB / 462.9 MB, free: 37.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.4254, allocations: 3.516 kB / 462.9 MB, free: 37.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002364/0.4256, allocations: 134.7 kB / 463 MB, free: 37.43 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007309/0.4264, allocations: 0.6808 MB / 463.7 MB, free: 36.98 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004178/0.4268, allocations: 185.9 kB / 463.9 MB, free: 36.95 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001869/0.427, allocations: 107.3 kB / 464 MB, free: 36.94 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/0.427, allocations: 4.812 kB / 464 MB, free: 36.94 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003273/0.4274, allocations: 170.7 kB / 464.1 MB, free: 36.86 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 2.134e-06/0.4274, allocations: 0 / 464.1 MB, free: 36.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006859/0.4281, allocations: 396.9 kB / 464.5 MB, free: 36.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.253e-05/0.4281, allocations: 136.2 kB / 464.7 MB, free: 36.61 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002562/0.4284, allocations: 277.3 kB / 464.9 MB, free: 36.51 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.4284, allocations: 31.83 kB / 465 MB, free: 36.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.014e-05/0.4285, allocations: 155.9 kB / 465.1 MB, free: 36.38 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.301e-05/0.4286, allocations: 47.16 kB / 465.2 MB, free: 36.36 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-05/0.4286, allocations: 28.19 kB / 465.2 MB, free: 36.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.619e-05/0.4287, allocations: 333.4 kB / 465.5 MB, free: 36.03 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001503/0.4289, allocations: 96.95 kB / 465.6 MB, free: 36.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001639/0.429, allocations: 134.3 kB / 465.7 MB, free: 35.97 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003006/0.4293, allocations: 254.8 kB / 466 MB, free: 35.87 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.4293, allocations: 0 / 466 MB, free: 35.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004617/0.4298, allocations: 342.8 kB / 466.3 MB, free: 35.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.013e-05/0.4299, allocations: 40.47 kB / 466.4 MB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.4299, allocations: 0 / 466.4 MB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.4299, allocations: 6.812 kB / 466.4 MB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.43, allocations: 22.25 kB / 466.4 MB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.4301, allocations: 3.688 kB / 466.4 MB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.4302, allocations: 28.81 kB / 466.4 MB, free: 35.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/0.4302, allocations: 5.188 kB / 466.4 MB, free: 35.74 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.0001495/0.4304, allocations: 203.2 kB / 466.6 MB, free: 35.58 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.26e-05/0.4304, allocations: 23.66 kB / 466.7 MB, free: 35.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.573e-05/0.4305, allocations: 27.22 kB / 466.7 MB, free: 35.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.4305, allocations: 2.969 kB / 466.7 MB, free: 35.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.4305, allocations: 7.922 kB / 466.7 MB, free: 35.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.4305, allocations: 0.6094 kB / 466.7 MB, free: 35.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002047/0.4307, allocations: 294.6 kB / 467 MB, free: 35.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.4307, allocations: 0 / 467 MB, free: 35.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/0.4308, allocations: 18.31 kB / 467 MB, free: 35.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.4308, allocations: 0 / 467 MB, free: 35.37 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/0.4309, allocations: 9.969 kB / 467 MB, free: 35.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.4309, allocations: 0 / 467 MB, free: 35.37 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4309, allocations: 3.938 kB / 467 MB, free: 35.36 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007519/0.4316, allocations: 486.8 kB / 467.5 MB, free: 35.24 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.508e-05/0.4317, allocations: 96.02 kB / 467.6 MB, free: 35.14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.364e-05/0.4318, allocations: 9.5 kB / 467.6 MB, free: 35.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.4319, allocations: 17.02 kB / 467.6 MB, free: 35.14 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.917e-05/0.432, allocations: 25.25 kB / 467.6 MB, free: 35.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.036e-05/0.432, allocations: 5.375 kB / 467.6 MB, free: 35.14 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001768/0.4322, allocations: 205.6 kB / 467.8 MB, free: 35.05 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.11e-07/0.4322, allocations: 4 kB / 467.8 MB, free: 35.05 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002591/0.4324, allocations: 63.69 kB / 467.9 MB, free: 35.04 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.0001679/0.4326, allocations: 127 kB / 468 MB, free: 34.95 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005043/0.4331, allocations: 301.4 kB / 468.3 MB, free: 34.88 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4331, allocations: 0 / 468.3 MB, free: 34.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002047/0.4334, allocations: 188.4 kB / 468.5 MB, free: 34.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.4337, allocations: 33.81 kB / 468.5 MB, free: 34.76 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009313/0.4346, allocations: 0.5466 MB / 469.1 MB, free: 34.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002483/0.4349, allocations: 0.7529 MB / 469.8 MB, free: 33.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.669e-05/0.435, allocations: 18.31 kB / 469.9 MB, free: 33.72 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.109e-05/0.435, allocations: 16.41 kB / 469.9 MB, free: 33.71 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.435, allocations: 0 / 469.9 MB, free: 33.71 MB / 382.1 MB Notification: Performance of Templates: time 0.00647/0.4415, allocations: 2.517 MB / 472.4 MB, free: 33.57 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Actuators.Motors.Examples.IdealMotor.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: