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.001082/0.001082, allocations: 92 kB / 15.06 MB, free: 1.098 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.001272/0.001272, allocations: 172.7 kB / 15.95 MB, free: 208 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.938/1.938, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4748/0.4748, allocations: 55.02 MB / 325.4 MB, free: 0.6953 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.0005834/0.0005835, allocations: 12 kB / 396.6 MB, free: 11.76 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5054/0.506, allocations: 60.72 MB / 457.4 MB, free: 38.41 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Continuous.Examples.PIDHysteresis): time 0.003485/0.5096, allocations: 2.508 MB / 459.9 MB, free: 38.26 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002278/0.5119, allocations: 0.9326 MB / 460.8 MB, free: 38.15 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002564/0.5122, allocations: 13.5 kB / 460.8 MB, free: 38.15 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002013/0.5124, allocations: 43.11 kB / 460.9 MB, free: 38.12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001631/0.5125, allocations: 71.02 kB / 460.9 MB, free: 38.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004973/0.513, allocations: 160.3 kB / 461.1 MB, free: 38.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004151/0.5135, allocations: 449.9 kB / 461.5 MB, free: 38.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003039/0.5138, allocations: 144.2 kB / 461.7 MB, free: 38 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001683/0.514, allocations: 128.8 kB / 461.8 MB, free: 37.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001648/0.5141, allocations: 135.3 kB / 461.9 MB, free: 37.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.776e-05/0.5142, allocations: 11.66 kB / 461.9 MB, free: 37.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.295e-05/0.5142, allocations: 10.69 kB / 461.9 MB, free: 37.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.573e-05/0.5143, allocations: 47.41 kB / 462 MB, free: 37.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.096e-05/0.5143, allocations: 94.27 kB / 462.1 MB, free: 37.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000392/0.5147, allocations: 371 kB / 462.4 MB, free: 37.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.5147, allocations: 0 / 462.4 MB, free: 37.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.5148, allocations: 0 / 462.4 MB, free: 37.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.5148, allocations: 0.5312 kB / 462.4 MB, free: 37.82 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.0009702/0.5157, allocations: 0.6541 MB / 463.1 MB, free: 37.33 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.5158, allocations: 9 kB / 463.1 MB, free: 37.33 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.556e-05/0.5159, allocations: 50.81 kB / 463.2 MB, free: 37.3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005568/0.5165, allocations: 392 kB / 463.5 MB, free: 37.06 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.784e-05/0.5165, allocations: 26.12 kB / 463.6 MB, free: 37.06 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.122e-05/0.5166, allocations: 30.5 kB / 463.6 MB, free: 37.06 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005654/0.5171, allocations: 337.1 kB / 463.9 MB, free: 36.89 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/0.5172, allocations: 0.5625 kB / 463.9 MB, free: 36.89 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.11e-05/0.5172, allocations: 18.44 kB / 463.9 MB, free: 36.88 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.5172, allocations: 10 kB / 464 MB, free: 36.88 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004494/0.5177, allocations: 224.2 kB / 464.2 MB, free: 36.8 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00138/0.5191, allocations: 1.2 MB / 465.4 MB, free: 35.95 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005367/0.5196, allocations: 243 kB / 465.6 MB, free: 35.85 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001947/0.5198, allocations: 116.7 kB / 465.7 MB, free: 35.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.588e-05/0.5199, allocations: 3.312 kB / 465.7 MB, free: 35.8 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/0.5199, allocations: 38.44 kB / 465.8 MB, free: 35.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 1.362e-06/0.5199, allocations: 0 / 465.8 MB, free: 35.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=22): time 0.0006158/0.5205, allocations: 294.3 kB / 466.1 MB, free: 35.62 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.347e-05/0.5206, allocations: 106 kB / 466.2 MB, free: 35.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003552/0.521, allocations: 338 kB / 466.5 MB, free: 35.32 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.521, allocations: 31.95 kB / 466.5 MB, free: 35.29 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000152/0.5212, allocations: 227 kB / 466.7 MB, free: 35.1 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.38e-05/0.5212, allocations: 78.39 kB / 466.8 MB, free: 35.04 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.382e-05/0.5212, allocations: 8 kB / 466.8 MB, free: 35.04 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.5214, allocations: 343 kB / 467.2 MB, free: 34.71 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001675/0.5215, allocations: 80.55 kB / 467.2 MB, free: 34.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001889/0.5217, allocations: 148.4 kB / 467.4 MB, free: 34.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.5219, allocations: 92.23 kB / 467.5 MB, free: 34.53 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.5219, allocations: 0 / 467.5 MB, free: 34.53 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004474/0.5224, allocations: 291.5 kB / 467.8 MB, free: 34.39 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.846e-05/0.5225, allocations: 134.5 kB / 467.9 MB, free: 34.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.5225, allocations: 0 / 467.9 MB, free: 34.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.402e-05/0.5225, allocations: 3.547 kB / 467.9 MB, free: 34.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002359/0.5228, allocations: 56.8 kB / 467.9 MB, free: 34.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.5228, allocations: 6.328 kB / 468 MB, free: 34.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000167/0.523, allocations: 40.33 kB / 468 MB, free: 34.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.924e-05/0.523, allocations: 9.875 kB / 468 MB, free: 34.22 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.165e-06/0.523, allocations: 2.812 kB / 468 MB, free: 34.22 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003142/0.5233, allocations: 223 kB / 468.2 MB, free: 34.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.5233, allocations: 4.266 kB / 468.2 MB, free: 34.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.758e-06/0.5233, allocations: 6.766 kB / 468.2 MB, free: 34.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001825/0.5235, allocations: 56.38 kB / 468.3 MB, free: 34.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.5235, allocations: 2.844 kB / 468.3 MB, free: 34.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/0.5237, allocations: 34.8 kB / 468.3 MB, free: 34.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.5237, allocations: 13.47 kB / 468.3 MB, free: 34.1 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.0001942/0.5239, allocations: 233.1 kB / 468.6 MB, free: 33.88 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.448e-05/0.524, allocations: 34.81 kB / 468.6 MB, free: 33.86 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.319e-05/0.5241, allocations: 42.62 kB / 468.6 MB, free: 33.83 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.892e-06/0.5241, allocations: 6.953 kB / 468.6 MB, free: 33.83 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.5241, allocations: 0 / 468.6 MB, free: 33.83 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.902e-06/0.5241, allocations: 0.5625 kB / 468.6 MB, free: 33.83 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000405/0.5245, allocations: 399 kB / 469 MB, free: 33.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.5245, allocations: 0.875 kB / 469 MB, free: 33.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002051/0.5247, allocations: 46.81 kB / 469.1 MB, free: 33.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.5248, allocations: 1.031 kB / 469.1 MB, free: 33.54 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.025e-05/0.5248, allocations: 6.844 kB / 469.1 MB, free: 33.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.5248, allocations: 0 / 469.1 MB, free: 33.54 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.5248, allocations: 3.953 kB / 469.1 MB, free: 33.54 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006206/0.5254, allocations: 428.5 kB / 469.5 MB, free: 33.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.5255, allocations: 135.2 kB / 469.6 MB, free: 33.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.52e-05/0.5256, allocations: 4 kB / 469.7 MB, free: 33.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.5258, allocations: 22.97 kB / 469.7 MB, free: 33.15 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.454e-05/0.5259, allocations: 20.47 kB / 469.7 MB, free: 33.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.5259, allocations: 14.36 kB / 469.7 MB, free: 33.14 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002063/0.5261, allocations: 236.4 kB / 469.9 MB, free: 33.01 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5261, allocations: 1.125 kB / 469.9 MB, free: 33.01 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004306/0.5265, allocations: 122.4 kB / 470.1 MB, free: 32.98 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 0.0001257/0.5267, allocations: 103.4 kB / 470.2 MB, free: 32.88 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005866/0.5273, allocations: 317.7 kB / 470.5 MB, free: 32.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5273, allocations: 2.812 kB / 470.5 MB, free: 32.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001616/0.5274, allocations: 102.2 kB / 470.6 MB, free: 32.74 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005531/0.528, allocations: 81.66 kB / 470.7 MB, free: 32.71 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/0.5292, allocations: 0.8459 MB / 471.5 MB, free: 32.19 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002846/0.5295, allocations: 0.8017 MB / 472.3 MB, free: 31.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001877/0.5297, allocations: 44.12 kB / 472.3 MB, free: 31.47 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.774e-05/0.5298, allocations: 27.75 kB / 472.4 MB, free: 31.46 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.5298, allocations: 0 / 472.4 MB, free: 31.46 MB / 382.1 MB Notification: Performance of Templates: time 0.007246/0.5371, allocations: 3.092 MB / 475.5 MB, free: 31.27 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: