Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_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.TestI_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestI_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008761/0.0008797, allocations: 99.23 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.0009131/0.0009132, 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.238/1.238, 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.05331/0.05331, allocations: 10.73 MB / 281.1 MB, free: 10.45 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.0004943/0.0004944, allocations: 16.2 kB / 341.6 MB, free: 23.86 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07998/0.08049, allocations: 50.01 MB / 391.6 MB, free: 5.777 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_bias): time 0.002483/0.08301, allocations: 1.73 MB / 393.3 MB, free: 4.035 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000988/0.08404, allocations: 490.7 kB / 393.8 MB, free: 3.555 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002116/0.08428, allocations: 11.88 kB / 393.8 MB, free: 3.543 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001949/0.08449, allocations: 35.72 kB / 393.9 MB, free: 3.508 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001481/0.08464, allocations: 27.89 kB / 393.9 MB, free: 3.48 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006182/0.08527, allocations: 187.6 kB / 394.1 MB, free: 3.297 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003888/0.08568, allocations: 283.6 kB / 394.3 MB, free: 3.02 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001522/0.08585, allocations: 68.64 kB / 394.4 MB, free: 2.953 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001696/0.08602, allocations: 143.4 kB / 394.5 MB, free: 2.812 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001853/0.08622, allocations: 155.3 kB / 394.7 MB, free: 2.66 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.408e-05/0.08626, allocations: 12 kB / 394.7 MB, free: 2.648 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.33e-05/0.0863, allocations: 16 kB / 394.7 MB, free: 2.633 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.08641, allocations: 99.72 kB / 394.8 MB, free: 2.535 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.661e-05/0.08649, allocations: 81.45 kB / 394.9 MB, free: 2.449 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002115/0.08671, allocations: 255.7 kB / 395.2 MB, free: 2.199 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.08672, allocations: 0 / 395.2 MB, free: 2.199 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.08672, allocations: 0 / 395.2 MB, free: 2.199 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.08673, allocations: 0 / 395.2 MB, free: 2.199 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.0009607/0.0877, allocations: 0.6468 MB / 395.8 MB, free: 1.504 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.08774, allocations: 12.03 kB / 395.8 MB, free: 1.492 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.26e-05/0.08783, allocations: 59.3 kB / 395.9 MB, free: 1.434 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004322/0.08827, allocations: 350.7 kB / 396.2 MB, free: 1.055 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.502e-05/0.08835, allocations: 80.06 kB / 396.3 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.545e-05/0.08841, allocations: 39.89 kB / 396.3 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005884/0.089, allocations: 411.5 kB / 396.7 MB, free: 0.5 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.832e-05/0.08903, allocations: 4 kB / 396.7 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.807e-05/0.08907, allocations: 8 kB / 396.7 MB, free: 500 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.08908, allocations: 12 kB / 396.8 MB, free: 488 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000518/0.08961, allocations: 314.2 kB / 397.1 MB, free: 168 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002231/0.09185, allocations: 1.579 MB / 398.6 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003818/0.09225, allocations: 187.1 kB / 398.8 MB, free: 14.31 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/0.09229, allocations: 12.12 kB / 398.8 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.09233, allocations: 34.75 kB / 398.9 MB, free: 14.26 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 2.044e-06/0.09233, allocations: 0 / 398.9 MB, free: 14.26 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.0006492/0.09299, allocations: 356.1 kB / 399.2 MB, free: 13.91 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/0.09304, allocations: 51.41 kB / 399.3 MB, free: 13.84 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000386/0.09344, allocations: 393.5 kB / 399.7 MB, free: 13.45 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.09347, allocations: 29.7 kB / 399.7 MB, free: 13.41 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/0.09364, allocations: 239.9 kB / 399.9 MB, free: 13.17 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.511e-05/0.09371, allocations: 86.8 kB / 400 MB, free: 13.09 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.239e-05/0.09373, allocations: 4 kB / 400 MB, free: 13.08 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.09386, allocations: 354.8 kB / 400.4 MB, free: 12.73 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001894/0.09405, allocations: 108.7 kB / 400.5 MB, free: 12.62 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00024/0.0943, allocations: 212.9 kB / 400.7 MB, free: 12.36 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002454/0.09456, allocations: 153 kB / 400.8 MB, free: 12.21 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.09457, allocations: 4 kB / 400.8 MB, free: 12.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006238/0.0952, allocations: 439.7 kB / 401.2 MB, free: 11.77 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.09523, allocations: 8 kB / 401.3 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.09524, allocations: 8.406 kB / 401.3 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.09527, allocations: 12 kB / 401.3 MB, free: 11.74 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003831/0.09566, allocations: 95.88 kB / 401.4 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.09568, allocations: 7.938 kB / 401.4 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000168/0.09585, allocations: 47.58 kB / 401.4 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.336e-05/0.09588, allocations: 16 kB / 401.4 MB, free: 11.58 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 (48): * Single equations (assignments): 48 * 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.0002296/0.09612, allocations: 195.6 kB / 401.6 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.17e-05/0.09618, allocations: 39.47 kB / 401.7 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005331/0.09672, allocations: 312.8 kB / 402 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.09674, allocations: 4 kB / 402 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.09675, allocations: 0 / 402 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.09675, allocations: 0 / 402 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004134/0.09717, allocations: 397.2 kB / 402.4 MB, free: 10.58 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.09719, allocations: 0 / 402.4 MB, free: 10.58 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004021/0.09759, allocations: 71.95 kB / 402.4 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.09761, allocations: 0 / 402.4 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.786e-05/0.09764, allocations: 11.98 kB / 402.4 MB, free: 10.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.052e-06/0.09765, allocations: 4 kB / 402.5 MB, free: 10.5 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.09766, allocations: 3.938 kB / 402.5 MB, free: 10.49 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006574/0.09832, allocations: 0.5023 MB / 403 MB, free: 9.973 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.077e-05/0.09842, allocations: 116.6 kB / 403.1 MB, free: 9.84 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.025e-05/0.09847, allocations: 8 kB / 403.1 MB, free: 9.832 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.09862, allocations: 19.98 kB / 403.1 MB, free: 9.812 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.357e-05/0.09868, allocations: 20.08 kB / 403.1 MB, free: 9.793 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.0987, allocations: 7.938 kB / 403.1 MB, free: 9.785 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002475/0.09895, allocations: 271.1 kB / 403.4 MB, free: 9.52 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09896, allocations: 0 / 403.4 MB, free: 9.52 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003372/0.0993, allocations: 63.84 kB / 403.5 MB, free: 9.457 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (R.Iout,R_Bias.Iout,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 (24): * Single equations (assignments): 24 * 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.0001122/0.09942, allocations: 111.9 kB / 403.6 MB, free: 9.34 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004944/0.09992, allocations: 292.1 kB / 403.8 MB, free: 9.055 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.09994, allocations: 0 / 403.8 MB, free: 9.055 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001889/0.1001, allocations: 119.9 kB / 404 MB, free: 8.938 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/0.1004, allocations: 33.52 kB / 404 MB, free: 8.906 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.1015, allocations: 0.9383 MB / 404.9 MB, free: 7.941 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003688/0.1019, allocations: 0.8419 MB / 405.8 MB, free: 7.07 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001807/0.1021, allocations: 75.22 kB / 405.9 MB, free: 6.996 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.811e-05/0.1022, allocations: 35.38 kB / 405.9 MB, free: 6.961 MB / 302.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1022, allocations: 0 / 405.9 MB, free: 6.961 MB / 302.1 MB Notification: Performance of Templates: time 0.005069/0.1072, allocations: 2.111 MB / 408 MB, free: 4.852 MB / 302.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.makefile Environment - environmentSimulation: (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe 2>&1) Environment - environmentSimulation: