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.008925/0.008925, allocations: 97.11 kB / 15.73 MB, free: 6.043 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.002212/0.002212, allocations: 194.3 kB / 16.68 MB, free: 5.973 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.772/1.772, allocations: 205.1 MB / 222.6 MB, free: 4.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.05706/0.05706, allocations: 10.73 MB / 280.6 MB, free: 10.42 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.001411/0.001411, allocations: 75.91 kB / 390.8 MB, free: 5.031 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4468/0.4482, allocations: 49.02 MB / 439.9 MB, free: 5.363 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_bias): time 0.003791/0.4521, allocations: 2.092 MB / 442 MB, free: 3.875 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001185/0.4533, allocations: 499.4 kB / 442.4 MB, free: 3.543 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001498/0.4534, allocations: 18.66 kB / 442.5 MB, free: 3.531 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002419/0.4537, allocations: 54.91 kB / 442.5 MB, free: 3.492 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.936e-05/0.4538, allocations: 27.86 kB / 442.5 MB, free: 3.473 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000684/0.4545, allocations: 243.3 kB / 442.8 MB, free: 3.344 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006635/0.4552, allocations: 496.5 kB / 443.3 MB, free: 3.145 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002264/0.4554, allocations: 87.36 kB / 443.4 MB, free: 3.102 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002308/0.4556, allocations: 172.1 kB / 443.5 MB, free: 3.023 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002794/0.4559, allocations: 180.3 kB / 443.7 MB, free: 2.941 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.942e-05/0.456, allocations: 28.19 kB / 443.7 MB, free: 2.941 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.414e-05/0.4561, allocations: 32.06 kB / 443.8 MB, free: 2.938 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001652/0.4562, allocations: 126.6 kB / 443.9 MB, free: 2.879 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001638/0.4564, allocations: 171.3 kB / 444 MB, free: 2.758 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005688/0.457, allocations: 366 kB / 444.4 MB, free: 2.602 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.457, allocations: 0 / 444.4 MB, free: 2.602 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.457, allocations: 0 / 444.4 MB, free: 2.602 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.746e-06/0.457, allocations: 0 / 444.4 MB, free: 2.602 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.001263/0.4583, allocations: 0.7332 MB / 445.1 MB, free: 2.027 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/0.4583, allocations: 12.77 kB / 445.1 MB, free: 2.023 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/0.4585, allocations: 48.33 kB / 445.2 MB, free: 2 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005316/0.459, allocations: 380 kB / 445.6 MB, free: 1.711 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.209e-05/0.4591, allocations: 84.16 kB / 445.6 MB, free: 1.633 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.224e-05/0.4592, allocations: 39.88 kB / 445.7 MB, free: 1.617 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000744/0.4599, allocations: 414.7 kB / 446.1 MB, free: 1.426 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.526e-05/0.4599, allocations: 6.25 kB / 446.1 MB, free: 1.422 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.563e-05/0.46, allocations: 16.08 kB / 446.1 MB, free: 1.41 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.46, allocations: 8.031 kB / 446.1 MB, free: 1.41 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006069/0.4606, allocations: 309.2 kB / 446.4 MB, free: 1.32 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002338/0.463, allocations: 1.557 MB / 448 MB, free: 196 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004784/0.4634, allocations: 190.3 kB / 448.2 MB, free: 88 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000232/0.4637, allocations: 124.3 kB / 448.3 MB, free: 20 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.455e-05/0.4637, allocations: 2.344 kB / 448.3 MB, free: 20 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.637e-05/0.4638, allocations: 36.91 kB / 448.3 MB, free: 15.98 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.242e-06/0.4638, allocations: 0 / 448.3 MB, free: 15.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009484/0.4648, allocations: 344.7 kB / 448.7 MB, free: 15.8 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.881e-05/0.4649, allocations: 53.69 kB / 448.7 MB, free: 15.73 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005836/0.4654, allocations: 397.2 kB / 449.1 MB, free: 15.49 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/0.4655, allocations: 29.7 kB / 449.1 MB, free: 15.45 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001941/0.4657, allocations: 243.8 kB / 449.4 MB, free: 15.23 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.553e-05/0.4658, allocations: 85.81 kB / 449.5 MB, free: 15.16 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.4659, allocations: 75.38 kB / 449.5 MB, free: 15.11 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.4661, allocations: 358.3 kB / 449.9 MB, free: 14.76 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001941/0.4663, allocations: 106.9 kB / 450 MB, free: 14.71 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002931/0.4666, allocations: 214.6 kB / 450.2 MB, free: 14.51 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001587/0.4682, allocations: 0.6191 MB / 450.8 MB, free: 14.1 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.4682, allocations: 0 / 450.8 MB, free: 14.1 MB / 334.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007459/0.4689, allocations: 437.8 kB / 451.2 MB, free: 13.88 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.469, allocations: 6.875 kB / 451.2 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.469, allocations: 8.062 kB / 451.3 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/0.469, allocations: 5.5 kB / 451.3 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003724/0.4694, allocations: 99.31 kB / 451.4 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/0.4694, allocations: 5.5 kB / 451.4 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001813/0.4696, allocations: 54.72 kB / 451.4 MB, free: 13.81 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.057e-05/0.4696, allocations: 17.75 kB / 451.4 MB, free: 13.8 MB / 334.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 (48): * Single equations (assignments): 48 * 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.0002803/0.4699, allocations: 200.1 kB / 451.6 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.109e-05/0.47, allocations: 38.69 kB / 451.7 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00059/0.4706, allocations: 303.4 kB / 452 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.4706, allocations: 5.797 kB / 452 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.4706, allocations: 1 kB / 452 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.4706, allocations: 3.938 kB / 452 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005596/0.4712, allocations: 392.2 kB / 452.4 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.4712, allocations: 3.984 kB / 452.4 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003812/0.4716, allocations: 62.36 kB / 452.4 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.4716, allocations: 1.438 kB / 452.4 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.629e-05/0.4717, allocations: 12.47 kB / 452.4 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.4717, allocations: 1 kB / 452.4 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4717, allocations: 0 / 452.4 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00084/0.4725, allocations: 0.4932 MB / 452.9 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001104/0.4726, allocations: 121.5 kB / 453 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.041e-05/0.4727, allocations: 11.27 kB / 453.1 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/0.4729, allocations: 18.3 kB / 453.1 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001491/0.473, allocations: 15.84 kB / 453.1 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.473, allocations: 8.312 kB / 453.1 MB, free: 12.59 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003545/0.4734, allocations: 277.9 kB / 453.4 MB, free: 12.42 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4734, allocations: 0 / 453.4 MB, free: 12.42 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003728/0.4738, allocations: 62.73 kB / 453.4 MB, free: 12.41 MB / 334.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 (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.0001641/0.474, allocations: 110.2 kB / 453.5 MB, free: 12.3 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007014/0.4747, allocations: 289.3 kB / 453.8 MB, free: 12.18 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.4747, allocations: 0 / 453.8 MB, free: 12.18 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002506/0.4749, allocations: 123.9 kB / 453.9 MB, free: 12.13 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004291/0.4754, allocations: 37.11 kB / 454 MB, free: 12.1 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001749/0.4771, allocations: 0.817 MB / 454.8 MB, free: 11.55 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005482/0.4777, allocations: 0.8372 MB / 455.6 MB, free: 10.79 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002263/0.4779, allocations: 77.31 kB / 455.7 MB, free: 10.75 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/0.4781, allocations: 31.78 kB / 455.7 MB, free: 10.74 MB / 334.1 MB Notification: Performance of SimCode: time 4.7e-07/0.4781, allocations: 0 / 455.7 MB, free: 10.74 MB / 334.1 MB Notification: Performance of Templates: time 0.007969/0.486, allocations: 2.41 MB / 458.1 MB, free: 9.559 MB / 334.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.makefile (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)