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/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.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/Complex 3.2.3+maint.om/package.mo): time 0.0009414/0.0009414, allocations: 176.2 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.0563/0.0563, allocations: 10.66 MB / 18.73 MB, free: 1.316 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.555/1.555, allocations: 205.3 MB / 226.9 MB, free: 7.891 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008216/0.0008216, allocations: 102.4 kB / 277.3 MB, free: 5.418 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.18e-05/1.183e-05, allocations: 0 / 333.5 MB, free: 28.43 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09096/0.09098, allocations: 50.01 MB / 383.5 MB, free: 10.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.319/0.41, allocations: 77.62 MB / 461.2 MB, free: 7.055 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001845/0.4103, allocations: 81.05 kB / 461.2 MB, free: 7.012 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01126/0.4215, allocations: 4.475 MB / 465.7 MB, free: 3.164 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.4216, allocations: 0 / 465.7 MB, free: 3.164 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.602e-05/0.4216, allocations: 12 kB / 465.7 MB, free: 3.152 MB / 330.7 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.0007742/0.4224, allocations: 0.6107 MB / 466.3 MB, free: 2.523 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.4224, allocations: 15.97 kB / 466.3 MB, free: 2.508 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.334e-05/0.4225, allocations: 43.44 kB / 466.4 MB, free: 2.465 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005279/0.423, allocations: 371.4 kB / 466.7 MB, free: 2.09 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.4231, allocations: 12 kB / 466.8 MB, free: 2.078 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.082e-05/0.4231, allocations: 31.28 kB / 466.8 MB, free: 2.051 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004012/0.4235, allocations: 237.5 kB / 467 MB, free: 1.891 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005102/0.4241, allocations: 355.6 kB / 467.4 MB, free: 1.582 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.418e-05/0.4241, allocations: 7.953 kB / 467.4 MB, free: 1.574 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.886e-05/0.4241, allocations: 0 / 467.4 MB, free: 1.574 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.431e-05/0.4241, allocations: 12 kB / 467.4 MB, free: 1.562 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002022/0.4262, allocations: 1.422 MB / 468.8 MB, free: 272 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003224/0.4265, allocations: 152.3 kB / 469 MB, free: 156 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001511/0.4267, allocations: 99.38 kB / 469.1 MB, free: 84 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.043e-05/0.4267, allocations: 192 / 469.1 MB, free: 84 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.4267, allocations: 49.38 kB / 469.1 MB, free: 28 kB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 1.223e-06/0.4268, allocations: 0 / 469.1 MB, free: 28 kB / 330.7 MB Notification: Performance of matching and sorting (n=21): time 0.0003631/0.4271, allocations: 208.2 kB / 469.3 MB, free: 15.86 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/0.4272, allocations: 51.41 kB / 469.4 MB, free: 15.8 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002519/0.4274, allocations: 286.8 kB / 469.6 MB, free: 15.56 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.4275, allocations: 25.7 kB / 469.7 MB, free: 15.53 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.4276, allocations: 244.7 kB / 469.9 MB, free: 15.34 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.24e-05/0.4277, allocations: 81.44 kB / 470 MB, free: 15.27 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.024e-05/0.4277, allocations: 4 kB / 470 MB, free: 15.27 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.4278, allocations: 350.4 kB / 470.3 MB, free: 14.93 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.4279, allocations: 77.97 kB / 470.4 MB, free: 14.88 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000153/0.4281, allocations: 189 kB / 470.6 MB, free: 14.68 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.4282, allocations: 106.9 kB / 470.7 MB, free: 14.6 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.4282, allocations: 4 kB / 470.7 MB, free: 14.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004196/0.4287, allocations: 356.5 kB / 471 MB, free: 14.3 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.4287, allocations: 8 kB / 471.1 MB, free: 14.3 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.4287, allocations: 4 kB / 471.1 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.4287, allocations: 4 kB / 471.1 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003191/0.429, allocations: 91.5 kB / 471.1 MB, free: 14.2 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.4291, allocations: 15.88 kB / 471.2 MB, free: 14.19 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001463/0.4292, allocations: 31.67 kB / 471.2 MB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.367e-05/0.4292, allocations: 15.72 kB / 471.2 MB, free: 14.14 MB / 346.7 MB Warning: Assuming fixed start value for the following 9 variables: ProcessBias.w:VARIABLE(protected = true ) "proper part of the output" type: Real ProcessBias.U[2]:VARIABLE(protected = true ) type: Real [2] ProcessBias.Y[3]:VARIABLE(protected = true ) type: Real [3] ProcessCtrl.Y[3]:VARIABLE(protected = true ) type: Real [3] ProcessCtrl.U[2]:VARIABLE(protected = true ) type: Real [2] ProcessCtrl.w:VARIABLE(protected = true ) "proper part of the output" type: Real processNoCtrl.Y[3]:VARIABLE(protected = true ) type: Real [3] processNoCtrl.U[2]:VARIABLE(protected = true ) type: Real [2] processNoCtrl.w:VARIABLE(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 () * 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.0001413/0.4294, allocations: 123.4 kB / 471.3 MB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.994e-05/0.4294, allocations: 31.62 kB / 471.4 MB, free: 13.99 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003936/0.4298, allocations: 259 kB / 471.6 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.4299, allocations: 4 kB / 471.6 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.4299, allocations: 0 / 471.6 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.4299, allocations: 0 / 471.6 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003224/0.4302, allocations: 326.9 kB / 471.9 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.4302, allocations: 4 kB / 471.9 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003159/0.4305, allocations: 59.64 kB / 472 MB, free: 13.42 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.4306, allocations: 4 kB / 472 MB, free: 13.42 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.349e-05/0.4306, allocations: 7.984 kB / 472 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.4306, allocations: 3.984 kB / 472 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.4306, allocations: 4 kB / 472 MB, free: 13.4 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004806/0.4311, allocations: 424.4 kB / 472.4 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.565e-05/0.4312, allocations: 120 kB / 472.6 MB, free: 12.91 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.735e-05/0.4312, allocations: 11.92 kB / 472.6 MB, free: 12.9 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001308/0.4314, allocations: 11.98 kB / 472.6 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.713e-05/0.4314, allocations: 11.98 kB / 472.6 MB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.4314, allocations: 6.625 kB / 472.6 MB, free: 12.88 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000169/0.4316, allocations: 220.5 kB / 472.8 MB, free: 12.7 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4316, allocations: 0 / 472.8 MB, free: 12.7 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003116/0.4319, allocations: 55.78 kB / 472.9 MB, free: 12.64 MB / 346.7 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 () * 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.0001377/0.4321, allocations: 99.28 kB / 473 MB, free: 12.54 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003246/0.4324, allocations: 230 kB / 473.2 MB, free: 12.37 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4324, allocations: 256 / 473.2 MB, free: 12.37 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001161/0.4325, allocations: 98.47 kB / 473.3 MB, free: 12.3 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.4328, allocations: 28.08 kB / 473.3 MB, free: 12.28 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008786/0.4337, allocations: 0.5857 MB / 473.9 MB, free: 11.72 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003608/0.4341, allocations: 0.8372 MB / 474.7 MB, free: 10.86 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001729/0.4342, allocations: 71.22 kB / 474.8 MB, free: 10.79 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.111e-05/0.4343, allocations: 27.44 kB / 474.8 MB, free: 10.76 MB / 346.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4343, allocations: 0 / 474.8 MB, free: 10.76 MB / 346.7 MB Notification: Performance of Templates: time 0.004681/0.439, allocations: 1.724 MB / 476.6 MB, free: 9.047 MB / 346.7 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 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe 2>&1)