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.001449/0.001449, allocations: 110.9 kB / 16.37 MB, free: 6.469 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.001791/0.00179, allocations: 189.9 kB / 17.3 MB, free: 5.828 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.385/1.385, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05658/0.05658, allocations: 10.73 MB / 281.3 MB, free: 1.312 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.002266/0.002266, allocations: 63.91 kB / 342 MB, free: 4.461 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2543/0.2566, allocations: 49.01 MB / 391 MB, free: 49.93 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_bias): time 0.003214/0.2599, allocations: 2.105 MB / 393.1 MB, free: 48.46 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007885/0.2607, allocations: 402.8 kB / 393.5 MB, free: 48.19 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001205/0.2608, allocations: 9.188 kB / 393.5 MB, free: 48.19 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001844/0.261, allocations: 53.02 kB / 393.6 MB, free: 48.15 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.466e-05/0.2611, allocations: 35.56 kB / 393.6 MB, free: 48.12 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004572/0.2616, allocations: 194.1 kB / 393.8 MB, free: 48.02 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004636/0.2621, allocations: 465.5 kB / 394.2 MB, free: 47.83 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001749/0.2622, allocations: 82.34 kB / 394.3 MB, free: 47.8 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001521/0.2624, allocations: 157.5 kB / 394.5 MB, free: 47.73 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002175/0.2626, allocations: 167.8 kB / 394.6 MB, free: 47.65 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.589e-05/0.2627, allocations: 31.5 kB / 394.7 MB, free: 47.64 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.224e-05/0.2627, allocations: 26.12 kB / 394.7 MB, free: 47.64 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.2629, allocations: 115.5 kB / 394.8 MB, free: 47.59 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001289/0.263, allocations: 168.9 kB / 395 MB, free: 47.47 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003555/0.2634, allocations: 348.9 kB / 395.3 MB, free: 47.32 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.2634, allocations: 1.781 kB / 395.3 MB, free: 47.32 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.2634, allocations: 0.5156 kB / 395.3 MB, free: 47.32 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.716e-06/0.2634, allocations: 0 / 395.3 MB, free: 47.32 MB / 318.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.001057/0.2645, allocations: 0.7038 MB / 396 MB, free: 46.77 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.2645, allocations: 13.86 kB / 396 MB, free: 46.76 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.782e-05/0.2646, allocations: 46.62 kB / 396.1 MB, free: 46.74 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004981/0.2651, allocations: 377.6 kB / 396.4 MB, free: 46.45 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.027e-05/0.2652, allocations: 26.5 kB / 396.5 MB, free: 46.43 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.381e-05/0.2652, allocations: 34.59 kB / 396.5 MB, free: 46.42 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006149/0.2659, allocations: 401.1 kB / 396.9 MB, free: 46.24 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/0.2659, allocations: 12.05 kB / 396.9 MB, free: 46.23 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.857e-05/0.2659, allocations: 14.5 kB / 396.9 MB, free: 46.22 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.553e-05/0.266, allocations: 8.281 kB / 396.9 MB, free: 46.22 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005312/0.2665, allocations: 291.6 kB / 397.2 MB, free: 46.14 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002095/0.2686, allocations: 1.486 MB / 398.7 MB, free: 45.16 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004111/0.269, allocations: 184.6 kB / 398.9 MB, free: 45.09 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001922/0.2692, allocations: 124.5 kB / 399 MB, free: 45.03 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.472e-05/0.2693, allocations: 7.266 kB / 399 MB, free: 45.02 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.61e-05/0.2693, allocations: 31.62 kB / 399 MB, free: 44.98 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.683e-06/0.2693, allocations: 0 / 399 MB, free: 44.98 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.0005953/0.2699, allocations: 315.8 kB / 399.3 MB, free: 44.83 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.451e-05/0.2699, allocations: 59.34 kB / 399.4 MB, free: 44.76 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000343/0.2703, allocations: 395 kB / 399.8 MB, free: 44.52 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.2703, allocations: 26.77 kB / 399.8 MB, free: 44.48 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.2704, allocations: 239.7 kB / 400.1 MB, free: 44.27 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.848e-05/0.2705, allocations: 85.02 kB / 400.1 MB, free: 44.19 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.709e-05/0.2706, allocations: 65.64 kB / 400.2 MB, free: 44.15 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.561e-05/0.2706, allocations: 357 kB / 400.5 MB, free: 43.8 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001775/0.2708, allocations: 93.45 kB / 400.6 MB, free: 43.75 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002295/0.2711, allocations: 209 kB / 400.8 MB, free: 43.56 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001322/0.2724, allocations: 0.5785 MB / 401.4 MB, free: 43.18 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.2724, allocations: 1.094 kB / 401.4 MB, free: 43.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005993/0.273, allocations: 412.8 kB / 401.8 MB, free: 42.97 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.273, allocations: 12.16 kB / 401.8 MB, free: 42.96 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.2731, allocations: 7.781 kB / 401.8 MB, free: 42.96 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/0.2731, allocations: 10.02 kB / 401.9 MB, free: 42.96 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003063/0.2734, allocations: 90.89 kB / 401.9 MB, free: 42.93 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.2734, allocations: 9.656 kB / 402 MB, free: 42.93 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001684/0.2736, allocations: 46.23 kB / 402 MB, free: 42.9 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.063e-05/0.2736, allocations: 16.41 kB / 402 MB, free: 42.89 MB / 318.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 (45): * Single equations (assignments): 45 * 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.0002499/0.2739, allocations: 192.5 kB / 402.2 MB, free: 42.73 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.228e-05/0.274, allocations: 39.12 kB / 402.2 MB, free: 42.71 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005474/0.2745, allocations: 286.8 kB / 402.5 MB, free: 42.54 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.2745, allocations: 2.75 kB / 402.5 MB, free: 42.54 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.2745, allocations: 0 / 402.5 MB, free: 42.54 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.2746, allocations: 9.266 kB / 402.5 MB, free: 42.53 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003523/0.2749, allocations: 375.7 kB / 402.9 MB, free: 42.21 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.2749, allocations: 3.938 kB / 402.9 MB, free: 42.2 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003209/0.2752, allocations: 57.72 kB / 403 MB, free: 42.19 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.2753, allocations: 8.953 kB / 403 MB, free: 42.18 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.356e-05/0.2753, allocations: 7.188 kB / 403 MB, free: 42.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.2753, allocations: 5.109 kB / 403 MB, free: 42.18 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.2753, allocations: 0 / 403 MB, free: 42.18 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006472/0.276, allocations: 479.3 kB / 403.4 MB, free: 41.88 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.778e-05/0.276, allocations: 115.7 kB / 403.6 MB, free: 41.75 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.504e-05/0.2761, allocations: 12.03 kB / 403.6 MB, free: 41.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.2763, allocations: 9.953 kB / 403.6 MB, free: 41.74 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.439e-05/0.2763, allocations: 18.66 kB / 403.6 MB, free: 41.73 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.2763, allocations: 9.125 kB / 403.6 MB, free: 41.73 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002809/0.2766, allocations: 277.9 kB / 403.9 MB, free: 41.55 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2766, allocations: 0 / 403.9 MB, free: 41.55 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003564/0.277, allocations: 68.56 kB / 403.9 MB, free: 41.53 MB / 318.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001096/0.2771, allocations: 102.2 kB / 404 MB, free: 41.44 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005001/0.2776, allocations: 276.2 kB / 404.3 MB, free: 41.32 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.2776, allocations: 128 / 404.3 MB, free: 41.32 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001827/0.2778, allocations: 117.4 kB / 404.4 MB, free: 41.27 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003771/0.2782, allocations: 34.92 kB / 404.5 MB, free: 41.25 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/0.2794, allocations: 0.7467 MB / 405.2 MB, free: 40.76 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002829/0.2797, allocations: 0.8329 MB / 406 MB, free: 39.99 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001783/0.2799, allocations: 68.98 kB / 406.1 MB, free: 39.96 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.52e-05/0.28, allocations: 27.03 kB / 406.1 MB, free: 39.96 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.28, allocations: 0 / 406.1 MB, free: 39.96 MB / 318.1 MB Notification: Performance of Templates: time 0.005581/0.2856, allocations: 2.285 MB / 408.4 MB, free: 38.71 MB / 318.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.makefile (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 -s gbode -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe 2>&1)