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.001024/0.001024, allocations: 86.88 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.00124/0.00124, 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.567/1.567, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05391/0.05391, allocations: 10.73 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.0005144/0.0005144, allocations: 12 kB / 341.6 MB, free: 23.84 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0974/0.09792, allocations: 50 MB / 391.6 MB, free: 5.77 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPI_bias): time 0.002297/0.1003, allocations: 1.746 MB / 393.4 MB, free: 4.012 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001149/0.1014, allocations: 0.5144 MB / 393.9 MB, free: 3.496 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002324/0.1017, allocations: 11.88 kB / 393.9 MB, free: 3.484 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001991/0.1019, allocations: 35.66 kB / 393.9 MB, free: 3.449 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001183/0.102, allocations: 31.72 kB / 394 MB, free: 3.418 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007499/0.1028, allocations: 199.7 kB / 394.2 MB, free: 3.223 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006241/0.1034, allocations: 447.8 kB / 394.6 MB, free: 2.781 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002198/0.1037, allocations: 64.64 kB / 394.7 MB, free: 2.719 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002852/0.104, allocations: 159.3 kB / 394.8 MB, free: 2.562 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003319/0.1043, allocations: 167.2 kB / 395 MB, free: 2.398 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.567e-05/0.1044, allocations: 15.94 kB / 395 MB, free: 2.383 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.419e-05/0.1044, allocations: 12 kB / 395 MB, free: 2.371 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001284/0.1046, allocations: 103.7 kB / 395.1 MB, free: 2.27 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.248e-05/0.1047, allocations: 85.45 kB / 395.2 MB, free: 2.18 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002522/0.1049, allocations: 255.7 kB / 395.4 MB, free: 1.93 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.105, allocations: 0 / 395.4 MB, free: 1.93 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.105, allocations: 0 / 395.4 MB, free: 1.93 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.351e-05/0.105, allocations: 0 / 395.4 MB, free: 1.93 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.001183/0.1062, allocations: 0.6582 MB / 396.1 MB, free: 1.223 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.1062, allocations: 8.031 kB / 396.1 MB, free: 1.215 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.541e-05/0.1063, allocations: 51.39 kB / 396.2 MB, free: 1.164 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005428/0.1069, allocations: 354.6 kB / 396.5 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.556e-05/0.1069, allocations: 21 kB / 396.5 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.844e-05/0.107, allocations: 43.98 kB / 396.6 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007499/0.1078, allocations: 420 kB / 397 MB, free: 288 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.632e-05/0.1078, allocations: 7.844 kB / 397 MB, free: 280 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.683e-05/0.1079, allocations: 16 kB / 397 MB, free: 264 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.53e-05/0.1079, allocations: 8 kB / 397 MB, free: 256 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006091/0.1085, allocations: 314.4 kB / 397.3 MB, free: 15.94 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002179/0.1107, allocations: 1.547 MB / 398.9 MB, free: 14.32 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006883/0.1114, allocations: 234.6 kB / 399.1 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002167/0.1116, allocations: 120.8 kB / 399.2 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.901e-05/0.1117, allocations: 8 kB / 399.2 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.1117, allocations: 38.55 kB / 399.3 MB, free: 13.9 MB / 302.1 MB Notification: Performance of pre-optimization done (n=25): time 1.483e-06/0.1117, allocations: 4 kB / 399.3 MB, free: 13.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007648/0.1125, allocations: 370 kB / 399.6 MB, free: 13.53 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.1125, allocations: 55.41 kB / 399.7 MB, free: 13.46 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004006/0.1129, allocations: 397.5 kB / 400.1 MB, free: 13.07 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.113, allocations: 29.7 kB / 400.1 MB, free: 13.03 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/0.1132, allocations: 240 kB / 400.3 MB, free: 12.79 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.273e-05/0.1132, allocations: 98.56 kB / 400.4 MB, free: 12.7 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.565e-05/0.1133, allocations: 8 kB / 400.4 MB, free: 12.69 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.1134, allocations: 354.8 kB / 400.8 MB, free: 12.33 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002046/0.1136, allocations: 104.4 kB / 400.9 MB, free: 12.23 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002811/0.1139, allocations: 224.5 kB / 401.1 MB, free: 11.96 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002772/0.1142, allocations: 169 kB / 401.3 MB, free: 11.79 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.1142, allocations: 4 kB / 401.3 MB, free: 11.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007298/0.115, allocations: 456.4 kB / 401.7 MB, free: 11.33 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.115, allocations: 4 kB / 401.7 MB, free: 11.33 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.115, allocations: 4 kB / 401.7 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.115, allocations: 8 kB / 401.7 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003836/0.1154, allocations: 108.3 kB / 401.8 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.67e-05/0.1154, allocations: 15.92 kB / 401.8 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001883/0.1156, allocations: 47.58 kB / 401.9 MB, free: 11.15 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.683e-05/0.1157, allocations: 16 kB / 401.9 MB, free: 11.13 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.0002503/0.1159, allocations: 199.5 kB / 402.1 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.82e-05/0.116, allocations: 35.53 kB / 402.1 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006199/0.1166, allocations: 353.7 kB / 402.5 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.1166, allocations: 4 kB / 402.5 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1167, allocations: 0 / 402.5 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.1167, allocations: 3.984 kB / 402.5 MB, free: 10.53 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004393/0.1171, allocations: 397.2 kB / 402.9 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.1171, allocations: 3.953 kB / 402.9 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003935/0.1175, allocations: 83.89 kB / 403 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.1175, allocations: 0 / 403 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.095e-05/0.1176, allocations: 11.98 kB / 403 MB, free: 9.996 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.1176, allocations: 4 kB / 403 MB, free: 9.992 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1176, allocations: 0 / 403 MB, free: 9.992 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007771/0.1184, allocations: 0.5314 MB / 403.5 MB, free: 9.441 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.523e-05/0.1185, allocations: 132.4 kB / 403.6 MB, free: 9.293 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.397e-05/0.1185, allocations: 8 kB / 403.7 MB, free: 9.285 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.1187, allocations: 15.98 kB / 403.7 MB, free: 9.27 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.874e-05/0.1188, allocations: 23.91 kB / 403.7 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/0.1188, allocations: 8 kB / 403.7 MB, free: 9.238 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002691/0.1191, allocations: 275.1 kB / 404 MB, free: 8.969 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1191, allocations: 0 / 404 MB, free: 8.969 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003495/0.1194, allocations: 71.84 kB / 404 MB, free: 8.898 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.0001174/0.1195, allocations: 99.25 kB / 404.1 MB, free: 8.793 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000567/0.1201, allocations: 315.9 kB / 404.4 MB, free: 8.484 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1201, allocations: 4 kB / 404.4 MB, free: 8.48 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000206/0.1203, allocations: 127.9 kB / 404.6 MB, free: 8.355 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003627/0.1207, allocations: 42.3 kB / 404.6 MB, free: 8.316 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.1221, allocations: 0.9521 MB / 405.6 MB, free: 7.34 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004292/0.1225, allocations: 0.8344 MB / 406.4 MB, free: 6.477 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002194/0.1228, allocations: 87.16 kB / 406.5 MB, free: 6.391 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.173e-05/0.1229, allocations: 27.44 kB / 406.5 MB, free: 6.367 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1229, allocations: 4 kB / 406.5 MB, free: 6.363 MB / 302.1 MB Notification: Performance of Templates: time 0.006052/0.1289, allocations: 2.255 MB / 408.8 MB, free: 4.109 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: