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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001074, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.00154/0.00154, allocations: 168.7 kB / 15.95 MB, free: 204 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.565/1.565, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.0562/0.0562, allocations: 10.75 MB / 281.1 MB, free: 10.55 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.0005345/0.0005348, allocations: 12 kB / 341.6 MB, free: 23.87 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0909/0.09144, allocations: 50.01 MB / 391.6 MB, free: 5.785 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_bias): time 0.002435/0.09391, allocations: 1.73 MB / 393.4 MB, free: 4.043 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000877/0.09482, allocations: 394.9 kB / 393.8 MB, free: 3.656 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001903/0.09504, allocations: 11.94 kB / 393.8 MB, free: 3.645 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001769/0.09522, allocations: 39.66 kB / 393.8 MB, free: 3.605 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.281e-05/0.09533, allocations: 15.81 kB / 393.8 MB, free: 3.59 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005379/0.09587, allocations: 151.7 kB / 394 MB, free: 3.441 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005217/0.09641, allocations: 403.3 kB / 394.4 MB, free: 3.047 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001862/0.09661, allocations: 72.64 kB / 394.4 MB, free: 2.977 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002407/0.09685, allocations: 135.4 kB / 394.6 MB, free: 2.844 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002323/0.09709, allocations: 147.3 kB / 394.7 MB, free: 2.699 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.08e-05/0.09715, allocations: 12 kB / 394.7 MB, free: 2.688 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.678e-05/0.0972, allocations: 12 kB / 394.7 MB, free: 2.676 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.09732, allocations: 107.6 kB / 394.8 MB, free: 2.57 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.518e-05/0.09741, allocations: 81.39 kB / 394.9 MB, free: 2.484 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002454/0.09766, allocations: 239.8 kB / 395.1 MB, free: 2.25 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.09767, allocations: 0 / 395.1 MB, free: 2.25 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.09768, allocations: 8 kB / 395.2 MB, free: 2.242 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.237e-05/0.0977, allocations: 0 / 395.2 MB, free: 2.242 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001113/0.09882, allocations: 0.6312 MB / 395.8 MB, free: 1.562 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.09887, allocations: 12.03 kB / 395.8 MB, free: 1.551 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.644e-05/0.09898, allocations: 51.3 kB / 395.9 MB, free: 1.5 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004639/0.09945, allocations: 346.8 kB / 396.2 MB, free: 1.125 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.344e-05/0.09949, allocations: 24.66 kB / 396.2 MB, free: 1.098 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.992e-05/0.09956, allocations: 35.91 kB / 396.2 MB, free: 1.062 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006675/0.1002, allocations: 411.5 kB / 396.7 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.297e-05/0.1003, allocations: 0 / 396.7 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.277e-05/0.1003, allocations: 12 kB / 396.7 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.1003, allocations: 8 kB / 396.7 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005468/0.1009, allocations: 302.4 kB / 397 MB, free: 328 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002126/0.103, allocations: 1.505 MB / 398.5 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000403/0.1034, allocations: 183 kB / 398.6 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001858/0.1036, allocations: 121.2 kB / 398.8 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.859e-05/0.1037, allocations: 4.172 kB / 398.8 MB, free: 14.42 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.1037, allocations: 34.75 kB / 398.8 MB, free: 14.38 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.724e-06/0.1037, allocations: 0 / 398.8 MB, free: 14.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006258/0.1043, allocations: 331.8 kB / 399.1 MB, free: 14.05 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.1044, allocations: 55.41 kB / 399.2 MB, free: 13.98 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003965/0.1048, allocations: 389.5 kB / 399.6 MB, free: 13.59 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.222e-05/0.1048, allocations: 33.7 kB / 399.6 MB, free: 13.55 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001658/0.105, allocations: 239.9 kB / 399.8 MB, free: 13.31 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.721e-05/0.1051, allocations: 74.91 kB / 399.9 MB, free: 13.24 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.428e-05/0.1051, allocations: 12 kB / 399.9 MB, free: 13.23 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.1053, allocations: 354.8 kB / 400.3 MB, free: 12.87 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001922/0.1055, allocations: 96.25 kB / 400.4 MB, free: 12.77 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002335/0.1057, allocations: 214.3 kB / 400.6 MB, free: 12.52 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000243/0.1059, allocations: 136.7 kB / 400.7 MB, free: 12.38 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.106, allocations: 0 / 400.7 MB, free: 12.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006322/0.1066, allocations: 425.2 kB / 401.1 MB, free: 11.96 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.1066, allocations: 7.984 kB / 401.1 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.647e-06/0.1066, allocations: 4 kB / 401.1 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.1067, allocations: 8 kB / 401.1 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003208/0.107, allocations: 91.83 kB / 401.2 MB, free: 11.85 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.768e-05/0.107, allocations: 4 kB / 401.2 MB, free: 11.85 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/0.1072, allocations: 47.58 kB / 401.3 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.406e-05/0.1072, allocations: 23.92 kB / 401.3 MB, free: 11.78 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 (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.0002519/0.1075, allocations: 199.6 kB / 401.5 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.733e-05/0.1076, allocations: 35.53 kB / 401.5 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005331/0.1081, allocations: 292.9 kB / 401.8 MB, free: 11.24 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/0.1081, allocations: 4 kB / 401.8 MB, free: 11.24 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.1081, allocations: 3.938 kB / 401.8 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.1081, allocations: 3.984 kB / 401.8 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004163/0.1086, allocations: 389.2 kB / 402.2 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.1086, allocations: 0 / 402.2 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003342/0.1089, allocations: 67.89 kB / 402.3 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.1089, allocations: 0 / 402.3 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.701e-05/0.109, allocations: 8 kB / 402.3 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.109, allocations: 0 / 402.3 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.109, allocations: 0 / 402.3 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006751/0.1097, allocations: 498.6 kB / 402.8 MB, free: 10.22 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.781e-05/0.1098, allocations: 116.7 kB / 402.9 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.287e-05/0.1098, allocations: 8 kB / 402.9 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.1099, allocations: 11.98 kB / 402.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.428e-05/0.11, allocations: 19.97 kB / 402.9 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/0.11, allocations: 7.984 kB / 402.9 MB, free: 10.04 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002821/0.1103, allocations: 271.1 kB / 403.2 MB, free: 9.777 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1103, allocations: 4 kB / 403.2 MB, free: 9.773 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003504/0.1107, allocations: 63.94 kB / 403.3 MB, free: 9.711 MB / 302.1 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 () * Number of clocked 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.0001296/0.1108, allocations: 99.25 kB / 403.4 MB, free: 9.605 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005327/0.1114, allocations: 291.7 kB / 403.6 MB, free: 9.32 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1114, allocations: 0 / 403.6 MB, free: 9.32 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000191/0.1116, allocations: 112.8 kB / 403.7 MB, free: 9.211 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003702/0.112, allocations: 43.17 kB / 403.8 MB, free: 9.172 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/0.1133, allocations: 0.8772 MB / 404.7 MB, free: 8.266 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004296/0.1137, allocations: 0.8307 MB / 405.5 MB, free: 7.406 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001873/0.1139, allocations: 74.91 kB / 405.6 MB, free: 7.332 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.931e-05/0.114, allocations: 27.44 kB / 405.6 MB, free: 7.305 MB / 302.1 MB Notification: Performance of SimCode: time 5.62e-07/0.114, allocations: 0 / 405.6 MB, free: 7.305 MB / 302.1 MB Notification: Performance of Templates: time 0.005699/0.1197, allocations: 2.041 MB / 407.6 MB, free: 5.262 MB / 302.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: