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.01361/0.01361, allocations: 100.8 kB / 15.73 MB, free: 6.477 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.002888/0.002888, allocations: 189.9 kB / 16.67 MB, free: 6.391 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.75/1.75, allocations: 205.1 MB / 222.5 MB, free: 4.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05858/0.05858, allocations: 10.74 MB / 280.6 MB, free: 10.46 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.001541/0.001542, allocations: 63.89 kB / 390.8 MB, free: 5.031 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4673/0.4688, allocations: 49.01 MB / 439.9 MB, free: 5.352 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPI_bias): time 0.004346/0.4732, allocations: 2.121 MB / 442 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001252/0.4745, allocations: 0.5371 MB / 442.5 MB, free: 3.469 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001727/0.4747, allocations: 13.38 kB / 442.5 MB, free: 3.461 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002624/0.4749, allocations: 58.92 kB / 442.6 MB, free: 3.418 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001107/0.4751, allocations: 37.73 kB / 442.6 MB, free: 3.391 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006974/0.4758, allocations: 255.6 kB / 442.9 MB, free: 3.258 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006922/0.4765, allocations: 0.5116 MB / 443.4 MB, free: 3.043 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002005/0.4767, allocations: 80.38 kB / 443.5 MB, free: 3.008 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002215/0.4769, allocations: 171.9 kB / 443.6 MB, free: 2.934 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003237/0.4772, allocations: 189.4 kB / 443.8 MB, free: 2.844 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.914e-05/0.4773, allocations: 29.44 kB / 443.8 MB, free: 2.844 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.899e-05/0.4774, allocations: 27.56 kB / 443.9 MB, free: 2.844 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002394/0.4776, allocations: 122.6 kB / 444 MB, free: 2.789 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000237/0.4779, allocations: 176.4 kB / 444.2 MB, free: 2.664 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006233/0.4785, allocations: 375.6 kB / 444.5 MB, free: 2.496 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.4785, allocations: 0 / 444.5 MB, free: 2.496 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.207e-06/0.4785, allocations: 4 kB / 444.5 MB, free: 2.492 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.734e-05/0.4786, allocations: 0 / 444.5 MB, free: 2.492 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001387/0.48, allocations: 0.7076 MB / 445.2 MB, free: 1.945 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.48, allocations: 17.64 kB / 445.3 MB, free: 1.938 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001201/0.4801, allocations: 46.59 kB / 445.3 MB, free: 1.914 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006783/0.4808, allocations: 386 kB / 445.7 MB, free: 1.621 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.34e-05/0.4809, allocations: 30.16 kB / 445.7 MB, free: 1.602 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.881e-05/0.481, allocations: 36.97 kB / 445.7 MB, free: 1.59 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008933/0.4819, allocations: 422.8 kB / 446.2 MB, free: 1.402 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.364e-05/0.4819, allocations: 3.562 kB / 446.2 MB, free: 1.402 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.094e-05/0.482, allocations: 18.56 kB / 446.2 MB, free: 1.387 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.876e-05/0.482, allocations: 13.41 kB / 446.2 MB, free: 1.383 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007431/0.4828, allocations: 306.1 kB / 446.5 MB, free: 1.297 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002557/0.4853, allocations: 1.533 MB / 448 MB, free: 164 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007778/0.4861, allocations: 229.5 kB / 448.2 MB, free: 48 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002773/0.4864, allocations: 121.6 kB / 448.4 MB, free: 15.98 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.618e-05/0.4865, allocations: 7.969 kB / 448.4 MB, free: 15.98 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.266e-05/0.4865, allocations: 43.8 kB / 448.4 MB, free: 15.93 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 1.743e-06/0.4865, allocations: 0 / 448.4 MB, free: 15.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=25): time 0.0008434/0.4874, allocations: 356.4 kB / 448.8 MB, free: 15.75 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.494e-05/0.4875, allocations: 58.84 kB / 448.8 MB, free: 15.68 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004666/0.4879, allocations: 398.5 kB / 449.2 MB, free: 15.43 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.232e-05/0.488, allocations: 34.86 kB / 449.2 MB, free: 15.39 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002274/0.4882, allocations: 239.2 kB / 449.5 MB, free: 15.18 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.474e-05/0.4883, allocations: 98.22 kB / 449.6 MB, free: 15.09 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001292/0.4884, allocations: 76.59 kB / 449.6 MB, free: 15.04 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001908/0.4886, allocations: 354.4 kB / 450 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002129/0.4889, allocations: 104.6 kB / 450.1 MB, free: 14.65 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003093/0.4892, allocations: 217.5 kB / 450.3 MB, free: 14.45 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001968/0.4911, allocations: 0.6755 MB / 451 MB, free: 14.02 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.4912, allocations: 1.375 kB / 451 MB, free: 14.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008931/0.4921, allocations: 448.7 kB / 451.4 MB, free: 13.79 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.267e-05/0.4921, allocations: 9.875 kB / 451.4 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.4921, allocations: 3.344 kB / 451.4 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.982e-05/0.4922, allocations: 7.375 kB / 451.4 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004335/0.4926, allocations: 110.1 kB / 451.6 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.617e-05/0.4926, allocations: 4.656 kB / 451.6 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001935/0.4928, allocations: 51.42 kB / 451.6 MB, free: 13.72 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-05/0.4929, allocations: 22.33 kB / 451.6 MB, free: 13.71 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 (51): * Single equations (assignments): 51 * 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.0003092/0.4932, allocations: 195.4 kB / 451.8 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.627e-05/0.4933, allocations: 40.81 kB / 451.9 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006941/0.494, allocations: 334.1 kB / 452.2 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/0.494, allocations: 3.438 kB / 452.2 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.494, allocations: 11.91 kB / 452.2 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.494, allocations: 1.281 kB / 452.2 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005125/0.4945, allocations: 397.2 kB / 452.6 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.4946, allocations: 1.125 kB / 452.6 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004025/0.495, allocations: 74.97 kB / 452.7 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/0.495, allocations: 5.156 kB / 452.7 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.235e-05/0.495, allocations: 12.56 kB / 452.7 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.495, allocations: 5.094 kB / 452.7 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.663e-06/0.495, allocations: 5.234 kB / 452.7 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009139/0.496, allocations: 0.523 MB / 453.2 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.4961, allocations: 120.5 kB / 453.3 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.069e-05/0.4961, allocations: 12.41 kB / 453.3 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.4963, allocations: 13.33 kB / 453.4 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.077e-05/0.4964, allocations: 25.62 kB / 453.4 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.4964, allocations: 5.438 kB / 453.4 MB, free: 12.46 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004279/0.4969, allocations: 280.4 kB / 453.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4969, allocations: 0 / 453.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004314/0.4973, allocations: 68.47 kB / 453.7 MB, free: 12.27 MB / 334.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 (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.0001757/0.4975, allocations: 114.2 kB / 453.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007079/0.4982, allocations: 310.9 kB / 454.1 MB, free: 12.03 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4982, allocations: 1.375 kB / 454.1 MB, free: 12.03 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000258/0.4985, allocations: 128.1 kB / 454.3 MB, free: 11.98 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004437/0.4989, allocations: 42.5 kB / 454.3 MB, free: 11.95 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001603/0.5006, allocations: 0.8248 MB / 455.1 MB, free: 11.41 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005398/0.5011, allocations: 0.8374 MB / 456 MB, free: 10.65 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002043/0.5013, allocations: 80.31 kB / 456.1 MB, free: 10.62 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.27e-05/0.5014, allocations: 30.09 kB / 456.1 MB, free: 10.61 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.5014, allocations: 0 / 456.1 MB, free: 10.61 MB / 334.1 MB Notification: Performance of Templates: time 0.007815/0.5093, allocations: 2.564 MB / 458.6 MB, free: 9.352 MB / 334.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.makefile (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)