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.0009213/0.000921, allocations: 100.1 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.0009748/0.0009749, 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.299/1.299, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05061/0.05061, allocations: 10.74 MB / 281.1 MB, free: 10.55 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.0004961/0.0004962, allocations: 16.22 kB / 341.6 MB, free: 23.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08073/0.08124, allocations: 50.01 MB / 391.6 MB, free: 5.797 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_bias): time 0.001979/0.08326, allocations: 1.817 MB / 393.4 MB, free: 3.965 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001054/0.08433, allocations: 0.6553 MB / 394.1 MB, free: 3.309 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001472/0.0845, allocations: 19.81 kB / 394.1 MB, free: 3.289 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001522/0.08466, allocations: 27.72 kB / 394.1 MB, free: 3.262 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001642/0.08483, allocations: 47.83 kB / 394.2 MB, free: 3.215 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005951/0.08543, allocations: 243.5 kB / 394.4 MB, free: 2.977 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004107/0.08585, allocations: 332.3 kB / 394.7 MB, free: 2.648 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.08603, allocations: 73 kB / 394.8 MB, free: 2.574 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000247/0.08628, allocations: 203.1 kB / 395 MB, free: 2.375 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000228/0.08652, allocations: 171.2 kB / 395.2 MB, free: 2.207 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.067e-05/0.08657, allocations: 16 kB / 395.2 MB, free: 2.191 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.795e-05/0.08662, allocations: 16 kB / 395.2 MB, free: 2.176 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.08674, allocations: 119.6 kB / 395.3 MB, free: 2.059 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001274/0.08687, allocations: 81.45 kB / 395.4 MB, free: 1.973 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002377/0.08712, allocations: 283.6 kB / 395.7 MB, free: 1.695 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.08713, allocations: 0 / 395.7 MB, free: 1.695 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.045e-06/0.08714, allocations: 0 / 395.7 MB, free: 1.695 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.08715, allocations: 3.938 kB / 395.7 MB, free: 1.691 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001107/0.08827, allocations: 0.7172 MB / 396.4 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.08831, allocations: 12.03 kB / 396.4 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.982e-05/0.08841, allocations: 55.3 kB / 396.5 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005499/0.08897, allocations: 388.8 kB / 396.8 MB, free: 448 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.219e-05/0.08906, allocations: 80.41 kB / 396.9 MB, free: 356 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.883e-05/0.08913, allocations: 43.91 kB / 397 MB, free: 312 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000702/0.08984, allocations: 464.6 kB / 397.4 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/0.08987, allocations: 0 / 397.4 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.731e-05/0.08992, allocations: 16 kB / 397.4 MB, free: 15.81 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.08993, allocations: 8 kB / 397.4 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006195/0.09056, allocations: 367.7 kB / 397.8 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00271/0.09328, allocations: 1.705 MB / 399.5 MB, free: 13.65 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008175/0.09411, allocations: 299.3 kB / 399.8 MB, free: 13.35 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.512e-05/0.09416, allocations: 8.219 kB / 399.8 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.09419, allocations: 42.84 kB / 399.8 MB, free: 13.29 MB / 302.1 MB Notification: Performance of pre-optimization done (n=33): time 1.954e-06/0.0942, allocations: 0 / 399.8 MB, free: 13.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=33): time 0.000777/0.09498, allocations: 448.5 kB / 400.3 MB, free: 12.85 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.262e-05/0.09503, allocations: 59.34 kB / 400.3 MB, free: 12.78 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003908/0.09542, allocations: 425.8 kB / 400.7 MB, free: 12.36 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.78e-05/0.09546, allocations: 29.7 kB / 400.8 MB, free: 12.33 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001989/0.09567, allocations: 259.9 kB / 401 MB, free: 12.07 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.457e-05/0.09577, allocations: 118.2 kB / 401.1 MB, free: 11.95 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.861e-05/0.09579, allocations: 12 kB / 401.2 MB, free: 11.94 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.09596, allocations: 358.8 kB / 401.5 MB, free: 11.58 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002424/0.09621, allocations: 132.9 kB / 401.6 MB, free: 11.45 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003047/0.09652, allocations: 254.7 kB / 401.9 MB, free: 11.16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000317/0.09685, allocations: 181.6 kB / 402.1 MB, free: 10.98 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.09686, allocations: 0 / 402.1 MB, free: 10.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0007584/0.09763, allocations: 0.5177 MB / 402.6 MB, free: 10.46 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.09765, allocations: 4 kB / 402.6 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.09766, allocations: 7.938 kB / 402.6 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.09769, allocations: 8.469 kB / 402.6 MB, free: 10.44 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004917/0.09819, allocations: 127.8 kB / 402.7 MB, free: 10.31 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.09821, allocations: 8 kB / 402.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001928/0.09841, allocations: 55.47 kB / 402.8 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.896e-05/0.09845, allocations: 23.94 kB / 402.8 MB, free: 10.23 MB / 302.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] ProcessCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] ProcessCtrl.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real processNoCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] processNoCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] processNoCtrl.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002691/0.09872, allocations: 207.5 kB / 403 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.898e-05/0.09879, allocations: 39.53 kB / 403.1 MB, free: 9.977 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007018/0.09949, allocations: 417.4 kB / 403.5 MB, free: 9.559 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.09951, allocations: 4 kB / 403.5 MB, free: 9.555 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.09952, allocations: 0 / 403.5 MB, free: 9.555 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.317e-06/0.09953, allocations: 11.94 kB / 403.5 MB, free: 9.543 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004894/0.1, allocations: 445.1 kB / 403.9 MB, free: 9.059 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1, allocations: 4 kB / 403.9 MB, free: 9.055 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005389/0.1006, allocations: 103.9 kB / 404 MB, free: 8.953 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.1006, allocations: 0 / 404 MB, free: 8.953 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.042e-05/0.1006, allocations: 8 kB / 404 MB, free: 8.945 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.1007, allocations: 4 kB / 404 MB, free: 8.941 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1007, allocations: 0 / 404 MB, free: 8.941 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008703/0.1015, allocations: 0.6249 MB / 404.7 MB, free: 8.293 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.2e-05/0.1016, allocations: 128.4 kB / 404.8 MB, free: 8.148 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.079e-05/0.1017, allocations: 12 kB / 404.8 MB, free: 8.137 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001712/0.1019, allocations: 15.98 kB / 404.8 MB, free: 8.121 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.164e-05/0.102, allocations: 23.97 kB / 404.8 MB, free: 8.098 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.133e-05/0.102, allocations: 23.84 kB / 404.9 MB, free: 8.074 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002736/0.1023, allocations: 287.1 kB / 405.1 MB, free: 7.797 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1023, allocations: 4 kB / 405.1 MB, free: 7.793 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003524/0.1026, allocations: 79.7 kB / 405.2 MB, free: 7.715 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 13 (R.Iaction,R.Fder,R_Bias.Iaction,R_Bias.Fder,ProcessCtrl.Y[3],ProcessCtrl.U[2],ProcessCtrl.w,processNoCtrl.Y[3],processNoCtrl.U[2],processNoCtrl.w,ProcessBias.Y[3],ProcessBias.U[2],ProcessBias.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 37 * 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.0001291/0.1028, allocations: 107.8 kB / 405.3 MB, free: 7.602 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005991/0.1034, allocations: 375.4 kB / 405.7 MB, free: 7.234 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1034, allocations: 0 / 405.7 MB, free: 7.234 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002576/0.1036, allocations: 181.1 kB / 405.9 MB, free: 7.059 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.1039, allocations: 33.55 kB / 405.9 MB, free: 7.023 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.1053, allocations: 1.083 MB / 407 MB, free: 5.91 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004034/0.1057, allocations: 0.8664 MB / 407.8 MB, free: 5.02 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002314/0.1059, allocations: 87.34 kB / 407.9 MB, free: 4.934 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.831e-05/0.106, allocations: 35.44 kB / 408 MB, free: 4.898 MB / 302.1 MB Notification: Performance of SimCode: time 3.5e-07/0.106, allocations: 3.938 kB / 408 MB, free: 4.895 MB / 302.1 MB Notification: Performance of Templates: time 0.005908/0.112, allocations: 2.556 MB / 410.5 MB, free: 2.336 MB / 302.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: