Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID.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.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID") translateModel(Annex60.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001048, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009424/0.0009424, allocations: 168.7 kB / 15.95 MB, free: 204 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.912/1.912, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4544/0.4544, allocations: 55.02 MB / 325.4 MB, free: 0.6719 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.0005396/0.0005397, allocations: 12 kB / 396.6 MB, free: 11.71 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.418/0.4186, allocations: 60.7 MB / 457.4 MB, free: 38.56 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Continuous.Examples.LimPID): time 0.003958/0.4226, allocations: 3.131 MB / 460.5 MB, free: 38.31 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00289/0.4256, allocations: 1.35 MB / 461.8 MB, free: 37.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004668/0.4261, allocations: 25.72 kB / 461.9 MB, free: 37.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002744/0.4263, allocations: 91.12 kB / 461.9 MB, free: 37.92 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004759/0.4268, allocations: 138.6 kB / 462.1 MB, free: 37.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001338/0.4282, allocations: 489.2 kB / 462.6 MB, free: 37.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009401/0.4291, allocations: 0.8445 MB / 463.4 MB, free: 37.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005741/0.4297, allocations: 256.1 kB / 463.7 MB, free: 37.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004314/0.4301, allocations: 278.5 kB / 463.9 MB, free: 37.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003146/0.4305, allocations: 261.7 kB / 464.2 MB, free: 36.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.293e-05/0.4305, allocations: 24.81 kB / 464.2 MB, free: 36.94 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.479e-05/0.4306, allocations: 23.56 kB / 464.2 MB, free: 36.94 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000131/0.4308, allocations: 113.9 kB / 464.3 MB, free: 36.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.4309, allocations: 139 kB / 464.5 MB, free: 36.78 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005794/0.4315, allocations: 0.6337 MB / 465.1 MB, free: 36.63 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.4315, allocations: 6.875 kB / 465.1 MB, free: 36.63 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.4315, allocations: 1.031 kB / 465.1 MB, free: 36.63 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.135e-05/0.4315, allocations: 0 / 465.1 MB, free: 36.63 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001955/0.4335, allocations: 1.07 MB / 466.2 MB, free: 35.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.4335, allocations: 9.094 kB / 466.2 MB, free: 35.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001587/0.4337, allocations: 96.09 kB / 466.3 MB, free: 35.87 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009043/0.4346, allocations: 0.5867 MB / 466.9 MB, free: 35.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/0.4347, allocations: 100.7 kB / 467 MB, free: 35.4 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.631e-05/0.4348, allocations: 57.16 kB / 467 MB, free: 35.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009759/0.4358, allocations: 0.6195 MB / 467.6 MB, free: 35.06 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.4358, allocations: 6.094 kB / 467.7 MB, free: 35.06 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.124e-05/0.4359, allocations: 22.62 kB / 467.7 MB, free: 35.05 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.32e-05/0.4359, allocations: 12.84 kB / 467.7 MB, free: 35.05 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008141/0.4367, allocations: 448.5 kB / 468.1 MB, free: 34.9 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002356/0.4391, allocations: 2.153 MB / 470.3 MB, free: 33.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/0.4402, allocations: 0.5074 MB / 470.8 MB, free: 33.29 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003769/0.4406, allocations: 225.3 kB / 471 MB, free: 33.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.002e-05/0.4407, allocations: 9.016 kB / 471 MB, free: 33.2 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005726/0.4413, allocations: 301.6 kB / 471.3 MB, free: 33.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=45): time 1.933e-06/0.4413, allocations: 1.5 kB / 471.3 MB, free: 33.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.001245/0.4425, allocations: 0.6393 MB / 472 MB, free: 32.82 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.968e-05/0.4426, allocations: 89.25 kB / 472 MB, free: 32.72 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006378/0.4432, allocations: 0.6195 MB / 472.7 MB, free: 32.45 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.074e-05/0.4433, allocations: 32.55 kB / 472.7 MB, free: 32.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002261/0.4435, allocations: 367.7 kB / 473.1 MB, free: 32.12 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.4436, allocations: 160.8 kB / 473.2 MB, free: 32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.299e-05/0.4436, allocations: 14.56 kB / 473.2 MB, free: 31.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.076e-05/0.4437, allocations: 330.2 kB / 473.5 MB, free: 31.67 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003708/0.4441, allocations: 184.3 kB / 473.7 MB, free: 31.61 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004089/0.4445, allocations: 283 kB / 474 MB, free: 31.44 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004084/0.4449, allocations: 241.8 kB / 474.2 MB, free: 31.32 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.4449, allocations: 0 / 474.2 MB, free: 31.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001006/0.446, allocations: 0.6103 MB / 474.8 MB, free: 31.05 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.784e-05/0.4461, allocations: 203.1 kB / 475 MB, free: 30.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.4461, allocations: 2.938 kB / 475 MB, free: 30.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.195e-05/0.4461, allocations: 3.719 kB / 475.1 MB, free: 30.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004273/0.4465, allocations: 110.9 kB / 475.2 MB, free: 30.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.31e-05/0.4466, allocations: 9.875 kB / 475.2 MB, free: 30.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003354/0.4469, allocations: 66.75 kB / 475.2 MB, free: 30.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.579e-05/0.447, allocations: 23.97 kB / 475.3 MB, free: 30.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.879e-06/0.447, allocations: 2.781 kB / 475.3 MB, free: 30.77 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007343/0.4477, allocations: 495.7 kB / 475.7 MB, free: 30.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.4477, allocations: 3.062 kB / 475.7 MB, free: 30.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.561e-06/0.4477, allocations: 6.031 kB / 475.8 MB, free: 30.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003398/0.4481, allocations: 97.86 kB / 475.8 MB, free: 30.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/0.4481, allocations: 5.797 kB / 475.9 MB, free: 30.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002568/0.4484, allocations: 67.61 kB / 475.9 MB, free: 30.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.928e-05/0.4484, allocations: 19.62 kB / 475.9 MB, free: 30.5 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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.000249/0.4487, allocations: 270.3 kB / 476.2 MB, free: 30.26 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.978e-05/0.4487, allocations: 76.66 kB / 476.3 MB, free: 30.22 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001415/0.4489, allocations: 80.66 kB / 476.4 MB, free: 30.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.4489, allocations: 6.469 kB / 476.4 MB, free: 30.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/0.4489, allocations: 0 / 476.4 MB, free: 30.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.4489, allocations: 6.438 kB / 476.4 MB, free: 30.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005599/0.4495, allocations: 0.6322 MB / 477 MB, free: 29.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.4495, allocations: 2.844 kB / 477 MB, free: 29.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003989/0.4499, allocations: 83.09 kB / 477.1 MB, free: 29.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.4499, allocations: 0 / 477.1 MB, free: 29.79 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.02e-05/0.45, allocations: 18.25 kB / 477.1 MB, free: 29.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.45, allocations: 3.25 kB / 477.1 MB, free: 29.78 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.45, allocations: 0 / 477.1 MB, free: 29.78 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001263/0.4512, allocations: 0.7506 MB / 477.9 MB, free: 29.44 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001804/0.4514, allocations: 195.1 kB / 478 MB, free: 29.28 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.91e-05/0.4515, allocations: 6.656 kB / 478.1 MB, free: 29.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003397/0.4519, allocations: 48.38 kB / 478.1 MB, free: 29.26 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.885e-05/0.4519, allocations: 31.73 kB / 478.1 MB, free: 29.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.02e-05/0.452, allocations: 17.83 kB / 478.2 MB, free: 29.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004185/0.4524, allocations: 430.6 kB / 478.6 MB, free: 29.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.4524, allocations: 0 / 478.6 MB, free: 29.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005592/0.453, allocations: 224.2 kB / 478.8 MB, free: 29 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001292/0.4531, allocations: 112 kB / 478.9 MB, free: 28.9 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001339/0.4545, allocations: 0.7988 MB / 479.7 MB, free: 28.55 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4545, allocations: 0 / 479.7 MB, free: 28.55 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003853/0.4549, allocations: 224.9 kB / 479.9 MB, free: 28.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008677/0.4557, allocations: 197.4 kB / 480.1 MB, free: 28.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001939/0.4577, allocations: 1.412 MB / 481.5 MB, free: 27.58 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/0.458, allocations: 0.9209 MB / 482.4 MB, free: 26.86 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000396/0.4584, allocations: 91.41 kB / 482.5 MB, free: 26.85 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001327/0.4586, allocations: 53.28 kB / 482.6 MB, free: 26.84 MB / 382.1 MB Notification: Performance of SimCode: time 1.733e-06/0.4586, allocations: 1.031 kB / 482.6 MB, free: 26.84 MB / 382.1 MB Notification: Performance of Templates: time 0.01783/0.4764, allocations: 7.181 MB / 489.8 MB, free: 26.39 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID.pipe >> ../files/Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID.sim & ./Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID.pipe 2>&1) Environment - environmentSimulation: