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.00109/0.00109, allocations: 101.4 kB / 15.7 MB, free: 28 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 195.6 kB / 16.64 MB, free: 6.438 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.519/1.519, allocations: 205.1 MB / 222.5 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4136/0.4136, allocations: 54.94 MB / 324.8 MB, free: 15.97 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.001452/0.001453, allocations: 67.91 kB / 396.1 MB, free: 11.09 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4337/0.4352, allocations: 59.58 MB / 455.7 MB, free: 40.1 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003565/0.4388, allocations: 1.949 MB / 457.6 MB, free: 39.58 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00136/0.4402, allocations: 0.7434 MB / 458.4 MB, free: 39.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001432/0.4404, allocations: 5.656 kB / 458.4 MB, free: 39.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002833/0.4407, allocations: 85.78 kB / 458.5 MB, free: 39.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001365/0.4408, allocations: 88.72 kB / 458.6 MB, free: 39.33 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000684/0.4415, allocations: 190 kB / 458.7 MB, free: 39.31 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003151/0.4419, allocations: 263.6 kB / 459 MB, free: 39.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001813/0.442, allocations: 66.08 kB / 459.1 MB, free: 39.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.4422, allocations: 115.3 kB / 459.2 MB, free: 39.28 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001928/0.4424, allocations: 154.9 kB / 459.3 MB, free: 39.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.324e-05/0.4424, allocations: 18.38 kB / 459.3 MB, free: 39.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001468/0.4426, allocations: 101.7 kB / 459.4 MB, free: 39.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.376e-05/0.4427, allocations: 60.5 kB / 459.5 MB, free: 39.24 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.4428, allocations: 105.6 kB / 459.6 MB, free: 39.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003546/0.4431, allocations: 308.2 kB / 459.9 MB, free: 39.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.4432, allocations: 1.406 kB / 459.9 MB, free: 39.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.4432, allocations: 0 / 459.9 MB, free: 39.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.176e-05/0.4432, allocations: 0 / 459.9 MB, free: 39.14 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.0007812/0.444, allocations: 0.585 MB / 460.5 MB, free: 38.67 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.444, allocations: 10.69 kB / 460.5 MB, free: 38.67 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.097e-05/0.4441, allocations: 30.72 kB / 460.5 MB, free: 38.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004961/0.4446, allocations: 304.3 kB / 460.8 MB, free: 38.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/0.4446, allocations: 10.56 kB / 460.8 MB, free: 38.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.462e-05/0.4447, allocations: 19.36 kB / 460.9 MB, free: 38.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003578/0.445, allocations: 227.7 kB / 461.1 MB, free: 38.35 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.4451, allocations: 0 / 461.1 MB, free: 38.35 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.018e-05/0.4451, allocations: 11.38 kB / 461.1 MB, free: 38.35 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.4451, allocations: 6.062 kB / 461.1 MB, free: 38.35 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002222/0.4453, allocations: 130 kB / 461.2 MB, free: 38.35 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007044/0.446, allocations: 0.6722 MB / 461.9 MB, free: 37.9 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003223/0.4464, allocations: 178.6 kB / 462.1 MB, free: 37.85 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001418/0.4465, allocations: 95.41 kB / 462.2 MB, free: 37.81 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.4466, allocations: 6.344 kB / 462.2 MB, free: 37.81 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002554/0.4468, allocations: 167 kB / 462.3 MB, free: 37.71 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.854e-06/0.4468, allocations: 0 / 462.3 MB, free: 37.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006077/0.4474, allocations: 380.5 kB / 462.7 MB, free: 37.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/0.4475, allocations: 134.4 kB / 462.8 MB, free: 37.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002115/0.4477, allocations: 281.2 kB / 463.1 MB, free: 37.26 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.4478, allocations: 28.45 kB / 463.1 MB, free: 37.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.188e-05/0.4478, allocations: 157.3 kB / 463.3 MB, free: 37.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.314e-05/0.4479, allocations: 39.84 kB / 463.3 MB, free: 37.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.352e-05/0.448, allocations: 42.31 kB / 463.4 MB, free: 37.04 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.02e-05/0.448, allocations: 339.7 kB / 463.7 MB, free: 36.71 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.4482, allocations: 85.86 kB / 463.8 MB, free: 36.69 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000161/0.4484, allocations: 135.2 kB / 463.9 MB, free: 36.62 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002822/0.4486, allocations: 241.5 kB / 464.2 MB, free: 36.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4487, allocations: 0 / 464.2 MB, free: 36.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004215/0.4491, allocations: 347.3 kB / 464.5 MB, free: 36.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.903e-05/0.4491, allocations: 31.33 kB / 464.5 MB, free: 36.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.4492, allocations: 6.328 kB / 464.5 MB, free: 36.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.4492, allocations: 1.312 kB / 464.5 MB, free: 36.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.4493, allocations: 27.86 kB / 464.6 MB, free: 36.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.4493, allocations: 0 / 464.6 MB, free: 36.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000111/0.4494, allocations: 27.33 kB / 464.6 MB, free: 36.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.566e-05/0.4495, allocations: 9.938 kB / 464.6 MB, free: 36.29 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.0001402/0.4496, allocations: 202.7 kB / 464.8 MB, free: 36.12 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.272e-05/0.4496, allocations: 23.38 kB / 464.8 MB, free: 36.11 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.072e-05/0.4497, allocations: 29.94 kB / 464.8 MB, free: 36.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.4497, allocations: 2.75 kB / 464.8 MB, free: 36.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.4497, allocations: 0 / 464.8 MB, free: 36.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.4497, allocations: 3.328 kB / 464.9 MB, free: 36.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001936/0.4499, allocations: 284.9 kB / 465.1 MB, free: 35.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.4499, allocations: 5.625 kB / 465.1 MB, free: 35.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.242e-05/0.45, allocations: 17.39 kB / 465.2 MB, free: 35.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.4501, allocations: 1.172 kB / 465.2 MB, free: 35.85 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/0.4501, allocations: 7.125 kB / 465.2 MB, free: 35.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.4501, allocations: 0 / 465.2 MB, free: 35.85 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4501, allocations: 0 / 465.2 MB, free: 35.85 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005784/0.4507, allocations: 477.5 kB / 465.6 MB, free: 35.64 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.484e-05/0.4507, allocations: 97.27 kB / 465.7 MB, free: 35.53 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.743e-05/0.4508, allocations: 9.812 kB / 465.7 MB, free: 35.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.4509, allocations: 16.11 kB / 465.7 MB, free: 35.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.174e-05/0.451, allocations: 26.89 kB / 465.8 MB, free: 35.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.176e-05/0.451, allocations: 9.094 kB / 465.8 MB, free: 35.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000154/0.4512, allocations: 202 kB / 466 MB, free: 35.41 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4512, allocations: 0 / 466 MB, free: 35.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002742/0.4514, allocations: 58.38 kB / 466 MB, free: 35.39 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.0001907/0.4516, allocations: 134.2 kB / 466.2 MB, free: 35.29 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004109/0.4521, allocations: 296.3 kB / 466.5 MB, free: 35.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4521, allocations: 0 / 466.5 MB, free: 35.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001802/0.4523, allocations: 185.7 kB / 466.6 MB, free: 35.05 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002999/0.4526, allocations: 39 kB / 466.7 MB, free: 35.04 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008709/0.4534, allocations: 476.9 kB / 467.1 MB, free: 34.79 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001859/0.4536, allocations: 0.7561 MB / 467.9 MB, free: 34.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.364e-05/0.4537, allocations: 19.17 kB / 467.9 MB, free: 34.08 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.312e-05/0.4538, allocations: 15.12 kB / 467.9 MB, free: 34.07 MB / 382.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4538, allocations: 0 / 467.9 MB, free: 34.07 MB / 382.1 MB Notification: Performance of Templates: time 0.005797/0.4596, allocations: 2.827 MB / 470.8 MB, free: 33.91 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)