Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_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.TestPID_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestPID_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009567/0.0009566, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001417/0.001418, allocations: 172.7 kB / 15.95 MB, free: 208 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.535/1.535, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05584/0.05584, allocations: 10.75 MB / 281.1 MB, free: 10.54 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.0004977/0.0004977, allocations: 12 kB / 341.6 MB, free: 23.84 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1034, allocations: 50 MB / 391.6 MB, free: 5.766 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_bias): time 0.002577/0.106, allocations: 1.809 MB / 393.4 MB, free: 3.941 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001289/0.1073, allocations: 0.6553 MB / 394.1 MB, free: 3.285 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000185/0.1075, allocations: 19.81 kB / 394.1 MB, free: 3.266 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002123/0.1078, allocations: 35.66 kB / 394.1 MB, free: 3.23 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001899/0.108, allocations: 31.73 kB / 394.2 MB, free: 3.199 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005946/0.1086, allocations: 259.5 kB / 394.4 MB, free: 2.945 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006024/0.1092, allocations: 500 kB / 394.9 MB, free: 2.453 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002091/0.1094, allocations: 84.95 kB / 395 MB, free: 2.367 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002376/0.1096, allocations: 195.2 kB / 395.2 MB, free: 2.176 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002548/0.1099, allocations: 183.1 kB / 395.4 MB, free: 1.996 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.256e-05/0.11, allocations: 16 kB / 395.4 MB, free: 1.98 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.662e-05/0.11, allocations: 12 kB / 395.4 MB, free: 1.969 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001435/0.1101, allocations: 115.6 kB / 395.5 MB, free: 1.855 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.263e-05/0.1102, allocations: 81.45 kB / 395.6 MB, free: 1.77 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002774/0.1105, allocations: 283.6 kB / 395.9 MB, free: 1.492 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.1105, allocations: 0 / 395.9 MB, free: 1.492 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1105, allocations: 0 / 395.9 MB, free: 1.492 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.1105, allocations: 0 / 395.9 MB, free: 1.492 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001179/0.1117, allocations: 0.7243 MB / 396.6 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.1118, allocations: 12.03 kB / 396.6 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.48e-05/0.1119, allocations: 55.3 kB / 396.7 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004767/0.1124, allocations: 388.9 kB / 397 MB, free: 240 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.878e-05/0.1124, allocations: 80.41 kB / 397.1 MB, free: 148 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.892e-05/0.1125, allocations: 43.89 kB / 397.2 MB, free: 104 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006978/0.1132, allocations: 464.6 kB / 397.6 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.436e-05/0.1133, allocations: 8 kB / 397.6 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.192e-05/0.1133, allocations: 16 kB / 397.6 MB, free: 15.6 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.1133, allocations: 8 kB / 397.6 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005837/0.1139, allocations: 363.7 kB / 398 MB, free: 15.24 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002436/0.1164, allocations: 1.709 MB / 399.7 MB, free: 13.44 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007709/0.1171, allocations: 295.3 kB / 400 MB, free: 13.14 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000252/0.1174, allocations: 173.3 kB / 400.2 MB, free: 12.97 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.595e-05/0.1174, allocations: 4.281 kB / 400.2 MB, free: 12.97 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.1175, allocations: 42.78 kB / 400.2 MB, free: 12.92 MB / 302.1 MB Notification: Performance of pre-optimization done (n=33): time 1.263e-06/0.1175, allocations: 0 / 400.2 MB, free: 12.92 MB / 302.1 MB Notification: Performance of matching and sorting (n=33): time 0.0007773/0.1183, allocations: 471.7 kB / 400.7 MB, free: 12.45 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/0.1183, allocations: 55.41 kB / 400.7 MB, free: 12.39 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000391/0.1187, allocations: 413.8 kB / 401.1 MB, free: 11.98 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.157e-05/0.1188, allocations: 33.7 kB / 401.2 MB, free: 11.94 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001747/0.1189, allocations: 259.9 kB / 401.4 MB, free: 11.68 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.699e-05/0.119, allocations: 118.3 kB / 401.5 MB, free: 11.57 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.679e-05/0.1191, allocations: 8 kB / 401.5 MB, free: 11.56 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.1192, allocations: 358.8 kB / 401.9 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002189/0.1194, allocations: 128.9 kB / 402 MB, free: 11.07 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002967/0.1197, allocations: 254.7 kB / 402.3 MB, free: 10.78 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002918/0.12, allocations: 185.6 kB / 402.4 MB, free: 10.6 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.12, allocations: 4 kB / 402.4 MB, free: 10.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0007774/0.1208, allocations: 0.5178 MB / 403 MB, free: 10.07 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.1209, allocations: 8 kB / 403 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.1209, allocations: 4 kB / 403 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.1209, allocations: 4 kB / 403 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004657/0.1214, allocations: 127.8 kB / 403.1 MB, free: 9.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/0.1214, allocations: 12.27 kB / 403.1 MB, free: 9.918 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001846/0.1216, allocations: 59.52 kB / 403.2 MB, free: 9.859 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.821e-05/0.1216, allocations: 20 kB / 403.2 MB, free: 9.84 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 (61): * Single equations (assignments): 61 * 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.0002553/0.1219, allocations: 211.4 kB / 403.4 MB, free: 9.625 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.725e-05/0.1219, allocations: 39.53 kB / 403.4 MB, free: 9.586 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000716/0.1227, allocations: 417.4 kB / 403.8 MB, free: 9.168 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.1227, allocations: 8 kB / 403.9 MB, free: 9.16 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.1227, allocations: 7.891 kB / 403.9 MB, free: 9.152 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.1227, allocations: 3.984 kB / 403.9 MB, free: 9.148 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004836/0.1232, allocations: 449.1 kB / 404.3 MB, free: 8.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.1232, allocations: 3.984 kB / 404.3 MB, free: 8.656 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000492/0.1237, allocations: 95.88 kB / 404.4 MB, free: 8.562 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.1237, allocations: 8 kB / 404.4 MB, free: 8.555 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.9e-05/0.1238, allocations: 8 kB / 404.4 MB, free: 8.547 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.1238, allocations: 0 / 404.4 MB, free: 8.547 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1238, allocations: 0 / 404.4 MB, free: 8.547 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008278/0.1246, allocations: 0.625 MB / 405 MB, free: 7.898 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.471e-05/0.1247, allocations: 128.4 kB / 405.2 MB, free: 7.754 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.448e-05/0.1248, allocations: 11.94 kB / 405.2 MB, free: 7.742 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.1249, allocations: 15.98 kB / 405.2 MB, free: 7.727 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.5e-05/0.125, allocations: 27.92 kB / 405.2 MB, free: 7.699 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/0.125, allocations: 11.98 kB / 405.2 MB, free: 7.688 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002395/0.1253, allocations: 291.1 kB / 405.5 MB, free: 7.406 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1253, allocations: 0 / 405.5 MB, free: 7.406 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000322/0.1256, allocations: 79.75 kB / 405.6 MB, free: 7.328 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 13 (R.Iaction,R.Fder,R_Bias.Iaction,R_Bias.Fder,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 (37): * Single equations (assignments): 37 * 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.000107/0.1257, allocations: 107.8 kB / 405.7 MB, free: 7.215 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005895/0.1263, allocations: 375.9 kB / 406.1 MB, free: 6.848 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1263, allocations: 0 / 406.1 MB, free: 6.848 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002449/0.1266, allocations: 172.2 kB / 406.2 MB, free: 6.68 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.1269, allocations: 45.55 kB / 406.3 MB, free: 6.633 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/0.1283, allocations: 1.091 MB / 407.4 MB, free: 5.512 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004223/0.1287, allocations: 0.8586 MB / 408.2 MB, free: 4.629 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002568/0.129, allocations: 83.36 kB / 408.3 MB, free: 4.547 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.991e-05/0.1291, allocations: 35.44 kB / 408.3 MB, free: 4.512 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1291, allocations: 0 / 408.3 MB, free: 4.512 MB / 302.1 MB Notification: Performance of Templates: time 0.00587/0.135, allocations: 2.574 MB / 410.9 MB, free: 1.938 MB / 302.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.makefile Environment - environmentSimulation: (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe 2>&1) Environment - environmentSimulation: