Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_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.TestPI_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestPI_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000899/0.0008991, allocations: 99.16 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.000962/0.0009621, allocations: 177.3 kB / 15.94 MB, free: 228 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.286/1.286, allocations: 205.4 MB / 222.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05338/0.05338, allocations: 10.73 MB / 281.1 MB, free: 10.45 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.000453/0.000453, allocations: 12.22 kB / 341.6 MB, free: 23.86 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08426/0.08473, allocations: 50.01 MB / 391.6 MB, free: 5.781 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPI_bias): time 0.001969/0.08673, allocations: 1.754 MB / 393.3 MB, free: 4.016 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000841/0.08759, allocations: 0.5027 MB / 393.8 MB, free: 3.512 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001156/0.08772, allocations: 11.88 kB / 393.9 MB, free: 3.5 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001498/0.08788, allocations: 39.7 kB / 393.9 MB, free: 3.461 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.047e-05/0.08798, allocations: 31.91 kB / 393.9 MB, free: 3.43 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004792/0.08847, allocations: 203.5 kB / 394.1 MB, free: 3.23 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003631/0.08884, allocations: 288.1 kB / 394.4 MB, free: 2.945 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000152/0.089, allocations: 72.66 kB / 394.5 MB, free: 2.875 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001935/0.0892, allocations: 155.3 kB / 394.6 MB, free: 2.723 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002018/0.08941, allocations: 155.3 kB / 394.8 MB, free: 2.57 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.779e-05/0.08946, allocations: 12 kB / 394.8 MB, free: 2.559 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.431e-05/0.0895, allocations: 12 kB / 394.8 MB, free: 2.547 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.08962, allocations: 103.7 kB / 394.9 MB, free: 2.445 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.898e-05/0.0897, allocations: 81.45 kB / 395 MB, free: 2.359 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002375/0.08995, allocations: 255.7 kB / 395.2 MB, free: 2.109 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.08996, allocations: 3.938 kB / 395.2 MB, free: 2.105 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.073e-06/0.08996, allocations: 0 / 395.2 MB, free: 2.105 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.08998, allocations: 0 / 395.2 MB, free: 2.105 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001032/0.09102, allocations: 0.651 MB / 395.9 MB, free: 1.402 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.09106, allocations: 16.02 kB / 395.9 MB, free: 1.387 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.59e-05/0.09114, allocations: 51.39 kB / 396 MB, free: 1.336 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004697/0.09162, allocations: 350.7 kB / 396.3 MB, free: 0.957 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.644e-05/0.09166, allocations: 25 kB / 396.3 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.405e-05/0.09173, allocations: 36 kB / 396.4 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006308/0.09236, allocations: 416 kB / 396.8 MB, free: 476 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/0.0924, allocations: 11.84 kB / 396.8 MB, free: 464 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.097e-05/0.09243, allocations: 16 kB / 396.8 MB, free: 448 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.09245, allocations: 11.94 kB / 396.8 MB, free: 436 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005158/0.09297, allocations: 318.3 kB / 397.1 MB, free: 116 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002193/0.09517, allocations: 1.543 MB / 398.7 MB, free: 14.49 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007302/0.09592, allocations: 238.6 kB / 398.9 MB, free: 14.25 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.031e-05/0.09597, allocations: 4 kB / 398.9 MB, free: 14.24 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.534e-05/0.09602, allocations: 38.56 kB / 398.9 MB, free: 14.2 MB / 302.1 MB Notification: Performance of pre-optimization done (n=25): time 2.224e-06/0.09602, allocations: 0 / 398.9 MB, free: 14.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=25): time 0.0006701/0.0967, allocations: 366.6 kB / 399.3 MB, free: 13.83 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.09675, allocations: 63.41 kB / 399.4 MB, free: 13.76 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000365/0.09712, allocations: 401.5 kB / 399.7 MB, free: 13.36 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.09715, allocations: 29.7 kB / 399.8 MB, free: 13.32 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00016/0.09732, allocations: 236 kB / 400 MB, free: 13.09 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.297e-05/0.0974, allocations: 94.62 kB / 400.1 MB, free: 13 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.279e-05/0.09742, allocations: 4 kB / 400.1 MB, free: 12.99 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.09755, allocations: 358.8 kB / 400.5 MB, free: 12.63 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001929/0.09775, allocations: 104.4 kB / 400.6 MB, free: 12.53 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000247/0.09801, allocations: 216.5 kB / 400.8 MB, free: 12.27 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002492/0.09827, allocations: 165.1 kB / 400.9 MB, free: 12.1 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/0.09829, allocations: 7.953 kB / 400.9 MB, free: 12.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006658/0.09896, allocations: 456.4 kB / 401.4 MB, free: 11.64 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.09898, allocations: 4 kB / 401.4 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.099, allocations: 4 kB / 401.4 MB, free: 11.63 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.09902, allocations: 8.469 kB / 401.4 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003883/0.09942, allocations: 115.8 kB / 401.5 MB, free: 11.51 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.325e-05/0.09944, allocations: 11.88 kB / 401.5 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001796/0.09963, allocations: 47.58 kB / 401.6 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.618e-05/0.09966, allocations: 16 kB / 401.6 MB, free: 11.44 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 (51): * Single equations (assignments): 51 * 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.0002295/0.09989, allocations: 191.6 kB / 401.8 MB, free: 11.24 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.827e-05/0.09999, allocations: 39.48 kB / 401.8 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005962/0.1006, allocations: 357.7 kB / 402.2 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.1006, allocations: 4 kB / 402.2 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.1006, allocations: 3.984 kB / 402.2 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.1006, allocations: 0 / 402.2 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004124/0.1011, allocations: 397.2 kB / 402.6 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1011, allocations: 4 kB / 402.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004082/0.1015, allocations: 87.83 kB / 402.6 MB, free: 10.31 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.1015, allocations: 0 / 402.6 MB, free: 10.31 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.559e-05/0.1015, allocations: 8 kB / 402.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1015, allocations: 4 kB / 402.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1015, allocations: 0 / 402.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007071/0.1023, allocations: 0.5315 MB / 403.2 MB, free: 9.746 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/0.1024, allocations: 124.5 kB / 403.3 MB, free: 9.605 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.233e-05/0.1024, allocations: 7.953 kB / 403.3 MB, free: 9.598 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.1026, allocations: 15.98 kB / 403.3 MB, free: 9.582 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.472e-05/0.1027, allocations: 23.97 kB / 403.4 MB, free: 9.559 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.1027, allocations: 11.94 kB / 403.4 MB, free: 9.547 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002473/0.1029, allocations: 271.1 kB / 403.6 MB, free: 9.281 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1029, allocations: 7.938 kB / 403.6 MB, free: 9.273 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003218/0.1033, allocations: 67.84 kB / 403.7 MB, free: 9.207 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (R.FBout,R_Bias.FBout,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 (29): * Single equations (assignments): 29 * 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.1034, allocations: 99.25 kB / 403.8 MB, free: 9.102 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005183/0.1039, allocations: 323.7 kB / 404.1 MB, free: 8.785 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.1039, allocations: 112 / 404.1 MB, free: 8.785 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000213/0.1041, allocations: 132.8 kB / 404.2 MB, free: 8.656 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000237/0.1044, allocations: 33.55 kB / 404.3 MB, free: 8.625 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.1056, allocations: 0.9521 MB / 405.2 MB, free: 7.648 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004145/0.106, allocations: 0.846 MB / 406.1 MB, free: 6.773 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002007/0.1062, allocations: 75.22 kB / 406.2 MB, free: 6.699 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.54e-05/0.1063, allocations: 31.44 kB / 406.2 MB, free: 6.672 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1063, allocations: 3.938 kB / 406.2 MB, free: 6.668 MB / 302.1 MB Notification: Performance of Templates: time 0.005596/0.1119, allocations: 2.247 MB / 408.4 MB, free: 4.422 MB / 302.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.makefile Environment - environmentSimulation: (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe 2>&1) Environment - environmentSimulation: