Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) 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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IndustrialControlSystems.Controllers.Examples.TestD_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestD_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002089/0.002089, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.08049/0.08049, allocations: 10.65 MB / 23.91 MB, free: 1.41 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.759/1.759, allocations: 205.2 MB / 232.1 MB, free: 12.75 MB / 202.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008752/0.0008754, allocations: 89.17 kB / 282.6 MB, free: 13.56 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 3.612e-05/3.624e-05, allocations: 4 kB / 340.5 MB, free: 3.598 MB / 282.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.2798, allocations: 49.98 MB / 390.5 MB, free: 35.73 MB / 298.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1094/0.3893, allocations: 79.6 MB / 470.1 MB, free: 4.023 MB / 346.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002496/0.3896, allocations: 71.95 kB / 470.1 MB, free: 3.953 MB / 346.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.02031/0.4099, allocations: 7.298 MB / 477.4 MB, free: 12.62 MB / 362.8 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4099, allocations: 0 / 477.4 MB, free: 12.62 MB / 362.8 MB Notification: Performance of Transformations before backend: time 3.401e-05/0.41, allocations: 20.09 kB / 477.4 MB, free: 12.6 MB / 362.8 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.001203/0.4112, allocations: 0.7301 MB / 478.2 MB, free: 11.82 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.4112, allocations: 12.03 kB / 478.2 MB, free: 11.81 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001239/0.4114, allocations: 63.25 kB / 478.3 MB, free: 11.75 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000861/0.4122, allocations: 435.9 kB / 478.7 MB, free: 11.28 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.847e-05/0.4123, allocations: 32.72 kB / 478.7 MB, free: 11.25 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.98e-05/0.4124, allocations: 43.91 kB / 478.8 MB, free: 11.2 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008333/0.4132, allocations: 0.5209 MB / 479.3 MB, free: 10.65 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.255e-05/0.4133, allocations: 15.89 kB / 479.3 MB, free: 10.64 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.64e-05/0.4133, allocations: 19.95 kB / 479.3 MB, free: 10.62 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.856e-05/0.4134, allocations: 8 kB / 479.3 MB, free: 10.61 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006153/0.414, allocations: 378.9 kB / 479.7 MB, free: 10.23 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002886/0.4169, allocations: 1.81 MB / 481.5 MB, free: 8.344 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004606/0.4173, allocations: 268 kB / 481.8 MB, free: 8.074 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002472/0.4176, allocations: 184.7 kB / 481.9 MB, free: 7.891 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/0.4176, allocations: 4.203 kB / 481.9 MB, free: 7.887 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003684/0.418, allocations: 268.9 kB / 482.2 MB, free: 7.605 MB / 362.8 MB Notification: Performance of pre-optimization done (n=36): time 2.154e-06/0.418, allocations: 0 / 482.2 MB, free: 7.605 MB / 362.8 MB Notification: Performance of matching and sorting (n=36): time 0.0007579/0.4188, allocations: 460.9 kB / 482.7 MB, free: 7.137 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.035e-05/0.4189, allocations: 85.11 kB / 482.7 MB, free: 7.035 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004711/0.4194, allocations: 430.9 kB / 483.2 MB, free: 6.609 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 3.485e-05/0.4194, allocations: 33.7 kB / 483.2 MB, free: 6.57 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001978/0.4196, allocations: 276 kB / 483.5 MB, free: 6.293 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.4197, allocations: 134.2 kB / 483.6 MB, free: 6.16 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.065e-05/0.4197, allocations: 12 kB / 483.6 MB, free: 6.148 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.4199, allocations: 362.8 kB / 484 MB, free: 5.785 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002496/0.4202, allocations: 165.3 kB / 484.1 MB, free: 5.625 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003531/0.4205, allocations: 333.2 kB / 484.4 MB, free: 5.238 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003529/0.4209, allocations: 250.9 kB / 484.7 MB, free: 4.98 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.411e-06/0.4209, allocations: 4 kB / 484.7 MB, free: 4.977 MB / 362.8 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001044/0.422, allocations: 0.7222 MB / 485.4 MB, free: 4.242 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.414e-05/0.422, allocations: 37.69 kB / 485.5 MB, free: 4.199 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.422, allocations: 4.094 kB / 485.5 MB, free: 4.195 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.497e-05/0.4221, allocations: 15.94 kB / 485.5 MB, free: 4.18 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005505/0.4226, allocations: 140.4 kB / 485.6 MB, free: 4.043 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.542e-05/0.4226, allocations: 12 kB / 485.6 MB, free: 4.031 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002495/0.4229, allocations: 67.36 kB / 485.7 MB, free: 3.965 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.726e-05/0.423, allocations: 24 kB / 485.7 MB, free: 3.941 MB / 362.8 MB Warning: Assuming fixed start value for the following 15 variables: processNoCtrl.w:VARIABLE(protected = true ) "proper part of the output" type: Real processNoCtrl.U[3]:VARIABLE(protected = true ) type: Real [3] processNoCtrl.Y[3]:VARIABLE(protected = true ) type: Real [4] processNoCtrl.Y[4]:VARIABLE(protected = true ) type: Real [4] processNoCtrl.U[2]:VARIABLE(protected = true ) type: Real [3] ProcessBias.w:VARIABLE(protected = true ) "proper part of the output" type: Real ProcessBias.U[3]:VARIABLE(protected = true ) type: Real [3] ProcessBias.U[2]:VARIABLE(protected = true ) type: Real [3] ProcessBias.Y[4]:VARIABLE(protected = true ) type: Real [4] ProcessCtrl.Y[3]:VARIABLE(protected = true ) type: Real [4] ProcessCtrl.Y[4]:VARIABLE(protected = true ) type: Real [4] ProcessCtrl.U[2]:VARIABLE(protected = true ) type: Real [3] ProcessCtrl.U[3]:VARIABLE(protected = true ) type: Real [3] ProcessCtrl.w:VARIABLE(protected = true ) "proper part of the output" type: Real ProcessBias.Y[3]:VARIABLE(protected = true ) type: Real [4] 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 () * 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.0002295/0.4232, allocations: 190.5 kB / 485.9 MB, free: 3.746 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.195e-05/0.4233, allocations: 59.3 kB / 486 MB, free: 3.688 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008699/0.4242, allocations: 0.5303 MB / 486.5 MB, free: 3.145 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.754e-06/0.4242, allocations: 4 kB / 486.5 MB, free: 3.141 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.4242, allocations: 3.984 kB / 486.5 MB, free: 3.137 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.4242, allocations: 0 / 486.5 MB, free: 3.137 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005031/0.4247, allocations: 477 kB / 487 MB, free: 2.621 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.4247, allocations: 0 / 487 MB, free: 2.621 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004806/0.4252, allocations: 91.88 kB / 487 MB, free: 2.531 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.125e-06/0.4252, allocations: 3.953 kB / 487.1 MB, free: 2.527 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.91e-05/0.4253, allocations: 19.98 kB / 487.1 MB, free: 2.508 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.4253, allocations: 3.984 kB / 487.1 MB, free: 2.504 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4253, allocations: 0 / 487.1 MB, free: 2.504 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/0.4263, allocations: 0.7313 MB / 487.8 MB, free: 1.75 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.4265, allocations: 120.5 kB / 487.9 MB, free: 1.613 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.004e-05/0.4265, allocations: 31.88 kB / 488 MB, free: 1.582 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001613/0.4267, allocations: 19.98 kB / 488 MB, free: 1.562 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.034e-05/0.4268, allocations: 19.97 kB / 488 MB, free: 1.543 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.472e-05/0.4268, allocations: 12 kB / 488 MB, free: 1.531 MB / 362.8 MB Notification: Performance of sorting global known variables: time 0.0003541/0.4272, allocations: 325.2 kB / 488.3 MB, free: 1.215 MB / 362.8 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4272, allocations: 0 / 488.3 MB, free: 1.215 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.0004581/0.4277, allocations: 123.8 kB / 488.4 MB, free: 1.094 MB / 362.8 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) * 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.000251/0.4279, allocations: 149.4 kB / 488.6 MB, free: 0.9414 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.0007869/0.4287, allocations: 0.5156 MB / 489.1 MB, free: 424 kB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.4287, allocations: 1.312 kB / 489.1 MB, free: 424 kB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000332/0.4291, allocations: 267.8 kB / 489.4 MB, free: 144 kB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002988/0.4294, allocations: 46.2 kB / 489.4 MB, free: 100 kB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001577/0.431, allocations: 0.907 MB / 490.3 MB, free: 15.16 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000662/0.4316, allocations: 0.8976 MB / 491.2 MB, free: 14.24 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.0003192/0.432, allocations: 108.1 kB / 491.3 MB, free: 14.13 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.282e-05/0.4321, allocations: 35.44 kB / 491.4 MB, free: 14.09 MB / 378.8 MB Notification: Performance of SimCode: time 1.082e-06/0.4321, allocations: 0 / 491.4 MB, free: 14.09 MB / 378.8 MB Notification: Performance of Templates: time 0.008888/0.441, allocations: 3.504 MB / 494.9 MB, free: 10.62 MB / 378.8 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe 2>&1)