Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_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.TestPD_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestPD_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008755/0.0008754, allocations: 99.39 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.0009915/0.0009918, allocations: 177.3 kB / 15.94 MB, free: 228 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.282/1.282, allocations: 205.4 MB / 222.1 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05264/0.05264, allocations: 10.73 MB / 281.1 MB, free: 10.46 MB / 238.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.0004849/0.000485, allocations: 12 kB / 341.6 MB, free: 23.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07823/0.07872, allocations: 50.01 MB / 391.6 MB, free: 5.793 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPD_bias): time 0.002281/0.08104, allocations: 1.805 MB / 393.4 MB, free: 3.977 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001606/0.08268, allocations: 0.9715 MB / 394.4 MB, free: 2.996 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001949/0.0829, allocations: 11.88 kB / 394.4 MB, free: 2.984 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002216/0.08313, allocations: 59.67 kB / 394.4 MB, free: 2.926 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001592/0.0833, allocations: 67.83 kB / 394.5 MB, free: 2.859 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007593/0.08407, allocations: 243.4 kB / 394.7 MB, free: 2.621 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004923/0.08458, allocations: 344.8 kB / 395.1 MB, free: 2.281 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001578/0.08475, allocations: 76.98 kB / 395.2 MB, free: 2.199 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002719/0.08503, allocations: 179.3 kB / 395.3 MB, free: 2.023 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002971/0.08533, allocations: 211.1 kB / 395.5 MB, free: 1.816 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.001e-05/0.0854, allocations: 12 kB / 395.5 MB, free: 1.805 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001401/0.08555, allocations: 79.94 kB / 395.6 MB, free: 1.727 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001469/0.08571, allocations: 139.5 kB / 395.8 MB, free: 1.59 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.756e-05/0.08581, allocations: 89.45 kB / 395.8 MB, free: 1.496 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003368/0.08616, allocations: 351.5 kB / 396.2 MB, free: 1.152 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.08617, allocations: 0 / 396.2 MB, free: 1.152 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.08618, allocations: 4 kB / 396.2 MB, free: 1.148 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.225e-05/0.08619, allocations: 4 kB / 396.2 MB, free: 1.145 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001243/0.08744, allocations: 0.7693 MB / 397 MB, free: 328 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.08749, allocations: 8.031 kB / 397 MB, free: 320 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001215/0.08761, allocations: 63.2 kB / 397 MB, free: 256 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005854/0.0882, allocations: 400.8 kB / 397.4 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.058e-05/0.08826, allocations: 29 kB / 397.5 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.025e-05/0.08834, allocations: 47.89 kB / 397.5 MB, free: 15.74 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007653/0.08912, allocations: 0.5005 MB / 398 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.797e-05/0.08916, allocations: 7.984 kB / 398 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.952e-05/0.0892, allocations: 16 kB / 398 MB, free: 15.19 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.08922, allocations: 15.95 kB / 398 MB, free: 15.18 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000658/0.08988, allocations: 391.7 kB / 398.4 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002826/0.09272, allocations: 1.806 MB / 400.2 MB, free: 12.91 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000495/0.09323, allocations: 266.4 kB / 400.5 MB, free: 12.64 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.823e-05/0.09329, allocations: 15.94 kB / 400.5 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000388/0.09368, allocations: 264.6 kB / 400.8 MB, free: 12.35 MB / 302.1 MB Notification: Performance of pre-optimization done (n=36): time 2.755e-06/0.0937, allocations: 0 / 400.8 MB, free: 12.35 MB / 302.1 MB Notification: Performance of matching and sorting (n=36): time 0.0009763/0.09468, allocations: 0.6534 MB / 401.4 MB, free: 11.66 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/0.09475, allocations: 85.38 kB / 401.5 MB, free: 11.56 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005505/0.0953, allocations: 0.49 MB / 402 MB, free: 11.06 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.976e-05/0.09535, allocations: 29.7 kB / 402 MB, free: 11.02 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002581/0.09562, allocations: 283.9 kB / 402.3 MB, free: 10.74 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/0.09574, allocations: 130.2 kB / 402.4 MB, free: 10.61 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.257e-05/0.09577, allocations: 12 kB / 402.4 MB, free: 10.6 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002103/0.09599, allocations: 366.8 kB / 402.8 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002968/0.0963, allocations: 165.1 kB / 403 MB, free: 10.07 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004128/0.09672, allocations: 337.8 kB / 403.3 MB, free: 9.68 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003968/0.09713, allocations: 270.7 kB / 403.6 MB, free: 9.406 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.704e-06/0.09715, allocations: 4 kB / 403.6 MB, free: 9.402 MB / 302.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001004/0.09816, allocations: 0.7188 MB / 404.3 MB, free: 8.672 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.215e-05/0.09821, allocations: 48.59 kB / 404.3 MB, free: 8.621 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.09823, allocations: 4 kB / 404.3 MB, free: 8.617 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.09826, allocations: 8 kB / 404.3 MB, free: 8.609 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004768/0.09874, allocations: 131.8 kB / 404.5 MB, free: 8.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.337e-05/0.09876, allocations: 8 kB / 404.5 MB, free: 8.473 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002544/0.09902, allocations: 71.25 kB / 404.5 MB, free: 8.402 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.029e-05/0.09907, allocations: 28 kB / 404.6 MB, free: 8.375 MB / 302.1 MB Warning: Assuming fixed start value for the following 15 variables: processNoCtrl.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real processNoCtrl.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] processNoCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] processNoCtrl.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] processNoCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessBias.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real ProcessBias.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessBias.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessBias.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessBias.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessCtrl.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real ProcessCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessCtrl.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,Disturbance.a,Disturbance.b,Disturbance.last,$PRE.Disturbance.nextEvent,Disturbance.nextEvent,Disturbance.nextEventScaled,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 (70): * Single equations (assignments): 69 * 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.0003597/0.09944, allocations: 282.6 kB / 404.8 MB, free: 8.086 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.089e-05/0.09951, allocations: 55.3 kB / 404.9 MB, free: 8.031 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008188/0.1003, allocations: 0.5178 MB / 405.4 MB, free: 7.504 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.1004, allocations: 7.984 kB / 405.4 MB, free: 7.496 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.1004, allocations: 4 kB / 405.4 MB, free: 7.492 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.1004, allocations: 0 / 405.4 MB, free: 7.492 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000491/0.1009, allocations: 469.1 kB / 405.9 MB, free: 6.984 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1009, allocations: 0 / 405.9 MB, free: 6.984 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004735/0.1014, allocations: 87.89 kB / 406 MB, free: 6.898 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.351e-06/0.1014, allocations: 4 kB / 406 MB, free: 6.895 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.552e-05/0.1014, allocations: 23.94 kB / 406 MB, free: 6.871 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.1014, allocations: 0 / 406 MB, free: 6.871 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1015, allocations: 0 / 406 MB, free: 6.871 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009846/0.1024, allocations: 0.7236 MB / 406.7 MB, free: 6.125 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.1026, allocations: 132.5 kB / 406.9 MB, free: 5.977 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.073e-05/0.1026, allocations: 15.98 kB / 406.9 MB, free: 5.961 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/0.1028, allocations: 19.94 kB / 406.9 MB, free: 5.941 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.061e-05/0.1029, allocations: 27.97 kB / 406.9 MB, free: 5.914 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.826e-05/0.103, allocations: 15.98 kB / 406.9 MB, free: 5.898 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003927/0.1034, allocations: 330.8 kB / 407.3 MB, free: 5.574 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1034, allocations: 0 / 407.3 MB, free: 5.574 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004619/0.1038, allocations: 111.8 kB / 407.4 MB, free: 5.465 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 17 (R.Fin,R_Bias.Fin,ProcessCtrl.Y[3],ProcessCtrl.Y[4],ProcessCtrl.U[2],ProcessCtrl.U[3],ProcessCtrl.w,processNoCtrl.Y[3],processNoCtrl.Y[4],processNoCtrl.U[2],processNoCtrl.U[3],processNoCtrl.w,ProcessBias.Y[3],ProcessBias.Y[4],ProcessBias.U[2],ProcessBias.U[3],ProcessBias.w) * Number of discrete variables: 6 ($whenCondition1,Disturbance.a,Disturbance.b,Disturbance.last,Disturbance.nextEvent,Disturbance.nextEventScaled) * Number of discrete states: 6 (Disturbance.nextEvent,Disturbance.last,Disturbance.nextEventScaled,Disturbance.b,Disturbance.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * 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.0002561/0.1041, allocations: 148 kB / 407.5 MB, free: 5.309 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000857/0.105, allocations: 0.539 MB / 408 MB, free: 4.758 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.105, allocations: 0 / 408 MB, free: 4.758 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003326/0.1053, allocations: 284.4 kB / 408.3 MB, free: 4.469 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002738/0.1056, allocations: 46.08 kB / 408.4 MB, free: 4.422 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001623/0.1072, allocations: 1.256 MB / 409.6 MB, free: 3.137 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004586/0.1077, allocations: 0.8937 MB / 410.5 MB, free: 2.215 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002645/0.108, allocations: 112.1 kB / 410.6 MB, free: 2.102 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.003e-05/0.1081, allocations: 31.44 kB / 410.7 MB, free: 2.07 MB / 302.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1081, allocations: 0 / 410.7 MB, free: 2.07 MB / 302.1 MB Notification: Performance of Templates: time 0.007948/0.116, allocations: 3.511 MB / 414.2 MB, free: 14.55 MB / 318.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.makefile Environment - environmentSimulation: (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe 2>&1) Environment - environmentSimulation: