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.001062/0.001062, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001401/0.001402, allocations: 188 kB / 16.25 MB, free: 6.625 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.45/1.45, allocations: 205.1 MB / 222.1 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05309/0.05309, allocations: 10.74 MB / 280.2 MB, free: 10.67 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.001351/0.001351, allocations: 59.91 kB / 340 MB, free: 23.7 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1058, allocations: 49.03 MB / 389.1 MB, free: 6.605 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_bias): time 0.003466/0.1093, allocations: 2.154 MB / 391.2 MB, free: 4.434 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001046/0.1104, allocations: 490.7 kB / 391.7 MB, free: 3.953 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001374/0.1106, allocations: 7.938 kB / 391.7 MB, free: 3.945 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002287/0.1108, allocations: 43.64 kB / 391.7 MB, free: 3.902 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001383/0.111, allocations: 19.81 kB / 391.8 MB, free: 3.883 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006333/0.1116, allocations: 223.5 kB / 392 MB, free: 3.664 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005668/0.1122, allocations: 0.4915 MB / 392.5 MB, free: 3.172 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001941/0.1124, allocations: 76.67 kB / 392.5 MB, free: 3.098 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001979/0.1126, allocations: 179.3 kB / 392.7 MB, free: 2.922 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002504/0.1128, allocations: 187.2 kB / 392.9 MB, free: 2.738 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.387e-05/0.1129, allocations: 28 kB / 392.9 MB, free: 2.711 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.525e-05/0.113, allocations: 28 kB / 393 MB, free: 2.684 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001385/0.1131, allocations: 127.6 kB / 393.1 MB, free: 2.559 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001489/0.1133, allocations: 166.9 kB / 393.2 MB, free: 2.395 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004026/0.1137, allocations: 354.9 kB / 393.6 MB, free: 2.047 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1137, allocations: 0 / 393.6 MB, free: 2.047 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1137, allocations: 0 / 393.6 MB, free: 2.047 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.335e-06/0.1137, allocations: 0 / 393.6 MB, free: 2.047 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.001506/0.1152, allocations: 0.7203 MB / 394.3 MB, free: 1.277 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.346e-05/0.1153, allocations: 15.89 kB / 394.3 MB, free: 1.262 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/0.1154, allocations: 48.38 kB / 394.4 MB, free: 1.215 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004989/0.1159, allocations: 367.7 kB / 394.7 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.107e-05/0.116, allocations: 76.62 kB / 394.8 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.504e-05/0.1161, allocations: 36.38 kB / 394.8 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006622/0.1168, allocations: 412 kB / 395.2 MB, free: 276 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.62e-05/0.1168, allocations: 15.78 kB / 395.3 MB, free: 260 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.744e-05/0.1169, allocations: 23.98 kB / 395.3 MB, free: 236 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.1169, allocations: 8 kB / 395.3 MB, free: 228 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005211/0.1174, allocations: 298.4 kB / 395.6 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002443/0.1199, allocations: 1.559 MB / 397.1 MB, free: 14.29 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004283/0.1203, allocations: 182.9 kB / 397.3 MB, free: 14.11 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001892/0.1205, allocations: 124.7 kB / 397.4 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.88e-05/0.1206, allocations: 11.97 kB / 397.5 MB, free: 13.97 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.1206, allocations: 30.56 kB / 397.5 MB, free: 13.93 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 2.404e-06/0.1206, allocations: 0 / 397.5 MB, free: 13.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.000637/0.1212, allocations: 338.6 kB / 397.8 MB, free: 13.59 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.1213, allocations: 59.39 kB / 397.9 MB, free: 13.52 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000391/0.1217, allocations: 401.5 kB / 398.3 MB, free: 13.12 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.1217, allocations: 29.7 kB / 398.3 MB, free: 13.09 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001637/0.1219, allocations: 228 kB / 398.5 MB, free: 12.86 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.75e-05/0.122, allocations: 90.72 kB / 398.6 MB, free: 12.77 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/0.1221, allocations: 73.92 kB / 398.7 MB, free: 12.69 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.1223, allocations: 354.7 kB / 399 MB, free: 12.33 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002052/0.1225, allocations: 104.7 kB / 399.1 MB, free: 12.23 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002421/0.1227, allocations: 212.9 kB / 399.3 MB, free: 11.97 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001564/0.1243, allocations: 0.6326 MB / 400 MB, free: 11.29 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.1243, allocations: 4 kB / 400 MB, free: 11.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006976/0.125, allocations: 426.1 kB / 400.4 MB, free: 10.86 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.099e-05/0.1251, allocations: 11.98 kB / 400.4 MB, free: 10.85 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.1251, allocations: 4 kB / 400.4 MB, free: 10.85 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.811e-05/0.1251, allocations: 4 kB / 400.4 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004026/0.1255, allocations: 95.83 kB / 400.5 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.637e-05/0.1256, allocations: 12.45 kB / 400.5 MB, free: 10.74 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002192/0.1258, allocations: 55.45 kB / 400.6 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.878e-05/0.1258, allocations: 16 kB / 400.6 MB, free: 10.67 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] 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.0003385/0.1262, allocations: 187.6 kB / 400.8 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.409e-05/0.1263, allocations: 39.53 kB / 400.8 MB, free: 10.44 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005913/0.1269, allocations: 304.8 kB / 401.1 MB, free: 10.13 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.1269, allocations: 4 kB / 401.1 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.1269, allocations: 0 / 401.1 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.1269, allocations: 7.922 kB / 401.1 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004489/0.1274, allocations: 389.4 kB / 401.5 MB, free: 9.688 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.1274, allocations: 7.922 kB / 401.5 MB, free: 9.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004151/0.1278, allocations: 67.94 kB / 401.6 MB, free: 9.613 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.1278, allocations: 4 kB / 401.6 MB, free: 9.609 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.675e-05/0.1278, allocations: 8 kB / 401.6 MB, free: 9.602 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.1278, allocations: 0 / 401.6 MB, free: 9.602 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1279, allocations: 0 / 401.6 MB, free: 9.602 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007927/0.1287, allocations: 0.4986 MB / 402.1 MB, free: 9.086 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/0.1288, allocations: 116.6 kB / 402.2 MB, free: 8.953 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.649e-05/0.1288, allocations: 8 kB / 402.2 MB, free: 8.945 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.129, allocations: 7.984 kB / 402.2 MB, free: 8.938 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.032e-05/0.1291, allocations: 23.91 kB / 402.2 MB, free: 8.914 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.1291, allocations: 4 kB / 402.2 MB, free: 8.91 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002587/0.1294, allocations: 275.1 kB / 402.5 MB, free: 8.641 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1294, allocations: 0 / 402.5 MB, free: 8.641 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003563/0.1297, allocations: 67.75 kB / 402.6 MB, free: 8.574 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 (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.0001306/0.1299, allocations: 119.6 kB / 402.7 MB, free: 8.449 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005412/0.1304, allocations: 308.5 kB / 403 MB, free: 8.148 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1304, allocations: 0 / 403 MB, free: 8.148 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001821/0.1306, allocations: 127.7 kB / 403.1 MB, free: 8.023 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003674/0.131, allocations: 45.7 kB / 403.2 MB, free: 7.98 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.1324, allocations: 0.9334 MB / 404.1 MB, free: 7.02 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004526/0.1328, allocations: 0.8379 MB / 404.9 MB, free: 6.152 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002162/0.133, allocations: 75.22 kB / 405 MB, free: 6.078 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.566e-05/0.1331, allocations: 27.44 kB / 405 MB, free: 6.051 MB / 302.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1331, allocations: 0 / 405 MB, free: 6.051 MB / 302.1 MB Notification: Performance of Templates: time 0.006193/0.1393, allocations: 2.307 MB / 407.3 MB, free: 3.742 MB / 302.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)