Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.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/IndustrialControlSystems 1.1.0-master/package.mo", uses=false) Using package IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/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(IndustrialControlSystems.Controllers.Examples.TestPID_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestPID_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 114.5 kB / 16.42 MB, free: 6.039 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.001046/0.001046, allocations: 186.2 kB / 17.34 MB, free: 5.625 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.288/1.288, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.06061/0.06061, allocations: 10.73 MB / 281.3 MB, free: 1.305 MB / 222.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: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 70.67 kB / 391.5 MB, free: 45.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06518/0.06674, allocations: 49.03 MB / 440.5 MB, free: 3.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_bias): time 0.002624/0.0694, allocations: 2.189 MB / 442.7 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001109/0.07053, allocations: 0.6784 MB / 443.4 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002161/0.07076, allocations: 19.81 kB / 443.4 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001938/0.07098, allocations: 55.39 kB / 443.5 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001978/0.07118, allocations: 51.55 kB / 443.5 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006135/0.07181, allocations: 323.4 kB / 443.9 MB, free: 500 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005046/0.07232, allocations: 0.5783 MB / 444.4 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001851/0.07252, allocations: 96.84 kB / 444.5 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002955/0.07283, allocations: 219.2 kB / 444.7 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003129/0.07315, allocations: 207 kB / 444.9 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.726e-05/0.07324, allocations: 32 kB / 445 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.321e-05/0.07331, allocations: 32 kB / 445 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001468/0.07346, allocations: 147.5 kB / 445.1 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001766/0.07364, allocations: 198.7 kB / 445.3 MB, free: 14.99 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004057/0.07406, allocations: 410 kB / 445.7 MB, free: 14.59 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.07407, allocations: 3.938 kB / 445.7 MB, free: 14.58 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.07407, allocations: 4 kB / 445.7 MB, free: 14.58 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.225e-05/0.07409, allocations: 0 / 445.7 MB, free: 14.58 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001273/0.07537, allocations: 0.7947 MB / 446.5 MB, free: 13.73 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.07541, allocations: 11.89 kB / 446.6 MB, free: 13.72 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.614e-05/0.07552, allocations: 60.56 kB / 446.6 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005551/0.07608, allocations: 426.2 kB / 447 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.853e-05/0.07616, allocations: 80.97 kB / 447.1 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.127e-05/0.07624, allocations: 48.33 kB / 447.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007037/0.07695, allocations: 465.2 kB / 447.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.581e-05/0.07698, allocations: 3.938 kB / 447.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.343e-05/0.07703, allocations: 16 kB / 447.6 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.07705, allocations: 15.92 kB / 447.6 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006253/0.07768, allocations: 355.7 kB / 448 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002564/0.08026, allocations: 1.69 MB / 449.7 MB, free: 10.44 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008322/0.0811, allocations: 298.5 kB / 450 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002734/0.08139, allocations: 173.3 kB / 450.1 MB, free: 9.969 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.808e-05/0.08144, allocations: 12.27 kB / 450.2 MB, free: 9.957 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.08147, allocations: 38.78 kB / 450.2 MB, free: 9.91 MB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 1.803e-06/0.08147, allocations: 0 / 450.2 MB, free: 9.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=33): time 0.0008073/0.08229, allocations: 452.1 kB / 450.6 MB, free: 9.465 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.55e-05/0.08232, allocations: 55.41 kB / 450.7 MB, free: 9.398 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004035/0.08273, allocations: 417.9 kB / 451.1 MB, free: 8.977 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/0.08277, allocations: 33.7 kB / 451.1 MB, free: 8.938 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/0.08292, allocations: 256.3 kB / 451.4 MB, free: 8.684 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.669e-05/0.08302, allocations: 130.9 kB / 451.5 MB, free: 8.555 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/0.08314, allocations: 90.08 kB / 451.6 MB, free: 8.457 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.08327, allocations: 358.8 kB / 451.9 MB, free: 8.098 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002446/0.08352, allocations: 128.9 kB / 452.1 MB, free: 7.969 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002926/0.08382, allocations: 258.6 kB / 452.3 MB, free: 7.668 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002138/0.08597, allocations: 0.7929 MB / 453.1 MB, free: 6.824 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.08598, allocations: 7.938 kB / 453.1 MB, free: 6.816 MB / 334.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0007749/0.08677, allocations: 0.5092 MB / 453.6 MB, free: 6.301 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.0868, allocations: 21.89 kB / 453.7 MB, free: 6.281 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.08682, allocations: 4 kB / 453.7 MB, free: 6.277 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/0.08685, allocations: 8 kB / 453.7 MB, free: 6.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005324/0.08738, allocations: 111.9 kB / 453.8 MB, free: 6.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.258e-05/0.08742, allocations: 11.94 kB / 453.8 MB, free: 6.148 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002322/0.08766, allocations: 55.61 kB / 453.8 MB, free: 6.094 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.112e-05/0.08771, allocations: 23.98 kB / 453.9 MB, free: 6.07 MB / 334.1 MB Warning: Assuming fixed start value for the following 9 variables: ProcessBias.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real ProcessBias.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] ProcessBias.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] processNoCtrl.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real processNoCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] processNoCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real ProcessCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] ProcessCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 4 (R_Bias.TS_in,R.TS_in,R_Bias.ATreq_in,R.ATreq_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * 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.0002863/0.088, allocations: 195.7 kB / 454.1 MB, free: 5.871 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.898e-05/0.08809, allocations: 47.61 kB / 454.1 MB, free: 5.824 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007768/0.08887, allocations: 405.8 kB / 454.5 MB, free: 5.422 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.08889, allocations: 3.984 kB / 454.5 MB, free: 5.418 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.0889, allocations: 0 / 454.5 MB, free: 5.418 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.089, allocations: 120.7 kB / 454.6 MB, free: 5.281 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.958e-05/0.08907, allocations: 15.98 kB / 454.6 MB, free: 5.266 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000187/0.08926, allocations: 19.98 kB / 454.7 MB, free: 5.246 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.294e-05/0.08934, allocations: 23.97 kB / 454.7 MB, free: 5.223 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001121/0.09047, allocations: 0.5079 MB / 455.2 MB, free: 4.707 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009334/0.09142, allocations: 0.7379 MB / 455.9 MB, free: 3.953 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002539/0.09168, allocations: 164 kB / 456.1 MB, free: 3.793 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000267/0.09196, allocations: 291.1 kB / 456.4 MB, free: 3.508 MB / 334.1 MB Notification: Performance of Backend: time 3.11e-07/0.09197, allocations: 8 kB / 456.4 MB, free: 3.5 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007015/0.09268, allocations: 330 kB / 456.7 MB, free: 3.172 MB / 334.1 MB Notification: Performance of SimCode: time 0.001328/0.09401, allocations: 1.347 MB / 458 MB, free: 1.777 MB / 334.1 MB Notification: Performance of Templates: time 0.008106/0.1021, allocations: 3.855 MB / 461.9 MB, free: 13.91 MB / 350.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe 2>&1)