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.001501/0.001502, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.001904/0.001905, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.45/1.45, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4169/0.4169, allocations: 54.98 MB / 325.4 MB, free: 0.707 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.001024/0.001025, allocations: 12 kB / 396.6 MB, free: 11.78 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4117/0.4128, allocations: 60.73 MB / 457.3 MB, free: 38.39 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.00239/0.4152, allocations: 1.598 MB / 458.9 MB, free: 38.33 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001206/0.4165, allocations: 0.6889 MB / 459.6 MB, free: 38.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001186/0.4166, allocations: 0 / 459.6 MB, free: 38.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001724/0.4168, allocations: 77 kB / 459.7 MB, free: 38.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001407/0.4169, allocations: 83.39 kB / 459.8 MB, free: 38.24 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004999/0.4174, allocations: 131.8 kB / 459.9 MB, free: 38.24 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002386/0.4177, allocations: 149.6 kB / 460 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001544/0.4179, allocations: 53.86 kB / 460.1 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.418, allocations: 96.34 kB / 460.2 MB, free: 38.21 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001568/0.4181, allocations: 104.6 kB / 460.3 MB, free: 38.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.558e-05/0.4182, allocations: 7.344 kB / 460.3 MB, free: 38.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.4183, allocations: 69.44 kB / 460.4 MB, free: 38.2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.883e-05/0.4184, allocations: 43.56 kB / 460.4 MB, free: 38.19 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.389e-05/0.4184, allocations: 61.17 kB / 460.5 MB, free: 38.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002255/0.4187, allocations: 220.9 kB / 460.7 MB, free: 38.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.4187, allocations: 1.562 kB / 460.7 MB, free: 38.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4187, allocations: 0 / 460.7 MB, free: 38.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.4187, allocations: 0.6562 kB / 460.7 MB, free: 38.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.0007111/0.4194, allocations: 0.5474 MB / 461.2 MB, free: 37.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.4194, allocations: 8.812 kB / 461.2 MB, free: 37.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.823e-05/0.4195, allocations: 27.22 kB / 461.3 MB, free: 37.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004459/0.42, allocations: 307.2 kB / 461.6 MB, free: 37.44 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.685e-05/0.42, allocations: 11.38 kB / 461.6 MB, free: 37.44 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.581e-05/0.42, allocations: 13.16 kB / 461.6 MB, free: 37.44 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003849/0.4204, allocations: 229.3 kB / 461.8 MB, free: 37.36 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.4205, allocations: 3.156 kB / 461.8 MB, free: 37.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.327e-05/0.4205, allocations: 5.344 kB / 461.8 MB, free: 37.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.545e-06/0.4205, allocations: 6.344 kB / 461.8 MB, free: 37.36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002581/0.4208, allocations: 131.1 kB / 461.9 MB, free: 37.36 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007952/0.4216, allocations: 0.6902 MB / 462.6 MB, free: 36.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003188/0.4219, allocations: 180.6 kB / 462.8 MB, free: 36.88 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.4219, allocations: 4.031 kB / 462.8 MB, free: 36.88 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002684/0.4222, allocations: 167.7 kB / 463 MB, free: 36.8 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.553e-06/0.4222, allocations: 1.062 kB / 463 MB, free: 36.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006515/0.4229, allocations: 481.1 kB / 463.5 MB, free: 36.61 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/0.4229, allocations: 135.4 kB / 463.6 MB, free: 36.46 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002145/0.4231, allocations: 280.5 kB / 463.9 MB, free: 36.35 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.4232, allocations: 31.58 kB / 463.9 MB, free: 36.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.936e-05/0.4233, allocations: 161.4 kB / 464 MB, free: 36.22 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.934e-05/0.4233, allocations: 39.69 kB / 464.1 MB, free: 36.2 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.015e-05/0.4233, allocations: 2.062 kB / 464.1 MB, free: 36.2 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.369e-05/0.4234, allocations: 336.7 kB / 464.4 MB, free: 35.89 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001482/0.4235, allocations: 90.22 kB / 464.5 MB, free: 35.89 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001546/0.4237, allocations: 131.7 kB / 464.6 MB, free: 35.84 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.4239, allocations: 124 kB / 464.8 MB, free: 35.8 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.4239, allocations: 0 / 464.8 MB, free: 35.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004705/0.4244, allocations: 335.5 kB / 465.1 MB, free: 35.71 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.744e-05/0.4244, allocations: 39.73 kB / 465.1 MB, free: 35.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.4244, allocations: 0 / 465.1 MB, free: 35.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.4244, allocations: 2.75 kB / 465.1 MB, free: 35.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.4246, allocations: 30.59 kB / 465.2 MB, free: 35.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.4246, allocations: 5.031 kB / 465.2 MB, free: 35.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001263/0.4247, allocations: 32.28 kB / 465.2 MB, free: 35.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/0.4247, allocations: 9.75 kB / 465.2 MB, free: 35.66 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 ($whenCondition1,$PRE.mot.uppHys.y,mot.uppHys.y,$PRE.mot.lowHys.y,mot.lowHys.y,ySet.a,ySet.b,ySet.last,$PRE.ySet.nextEvent,ySet.nextEvent,ySet.nextEventScaled,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001607/0.4249, allocations: 189 kB / 465.4 MB, free: 35.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.27e-05/0.4249, allocations: 30.12 kB / 465.4 MB, free: 35.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.91e-05/0.425, allocations: 33.5 kB / 465.4 MB, free: 35.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.425, allocations: 0 / 465.4 MB, free: 35.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.425, allocations: 0 / 465.4 MB, free: 35.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.425, allocations: 0 / 465.4 MB, free: 35.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002519/0.4253, allocations: 297.4 kB / 465.7 MB, free: 35.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.4253, allocations: 0 / 465.7 MB, free: 35.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.4254, allocations: 24.14 kB / 465.8 MB, free: 35.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.4254, allocations: 0 / 465.8 MB, free: 35.29 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.4255, allocations: 8.688 kB / 465.8 MB, free: 35.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.4255, allocations: 2.938 kB / 465.8 MB, free: 35.29 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.4255, allocations: 0 / 465.8 MB, free: 35.29 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006575/0.4261, allocations: 480.4 kB / 466.2 MB, free: 35.13 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.704e-05/0.4262, allocations: 99.8 kB / 466.3 MB, free: 35.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.14e-05/0.4262, allocations: 7.375 kB / 466.3 MB, free: 35.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.4264, allocations: 19.48 kB / 466.4 MB, free: 35.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.833e-05/0.4264, allocations: 27.27 kB / 466.4 MB, free: 35.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-05/0.4265, allocations: 8.938 kB / 466.4 MB, free: 35.01 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000143/0.4266, allocations: 201.4 kB / 466.6 MB, free: 34.9 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4266, allocations: 6.906 kB / 466.6 MB, free: 34.89 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002761/0.4269, allocations: 57.53 kB / 466.7 MB, free: 34.88 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001649/0.4271, allocations: 125.9 kB / 466.8 MB, free: 34.79 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004337/0.4275, allocations: 306.3 kB / 467.1 MB, free: 34.65 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4275, allocations: 3.969 kB / 467.1 MB, free: 34.65 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001929/0.4277, allocations: 190.1 kB / 467.3 MB, free: 34.54 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002301/0.428, allocations: 29.61 kB / 467.3 MB, free: 34.53 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008668/0.4289, allocations: 0.5214 MB / 467.8 MB, free: 34.22 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001805/0.429, allocations: 0.7545 MB / 468.6 MB, free: 33.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.161e-05/0.4291, allocations: 21.81 kB / 468.6 MB, free: 33.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.075e-05/0.4292, allocations: 16.31 kB / 468.6 MB, free: 33.51 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4292, allocations: 0 / 468.6 MB, free: 33.51 MB / 382.1 MB Notification: Performance of Templates: time 0.00525/0.4344, allocations: 2.442 MB / 471.1 MB, free: 33.36 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: