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.0009364/0.0009364, allocations: 90.75 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.001236/0.001236, 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.526/1.526, allocations: 205.4 MB / 222.1 MB, free: 5.469 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05573/0.05573, allocations: 10.76 MB / 281.1 MB, free: 10.42 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.0004697/0.0004698, allocations: 16 kB / 341.6 MB, free: 23.82 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0976/0.09808, allocations: 50.01 MB / 391.6 MB, free: 5.746 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_bias): time 0.002962/0.1011, allocations: 1.723 MB / 393.4 MB, free: 4.012 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001322/0.1024, allocations: 490.7 kB / 393.8 MB, free: 3.531 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001875/0.1026, allocations: 7.938 kB / 393.8 MB, free: 3.523 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002156/0.1029, allocations: 39.66 kB / 393.9 MB, free: 3.484 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001028/0.103, allocations: 15.81 kB / 393.9 MB, free: 3.469 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007314/0.1037, allocations: 199.6 kB / 394.1 MB, free: 3.273 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006583/0.1044, allocations: 427.4 kB / 394.5 MB, free: 2.855 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000223/0.1046, allocations: 68.58 kB / 394.6 MB, free: 2.789 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002317/0.1049, allocations: 143.4 kB / 394.7 MB, free: 2.648 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003223/0.1052, allocations: 167.2 kB / 394.9 MB, free: 2.484 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.449e-05/0.1053, allocations: 12 kB / 394.9 MB, free: 2.473 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.74e-05/0.1054, allocations: 16 kB / 394.9 MB, free: 2.457 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001787/0.1055, allocations: 107.6 kB / 395 MB, free: 2.352 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.985e-05/0.1056, allocations: 77.52 kB / 395.1 MB, free: 2.27 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003391/0.106, allocations: 255.7 kB / 395.3 MB, free: 2.02 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.106, allocations: 0 / 395.3 MB, free: 2.02 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.106, allocations: 0 / 395.3 MB, free: 2.02 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.106, allocations: 0 / 395.3 MB, free: 2.02 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.001454/0.1075, allocations: 0.6541 MB / 396 MB, free: 1.32 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.1076, allocations: 8.031 kB / 396 MB, free: 1.312 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001348/0.1077, allocations: 55.3 kB / 396.1 MB, free: 1.258 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006568/0.1084, allocations: 346.8 kB / 396.4 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.662e-05/0.1085, allocations: 80.05 kB / 396.5 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.1086, allocations: 39.91 kB / 396.5 MB, free: 0.75 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00098/0.1096, allocations: 411.5 kB / 396.9 MB, free: 336 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.284e-05/0.1097, allocations: 8 kB / 396.9 MB, free: 328 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.456e-05/0.1097, allocations: 20 kB / 396.9 MB, free: 308 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/0.1097, allocations: 11.94 kB / 397 MB, free: 296 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008759/0.1106, allocations: 310.3 kB / 397.3 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0034/0.114, allocations: 1.587 MB / 398.8 MB, free: 14.31 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005412/0.1146, allocations: 175.1 kB / 399 MB, free: 14.13 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002996/0.1149, allocations: 129.2 kB / 399.1 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.581e-05/0.115, allocations: 8.125 kB / 399.1 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.115, allocations: 34.73 kB / 399.2 MB, free: 13.95 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.983e-06/0.115, allocations: 0 / 399.2 MB, free: 13.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009986/0.116, allocations: 351.8 kB / 399.5 MB, free: 13.61 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.1161, allocations: 51.41 kB / 399.6 MB, free: 13.54 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006134/0.1167, allocations: 401.5 kB / 400 MB, free: 13.14 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.845e-05/0.1168, allocations: 29.7 kB / 400 MB, free: 13.11 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002328/0.117, allocations: 235.9 kB / 400.2 MB, free: 12.87 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.05e-05/0.1171, allocations: 86.8 kB / 400.3 MB, free: 12.78 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.934e-05/0.1171, allocations: 4 kB / 400.3 MB, free: 12.78 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001868/0.1173, allocations: 354.8 kB / 400.7 MB, free: 12.42 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003106/0.1177, allocations: 108.7 kB / 400.8 MB, free: 12.31 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004082/0.1181, allocations: 216.9 kB / 401 MB, free: 12.05 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003945/0.1185, allocations: 149 kB / 401.1 MB, free: 11.9 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.1185, allocations: 0 / 401.1 MB, free: 11.9 MB / 302.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001048/0.1196, allocations: 448.1 kB / 401.6 MB, free: 11.46 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/0.1196, allocations: 11.97 kB / 401.6 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.1196, allocations: 8 kB / 401.6 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/0.1197, allocations: 4 kB / 401.6 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000543/0.1202, allocations: 99.81 kB / 401.7 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.729e-05/0.1202, allocations: 8 kB / 401.7 MB, free: 11.33 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002319/0.1205, allocations: 43.58 kB / 401.7 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.897e-05/0.1205, allocations: 19.95 kB / 401.8 MB, free: 11.27 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 (48): * Single equations (assignments): 48 * 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.0003661/0.1209, allocations: 203.5 kB / 402 MB, free: 11.06 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.121, allocations: 35.53 kB / 402 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007953/0.1218, allocations: 304.9 kB / 402.3 MB, free: 10.72 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.1219, allocations: 0 / 402.3 MB, free: 10.72 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.1219, allocations: 4 kB / 402.3 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.1219, allocations: 3.984 kB / 402.3 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007065/0.1226, allocations: 389.2 kB / 402.7 MB, free: 10.28 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1226, allocations: 0 / 402.7 MB, free: 10.28 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006021/0.1232, allocations: 79.88 kB / 402.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.1233, allocations: 4 kB / 402.8 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.68e-05/0.1233, allocations: 8 kB / 402.8 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.1233, allocations: 0 / 402.8 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.1233, allocations: 0 / 402.8 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.1244, allocations: 0.5101 MB / 403.3 MB, free: 9.664 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/0.1246, allocations: 112.6 kB / 403.4 MB, free: 9.535 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.755e-05/0.1246, allocations: 8 kB / 403.4 MB, free: 9.527 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002378/0.1249, allocations: 16.09 kB / 403.4 MB, free: 9.512 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.154e-05/0.125, allocations: 23.91 kB / 403.4 MB, free: 9.488 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.06e-05/0.125, allocations: 11.98 kB / 403.4 MB, free: 9.477 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004217/0.1254, allocations: 271.1 kB / 403.7 MB, free: 9.211 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1255, allocations: 0 / 403.7 MB, free: 9.211 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006336/0.1261, allocations: 67.84 kB / 403.8 MB, free: 9.145 MB / 302.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 (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.0001811/0.1263, allocations: 104 kB / 403.9 MB, free: 9.035 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007657/0.1271, allocations: 291.6 kB / 404.2 MB, free: 8.75 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.1271, allocations: 0 / 404.2 MB, free: 8.75 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003011/0.1274, allocations: 120.8 kB / 404.3 MB, free: 8.633 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005745/0.128, allocations: 45.44 kB / 404.3 MB, free: 8.59 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001771/0.1298, allocations: 0.9379 MB / 405.3 MB, free: 7.625 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005585/0.1303, allocations: 0.8301 MB / 406.1 MB, free: 6.766 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003006/0.1307, allocations: 75.22 kB / 406.2 MB, free: 6.691 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.1308, allocations: 31.44 kB / 406.2 MB, free: 6.66 MB / 302.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1308, allocations: 4 kB / 406.2 MB, free: 6.656 MB / 302.1 MB Notification: Performance of Templates: time 0.008003/0.1388, allocations: 2.122 MB / 408.3 MB, free: 4.535 MB / 302.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: