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.001644/0.001644, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001767/0.001767, allocations: 191 kB / 16.25 MB, free: 6.625 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.513/1.513, allocations: 205.1 MB / 222.1 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4416/0.4416, allocations: 54.92 MB / 324.4 MB, free: 88 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.001383/0.001383, allocations: 71.89 kB / 394.9 MB, free: 12.04 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1397, allocations: 59.58 MB / 454.5 MB, free: 404 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.283/0.4228, allocations: 1.995 MB / 456.5 MB, free: 38.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.4241, allocations: 0.7468 MB / 457.2 MB, free: 38.54 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001273/0.4242, allocations: 2.844 kB / 457.2 MB, free: 38.54 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002753/0.4246, allocations: 74.72 kB / 457.3 MB, free: 38.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001125/0.4247, allocations: 83.27 kB / 457.4 MB, free: 38.54 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005873/0.4253, allocations: 166.6 kB / 457.6 MB, free: 38.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002678/0.4256, allocations: 264.3 kB / 457.8 MB, free: 38.51 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001769/0.4258, allocations: 72.5 kB / 457.9 MB, free: 38.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.4259, allocations: 117.6 kB / 458 MB, free: 38.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001909/0.4261, allocations: 147.5 kB / 458.1 MB, free: 38.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.703e-05/0.4261, allocations: 21.62 kB / 458.2 MB, free: 38.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001382/0.4263, allocations: 90.66 kB / 458.3 MB, free: 38.46 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.033e-05/0.4264, allocations: 66.17 kB / 458.3 MB, free: 38.44 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.674e-05/0.4265, allocations: 100.1 kB / 458.4 MB, free: 38.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000326/0.4268, allocations: 313 kB / 458.7 MB, free: 38.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.4268, allocations: 1.312 kB / 458.7 MB, free: 38.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4268, allocations: 0 / 458.7 MB, free: 38.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.4268, allocations: 0 / 458.7 MB, free: 38.34 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.0007431/0.4276, allocations: 0.5733 MB / 459.3 MB, free: 37.88 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.4276, allocations: 9.031 kB / 459.3 MB, free: 37.88 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.975e-05/0.4277, allocations: 26.94 kB / 459.3 MB, free: 37.87 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003805/0.4281, allocations: 307 kB / 459.6 MB, free: 37.64 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.4281, allocations: 10.75 kB / 459.6 MB, free: 37.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.67e-05/0.4282, allocations: 13.28 kB / 459.7 MB, free: 37.64 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003651/0.4285, allocations: 228 kB / 459.9 MB, free: 37.56 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.4286, allocations: 1.5 kB / 459.9 MB, free: 37.56 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.392e-05/0.4286, allocations: 8.562 kB / 459.9 MB, free: 37.56 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.4286, allocations: 2.5 kB / 459.9 MB, free: 37.56 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002411/0.4289, allocations: 133.6 kB / 460 MB, free: 37.56 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007125/0.4296, allocations: 0.6879 MB / 460.7 MB, free: 37.1 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003485/0.4299, allocations: 167.6 kB / 460.9 MB, free: 37.07 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001674/0.4301, allocations: 100.1 kB / 461 MB, free: 37.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.451e-05/0.4301, allocations: 0 / 461 MB, free: 37.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003587/0.4305, allocations: 170.1 kB / 461.1 MB, free: 36.99 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.443e-06/0.4305, allocations: 3.594 kB / 461.1 MB, free: 36.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.000628/0.4312, allocations: 379.6 kB / 461.5 MB, free: 36.9 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.264e-05/0.4312, allocations: 137.9 kB / 461.7 MB, free: 36.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000224/0.4314, allocations: 280.4 kB / 461.9 MB, free: 36.64 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.4315, allocations: 34.98 kB / 462 MB, free: 36.61 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.77e-05/0.4316, allocations: 157.7 kB / 462.1 MB, free: 36.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.421e-05/0.4316, allocations: 42.7 kB / 462.2 MB, free: 36.49 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.686e-05/0.4317, allocations: 35.59 kB / 462.2 MB, free: 36.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.766e-05/0.4318, allocations: 335.2 kB / 462.5 MB, free: 36.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.4319, allocations: 94.19 kB / 462.6 MB, free: 36.15 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001651/0.4321, allocations: 126 kB / 462.7 MB, free: 36.08 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002716/0.4324, allocations: 246.2 kB / 463 MB, free: 35.94 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.4324, allocations: 0 / 463 MB, free: 35.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004252/0.4328, allocations: 345.7 kB / 463.3 MB, free: 35.8 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.768e-05/0.4328, allocations: 35.11 kB / 463.3 MB, free: 35.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.4329, allocations: 3.344 kB / 463.3 MB, free: 35.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.4329, allocations: 0 / 463.3 MB, free: 35.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.433, allocations: 26.7 kB / 463.4 MB, free: 35.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.433, allocations: 2.656 kB / 463.4 MB, free: 35.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.4331, allocations: 18.84 kB / 463.4 MB, free: 35.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/0.4332, allocations: 9.844 kB / 463.4 MB, free: 35.76 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.0001568/0.4333, allocations: 202.1 kB / 463.6 MB, free: 35.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.49e-05/0.4334, allocations: 30.19 kB / 463.6 MB, free: 35.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.705e-05/0.4334, allocations: 27.47 kB / 463.7 MB, free: 35.56 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.4334, allocations: 0.75 kB / 463.7 MB, free: 35.56 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.4335, allocations: 2.969 kB / 463.7 MB, free: 35.56 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.4335, allocations: 3.281 kB / 463.7 MB, free: 35.56 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002567/0.4337, allocations: 287.8 kB / 463.9 MB, free: 35.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.4337, allocations: 0 / 463.9 MB, free: 35.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.594e-05/0.4338, allocations: 19.86 kB / 464 MB, free: 35.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.4339, allocations: 0 / 464 MB, free: 35.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.301e-05/0.4339, allocations: 11.17 kB / 464 MB, free: 35.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.4339, allocations: 2.594 kB / 464 MB, free: 35.31 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.4339, allocations: 0 / 464 MB, free: 35.31 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006709/0.4346, allocations: 471.1 kB / 464.4 MB, free: 35.11 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.761e-05/0.4346, allocations: 102.2 kB / 464.5 MB, free: 35 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.145e-05/0.4347, allocations: 7.625 kB / 464.5 MB, free: 34.99 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.326e-05/0.4348, allocations: 16.25 kB / 464.6 MB, free: 34.99 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.264e-05/0.4349, allocations: 23.61 kB / 464.6 MB, free: 34.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.446e-05/0.4349, allocations: 5.531 kB / 464.6 MB, free: 34.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001561/0.4351, allocations: 204.8 kB / 464.8 MB, free: 34.87 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4351, allocations: 2.25 kB / 464.8 MB, free: 34.87 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003043/0.4354, allocations: 53.78 kB / 464.8 MB, free: 34.86 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.0002315/0.4356, allocations: 138.9 kB / 465 MB, free: 34.76 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000522/0.4362, allocations: 300.7 kB / 465.3 MB, free: 34.63 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4362, allocations: 0 / 465.3 MB, free: 34.63 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002137/0.4364, allocations: 181.5 kB / 465.5 MB, free: 34.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003649/0.4368, allocations: 30.11 kB / 465.5 MB, free: 34.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.4379, allocations: 0.545 MB / 466 MB, free: 34.19 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002559/0.4382, allocations: 0.752 MB / 466.8 MB, free: 33.49 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001057/0.4383, allocations: 16.69 kB / 466.8 MB, free: 33.49 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.691e-05/0.4384, allocations: 26.81 kB / 466.8 MB, free: 33.47 MB / 382.1 MB Notification: Performance of SimCode: time 6.81e-07/0.4384, allocations: 0 / 466.8 MB, free: 33.47 MB / 382.1 MB Notification: Performance of Templates: time 0.006403/0.4448, allocations: 2.653 MB / 469.5 MB, free: 33.32 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)