Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_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.TestP_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestP_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008414/0.0008414, allocations: 100.2 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.0008668/0.0008669, allocations: 177.3 kB / 15.94 MB, free: 220 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.241/1.241, 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/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05232/0.05232, allocations: 10.73 MB / 281.1 MB, free: 10.58 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.0004581/0.0004583, allocations: 12.22 kB / 341.6 MB, free: 23.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07855/0.07902, allocations: 50.02 MB / 391.6 MB, free: 5.812 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_bias): time 0.002027/0.08109, allocations: 1.73 MB / 393.3 MB, free: 4.07 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007406/0.08185, allocations: 394.9 kB / 393.7 MB, free: 3.684 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001692/0.08204, allocations: 11.88 kB / 393.7 MB, free: 3.672 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001577/0.08221, allocations: 31.77 kB / 393.8 MB, free: 3.641 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001189/0.08234, allocations: 35.84 kB / 393.8 MB, free: 3.605 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000466/0.08282, allocations: 143.7 kB / 393.9 MB, free: 3.465 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003917/0.08322, allocations: 267.7 kB / 394.2 MB, free: 3.203 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001646/0.0834, allocations: 68.64 kB / 394.3 MB, free: 3.137 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001828/0.08359, allocations: 135.4 kB / 394.4 MB, free: 3.004 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001845/0.08379, allocations: 139.2 kB / 394.5 MB, free: 2.867 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.426e-05/0.08384, allocations: 12 kB / 394.5 MB, free: 2.855 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.399e-05/0.08388, allocations: 12 kB / 394.5 MB, free: 2.844 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.08399, allocations: 103.7 kB / 394.7 MB, free: 2.742 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.493e-05/0.08407, allocations: 81.45 kB / 394.7 MB, free: 2.656 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002089/0.08428, allocations: 239.8 kB / 395 MB, free: 2.422 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.08429, allocations: 0 / 395 MB, free: 2.422 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.0843, allocations: 0 / 395 MB, free: 2.422 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.746e-06/0.08431, allocations: 0 / 395 MB, free: 2.422 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.0009106/0.08523, allocations: 0.6313 MB / 395.6 MB, free: 1.742 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.08527, allocations: 8.031 kB / 395.6 MB, free: 1.734 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.547e-05/0.08537, allocations: 59.3 kB / 395.7 MB, free: 1.676 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004482/0.08582, allocations: 350.6 kB / 396 MB, free: 1.297 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.758e-05/0.08586, allocations: 28.59 kB / 396 MB, free: 1.266 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.794e-05/0.08592, allocations: 39.91 kB / 396.1 MB, free: 1.227 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005703/0.0865, allocations: 399.5 kB / 396.5 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/0.08653, allocations: 4 kB / 396.5 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.959e-05/0.08657, allocations: 16 kB / 396.5 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.08658, allocations: 8 kB / 396.5 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004936/0.08708, allocations: 302.3 kB / 396.8 MB, free: 500 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002053/0.08914, allocations: 1.501 MB / 398.3 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003695/0.08953, allocations: 179 kB / 398.5 MB, free: 14.72 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.003e-05/0.08957, allocations: 8.219 kB / 398.5 MB, free: 14.71 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.0896, allocations: 38.75 kB / 398.5 MB, free: 14.67 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.442e-06/0.08961, allocations: 0 / 398.5 MB, free: 14.67 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006079/0.09022, allocations: 336.1 kB / 398.8 MB, free: 14.34 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/0.09027, allocations: 51.41 kB / 398.9 MB, free: 14.27 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003538/0.09063, allocations: 393.5 kB / 399.3 MB, free: 13.88 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.09066, allocations: 29.7 kB / 399.3 MB, free: 13.84 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001473/0.09081, allocations: 243.9 kB / 399.5 MB, free: 13.6 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.466e-05/0.09087, allocations: 82.84 kB / 399.6 MB, free: 13.52 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.158e-05/0.09089, allocations: 4 kB / 399.6 MB, free: 13.51 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.09101, allocations: 354.8 kB / 400 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001701/0.09119, allocations: 96.31 kB / 400.1 MB, free: 13.06 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002312/0.09143, allocations: 206.3 kB / 400.3 MB, free: 12.81 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002346/0.09168, allocations: 140.7 kB / 400.4 MB, free: 12.67 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.09169, allocations: 0 / 400.4 MB, free: 12.67 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006111/0.09231, allocations: 428.7 kB / 400.8 MB, free: 12.25 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.09234, allocations: 7.984 kB / 400.8 MB, free: 12.24 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.09235, allocations: 4 kB / 400.8 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.09238, allocations: 8 kB / 400.8 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003241/0.09271, allocations: 92.36 kB / 400.9 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.09273, allocations: 11.94 kB / 400.9 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001666/0.0929, allocations: 47.58 kB / 401 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/0.09293, allocations: 16 kB / 401 MB, free: 12.06 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 (45): * Single equations (assignments): 45 * 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.0002244/0.09316, allocations: 199.5 kB / 401.2 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.596e-05/0.09323, allocations: 39.53 kB / 401.2 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004998/0.09373, allocations: 292.9 kB / 401.5 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.09374, allocations: 0 / 401.5 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.09375, allocations: 0 / 401.5 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.09377, allocations: 3.984 kB / 401.5 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003908/0.09416, allocations: 385.2 kB / 401.9 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.09417, allocations: 0 / 401.9 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003113/0.09449, allocations: 63.95 kB / 402 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.0945, allocations: 0 / 402 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.583e-05/0.09453, allocations: 8 kB / 402 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.09454, allocations: 0 / 402 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.09455, allocations: 8 kB / 402 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006289/0.09518, allocations: 494.5 kB / 402.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.179e-05/0.09529, allocations: 120.6 kB / 402.6 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.148e-05/0.09534, allocations: 8 kB / 402.6 MB, free: 10.37 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.09548, allocations: 15.98 kB / 402.6 MB, free: 10.36 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.971e-05/0.09554, allocations: 15.97 kB / 402.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.09556, allocations: 15.92 kB / 402.6 MB, free: 10.32 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002441/0.09581, allocations: 267.1 kB / 402.9 MB, free: 10.06 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.09582, allocations: 0 / 402.9 MB, free: 10.06 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003209/0.09615, allocations: 63.75 kB / 403 MB, free: 10 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (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 (23): * Single equations (assignments): 23 * 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.0001073/0.09626, allocations: 111.3 kB / 403.1 MB, free: 9.883 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004714/0.09674, allocations: 276.6 kB / 403.3 MB, free: 9.613 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.09675, allocations: 4 kB / 403.3 MB, free: 9.609 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001767/0.09693, allocations: 111.9 kB / 403.4 MB, free: 9.5 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002469/0.09719, allocations: 33.73 kB / 403.5 MB, free: 9.469 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.09832, allocations: 0.8811 MB / 404.4 MB, free: 8.559 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003691/0.09871, allocations: 0.8423 MB / 405.2 MB, free: 7.688 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001752/0.09889, allocations: 70.91 kB / 405.3 MB, free: 7.617 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.977e-05/0.09896, allocations: 31.44 kB / 405.3 MB, free: 7.586 MB / 302.1 MB Notification: Performance of SimCode: time 4.31e-07/0.09897, allocations: 0 / 405.3 MB, free: 7.586 MB / 302.1 MB Notification: Performance of Templates: time 0.005143/0.1041, allocations: 2.033 MB / 407.3 MB, free: 5.555 MB / 302.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.makefile Environment - environmentSimulation: (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe 2>&1) Environment - environmentSimulation: