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.001346/0.001346, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001569/0.001569, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.447/1.447, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05723/0.05723, allocations: 10.73 MB / 281.3 MB, free: 1.297 MB / 222.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.001415/0.001415, allocations: 66.89 kB / 391.5 MB, free: 46.01 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08455/0.08598, allocations: 49.04 MB / 440.5 MB, free: 3.816 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_bias): time 0.002536/0.08858, allocations: 2.087 MB / 442.6 MB, free: 1.711 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000816/0.08941, allocations: 0.5025 MB / 443.1 MB, free: 1.207 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001453/0.08957, allocations: 15.88 kB / 443.1 MB, free: 1.191 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001803/0.08977, allocations: 47.47 kB / 443.2 MB, free: 1.145 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.117e-05/0.08986, allocations: 35.61 kB / 443.2 MB, free: 1.109 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005186/0.09038, allocations: 235.5 kB / 443.5 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003575/0.09075, allocations: 499.5 kB / 443.9 MB, free: 400 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001612/0.09092, allocations: 88.62 kB / 444 MB, free: 312 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001374/0.09107, allocations: 175.4 kB / 444.2 MB, free: 136 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000251/0.09132, allocations: 179.2 kB / 444.4 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.705e-05/0.09139, allocations: 31.98 kB / 444.4 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.923e-05/0.09145, allocations: 28 kB / 444.4 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001455/0.0916, allocations: 127.6 kB / 444.6 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001472/0.09175, allocations: 174.9 kB / 444.7 MB, free: 15.6 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003556/0.09211, allocations: 362.5 kB / 445.1 MB, free: 15.25 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.09212, allocations: 0 / 445.1 MB, free: 15.25 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.09213, allocations: 0 / 445.1 MB, free: 15.25 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.09214, allocations: 0 / 445.1 MB, free: 15.25 MB / 334.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.001166/0.09331, allocations: 0.7247 MB / 445.8 MB, free: 14.46 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.09336, allocations: 11.89 kB / 445.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.506e-05/0.09345, allocations: 52.38 kB / 445.9 MB, free: 14.4 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004896/0.09395, allocations: 379.6 kB / 446.2 MB, free: 13.99 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.11e-05/0.09405, allocations: 84.61 kB / 446.3 MB, free: 13.9 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.47e-05/0.09412, allocations: 40.38 kB / 446.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006839/0.09481, allocations: 408.1 kB / 446.8 MB, free: 13.44 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.246e-05/0.09485, allocations: 3.938 kB / 446.8 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.316e-05/0.09489, allocations: 15.94 kB / 446.8 MB, free: 13.42 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.0949, allocations: 8 kB / 446.8 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000612/0.09552, allocations: 306.3 kB / 447.1 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002352/0.09789, allocations: 1.555 MB / 448.6 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004119/0.09831, allocations: 182.9 kB / 448.8 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001999/0.09853, allocations: 128.7 kB / 448.9 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.543e-05/0.09857, allocations: 4 kB / 448.9 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.0986, allocations: 38.55 kB / 449 MB, free: 11.11 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.723e-06/0.09861, allocations: 4 kB / 449 MB, free: 11.11 MB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.0006952/0.09931, allocations: 334.1 kB / 449.3 MB, free: 10.77 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/0.09936, allocations: 55.41 kB / 449.4 MB, free: 10.71 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003763/0.09974, allocations: 401.6 kB / 449.8 MB, free: 10.3 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.09977, allocations: 25.7 kB / 449.8 MB, free: 10.27 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/0.09993, allocations: 236 kB / 450 MB, free: 10.04 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.622e-05/0.1, allocations: 94.64 kB / 450.1 MB, free: 9.945 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.964e-05/0.1001, allocations: 74.02 kB / 450.2 MB, free: 9.863 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.1002, allocations: 350.7 kB / 450.5 MB, free: 9.512 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001857/0.1004, allocations: 100.7 kB / 450.6 MB, free: 9.414 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002507/0.1007, allocations: 216.9 kB / 450.8 MB, free: 9.152 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001542/0.1022, allocations: 0.6245 MB / 451.5 MB, free: 8.477 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.1023, allocations: 0 / 451.5 MB, free: 8.477 MB / 334.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000677/0.1029, allocations: 430.4 kB / 451.9 MB, free: 8.051 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.103, allocations: 11.94 kB / 451.9 MB, free: 8.039 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.103, allocations: 3.984 kB / 451.9 MB, free: 8.035 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.103, allocations: 8 kB / 451.9 MB, free: 8.027 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004005/0.1034, allocations: 99.81 kB / 452 MB, free: 7.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.488e-05/0.1035, allocations: 8.406 kB / 452 MB, free: 7.922 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001775/0.1036, allocations: 55.45 kB / 452.1 MB, free: 7.867 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.049e-05/0.1037, allocations: 19.98 kB / 452.1 MB, free: 7.848 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.0002725/0.104, allocations: 188 kB / 452.3 MB, free: 7.656 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.221e-05/0.104, allocations: 35.53 kB / 452.3 MB, free: 7.621 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005652/0.1046, allocations: 300.8 kB / 452.6 MB, free: 7.32 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.1046, allocations: 0 / 452.6 MB, free: 7.32 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1046, allocations: 4 kB / 452.6 MB, free: 7.316 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.1046, allocations: 3.938 kB / 452.6 MB, free: 7.312 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00044/0.1051, allocations: 393.2 kB / 453 MB, free: 6.879 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.1051, allocations: 4 kB / 453 MB, free: 6.875 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004137/0.1055, allocations: 67.95 kB / 453.1 MB, free: 6.809 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.1055, allocations: 0 / 453.1 MB, free: 6.809 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.882e-05/0.1056, allocations: 11.98 kB / 453.1 MB, free: 6.797 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-05/0.1056, allocations: 4 kB / 453.1 MB, free: 6.793 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.1056, allocations: 0 / 453.1 MB, free: 6.793 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006911/0.1063, allocations: 0.4905 MB / 453.6 MB, free: 6.285 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.681e-05/0.1064, allocations: 116.6 kB / 453.7 MB, free: 6.152 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.381e-05/0.1064, allocations: 8 kB / 453.7 MB, free: 6.145 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/0.1066, allocations: 15.98 kB / 453.7 MB, free: 6.129 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.339e-05/0.1066, allocations: 27.91 kB / 453.7 MB, free: 6.102 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.489e-05/0.1067, allocations: 4 kB / 453.7 MB, free: 6.098 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002649/0.1069, allocations: 271.1 kB / 454 MB, free: 5.836 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.107, allocations: 3.938 kB / 454 MB, free: 5.832 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000335/0.1073, allocations: 63.84 kB / 454.1 MB, free: 5.77 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.0001264/0.1074, allocations: 122.1 kB / 454.2 MB, free: 5.641 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005504/0.108, allocations: 284.9 kB / 454.5 MB, free: 5.363 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.108, allocations: 0 / 454.5 MB, free: 5.363 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001888/0.1082, allocations: 123.7 kB / 454.6 MB, free: 5.242 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/0.1086, allocations: 44.81 kB / 454.6 MB, free: 5.195 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/0.1099, allocations: 0.845 MB / 455.5 MB, free: 4.316 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005139/0.1104, allocations: 0.8302 MB / 456.3 MB, free: 3.461 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.1106, allocations: 35.44 kB / 456.3 MB, free: 3.426 MB / 334.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1106, allocations: 0 / 456.3 MB, free: 3.426 MB / 334.1 MB Notification: Performance of Templates: time 0.00791/0.1185, allocations: 4.333 MB / 460.7 MB, free: 15.09 MB / 350.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)