Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresis.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.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresis") translateModel(Annex60.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009806/0.0009807, allocations: 99.47 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.001027/0.001027, 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.463/1.463, 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.4182/0.4182, allocations: 54.98 MB / 325.4 MB, free: 0.6914 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.0005637/0.0005637, allocations: 12 kB / 396.6 MB, free: 11.76 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3698/0.3704, allocations: 60.72 MB / 457.3 MB, free: 38.12 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Continuous.Examples.PIDHysteresis): time 0.002689/0.3731, allocations: 2.468 MB / 459.8 MB, free: 37.97 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001631/0.3748, allocations: 0.9299 MB / 460.7 MB, free: 37.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002378/0.375, allocations: 12.94 kB / 460.7 MB, free: 37.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.984e-05/0.3751, allocations: 31.72 kB / 460.7 MB, free: 37.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004187/0.3755, allocations: 110.2 kB / 460.8 MB, free: 37.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004943/0.376, allocations: 170.1 kB / 461 MB, free: 37.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005185/0.3766, allocations: 314.3 kB / 461.3 MB, free: 37.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002947/0.3769, allocations: 156.4 kB / 461.5 MB, free: 37.78 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001859/0.3771, allocations: 132.2 kB / 461.6 MB, free: 37.74 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001735/0.3772, allocations: 129.9 kB / 461.7 MB, free: 37.7 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.369e-05/0.3773, allocations: 12.75 kB / 461.7 MB, free: 37.7 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.598e-05/0.3773, allocations: 13.38 kB / 461.8 MB, free: 37.7 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.01e-05/0.3774, allocations: 51.88 kB / 461.8 MB, free: 37.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.99e-05/0.3774, allocations: 91.92 kB / 461.9 MB, free: 37.64 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002996/0.3778, allocations: 372.1 kB / 462.3 MB, free: 37.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.3778, allocations: 0 / 462.3 MB, free: 37.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3778, allocations: 0.7812 kB / 462.3 MB, free: 37.62 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.3778, allocations: 0 / 462.3 MB, free: 37.62 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0009789/0.3788, allocations: 0.6521 MB / 462.9 MB, free: 37.13 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.3788, allocations: 9.75 kB / 462.9 MB, free: 37.13 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.562e-05/0.3789, allocations: 52.53 kB / 463 MB, free: 37.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00053/0.3795, allocations: 385.5 kB / 463.4 MB, free: 36.87 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.855e-05/0.3795, allocations: 22.56 kB / 463.4 MB, free: 36.87 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.354e-05/0.3796, allocations: 32.91 kB / 463.4 MB, free: 36.87 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006074/0.3802, allocations: 336 kB / 463.7 MB, free: 36.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.3802, allocations: 4.625 kB / 463.7 MB, free: 36.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.286e-05/0.3802, allocations: 12.66 kB / 463.7 MB, free: 36.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.3803, allocations: 6.938 kB / 463.8 MB, free: 36.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005272/0.3808, allocations: 222.6 kB / 464 MB, free: 36.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001441/0.3823, allocations: 1.199 MB / 465.2 MB, free: 35.97 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005128/0.3828, allocations: 248.1 kB / 465.4 MB, free: 35.86 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.759e-05/0.3828, allocations: 3.938 kB / 465.4 MB, free: 35.86 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/0.3828, allocations: 32.16 kB / 465.5 MB, free: 35.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 1.342e-06/0.3829, allocations: 3.938 kB / 465.5 MB, free: 35.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=22): time 0.0005985/0.3835, allocations: 300.5 kB / 465.7 MB, free: 35.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/0.3835, allocations: 108.9 kB / 465.9 MB, free: 35.55 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000277/0.3838, allocations: 331.9 kB / 466.2 MB, free: 35.38 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.3838, allocations: 32.45 kB / 466.2 MB, free: 35.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.3839, allocations: 231.1 kB / 466.4 MB, free: 35.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.902e-05/0.384, allocations: 74.53 kB / 466.5 MB, free: 35.1 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.221e-05/0.384, allocations: 11.03 kB / 466.5 MB, free: 35.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.193e-05/0.3841, allocations: 345.8 kB / 466.9 MB, free: 34.76 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001616/0.3843, allocations: 78.91 kB / 466.9 MB, free: 34.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001728/0.3845, allocations: 142 kB / 467.1 MB, free: 34.63 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/0.3846, allocations: 91.34 kB / 467.2 MB, free: 34.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3846, allocations: 0 / 467.2 MB, free: 34.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004466/0.3851, allocations: 290.4 kB / 467.4 MB, free: 34.46 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001494/0.3853, allocations: 0.6171 MB / 468.1 MB, free: 33.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.3853, allocations: 2.938 kB / 468.1 MB, free: 33.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.3853, allocations: 3 kB / 468.1 MB, free: 33.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000221/0.3855, allocations: 54.61 kB / 468.1 MB, free: 33.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.799e-06/0.3855, allocations: 8.156 kB / 468.1 MB, free: 33.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001802/0.3857, allocations: 36.16 kB / 468.2 MB, free: 33.78 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.842e-05/0.3858, allocations: 14.34 kB / 468.2 MB, free: 33.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.772e-06/0.3858, allocations: 2.594 kB / 468.2 MB, free: 33.77 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003161/0.3861, allocations: 212.6 kB / 468.4 MB, free: 33.69 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.3861, allocations: 3 kB / 468.4 MB, free: 33.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.3861, allocations: 6.828 kB / 468.4 MB, free: 33.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001831/0.3863, allocations: 54.61 kB / 468.5 MB, free: 33.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.3863, allocations: 2.594 kB / 468.5 MB, free: 33.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001533/0.3865, allocations: 36.75 kB / 468.5 MB, free: 33.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.3865, allocations: 9.5 kB / 468.5 MB, free: 33.66 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 ($PRE.con.hys.y,con.hys.y,con.PID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * 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.0001495/0.3867, allocations: 238.9 kB / 468.7 MB, free: 33.44 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.075e-05/0.3867, allocations: 35.19 kB / 468.8 MB, free: 33.42 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.248e-05/0.3868, allocations: 46.42 kB / 468.8 MB, free: 33.39 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.3868, allocations: 5.328 kB / 468.8 MB, free: 33.39 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.3868, allocations: 6.969 kB / 468.8 MB, free: 33.38 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.3868, allocations: 3.328 kB / 468.8 MB, free: 33.38 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003352/0.3872, allocations: 394 kB / 469.2 MB, free: 33.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3872, allocations: 3.938 kB / 469.2 MB, free: 33.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000211/0.3874, allocations: 38.92 kB / 469.3 MB, free: 33.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3874, allocations: 0 / 469.3 MB, free: 33.1 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/0.3874, allocations: 6.969 kB / 469.3 MB, free: 33.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.3874, allocations: 4 kB / 469.3 MB, free: 33.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.3875, allocations: 4.891 kB / 469.3 MB, free: 33.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005666/0.388, allocations: 429.5 kB / 469.7 MB, free: 32.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.399e-05/0.3881, allocations: 127.2 kB / 469.8 MB, free: 32.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.155e-05/0.3882, allocations: 11.09 kB / 469.8 MB, free: 32.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001834/0.3884, allocations: 28.61 kB / 469.9 MB, free: 32.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.559e-05/0.3884, allocations: 18.75 kB / 469.9 MB, free: 32.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.3884, allocations: 6.938 kB / 469.9 MB, free: 32.69 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001798/0.3886, allocations: 238 kB / 470.1 MB, free: 32.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3886, allocations: 0 / 470.1 MB, free: 32.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004222/0.3891, allocations: 120.8 kB / 470.2 MB, free: 32.54 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.PID.I.y,cap.T) * Number of discrete variables: 1 (con.hys.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * 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 9.938e-05/0.3892, allocations: 107.9 kB / 470.3 MB, free: 32.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005463/0.3897, allocations: 315.9 kB / 470.6 MB, free: 32.33 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.3897, allocations: 4 kB / 470.6 MB, free: 32.33 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001733/0.3899, allocations: 100.6 kB / 470.7 MB, free: 32.3 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004949/0.3904, allocations: 71.66 kB / 470.8 MB, free: 32.28 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.3916, allocations: 0.8501 MB / 471.7 MB, free: 31.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002292/0.3918, allocations: 0.8061 MB / 472.5 MB, free: 31.05 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001739/0.392, allocations: 45.86 kB / 472.5 MB, free: 31.03 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.048e-05/0.3921, allocations: 28.45 kB / 472.5 MB, free: 31.03 MB / 382.1 MB Notification: Performance of SimCode: time 1.202e-06/0.3921, allocations: 0 / 472.5 MB, free: 31.03 MB / 382.1 MB Notification: Performance of Templates: time 0.006323/0.3984, allocations: 3.09 MB / 475.6 MB, free: 30.83 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresis.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresis.sim & ./Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1) Environment - environmentSimulation: