Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_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.TestPD_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestPD_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001672/0.001672, allocations: 106.7 kB / 16.41 MB, free: 6.484 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.001143/0.001144, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.381/1.381, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05732/0.05732, allocations: 10.74 MB / 281.3 MB, free: 1.297 MB / 222.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.001635/0.001635, allocations: 71.98 kB / 391.5 MB, free: 45.99 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09655/0.09819, allocations: 49.03 MB / 440.5 MB, free: 3.816 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPD_bias): time 0.003366/0.1016, allocations: 2.165 MB / 442.7 MB, free: 1.633 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00195/0.1036, allocations: 1.033 MB / 443.7 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003785/0.104, allocations: 15.88 kB / 443.8 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003335/0.1044, allocations: 83.36 kB / 443.8 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002155/0.1046, allocations: 79.48 kB / 443.9 MB, free: 424 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001191/0.1058, allocations: 315.2 kB / 444.2 MB, free: 112 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00109/0.1069, allocations: 0.5982 MB / 444.8 MB, free: 15.51 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002775/0.1072, allocations: 85 kB / 444.9 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003056/0.1075, allocations: 215.3 kB / 445.1 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004059/0.108, allocations: 239.1 kB / 445.3 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.859e-05/0.108, allocations: 32 kB / 445.4 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002586/0.1083, allocations: 111.9 kB / 445.5 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002155/0.1085, allocations: 163.5 kB / 445.6 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002325/0.1088, allocations: 218.5 kB / 445.9 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006848/0.1095, allocations: 0.4943 MB / 446.4 MB, free: 13.97 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.1095, allocations: 0 / 446.4 MB, free: 13.97 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1095, allocations: 0 / 446.4 MB, free: 13.97 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.1095, allocations: 0 / 446.4 MB, free: 13.97 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001461/0.111, allocations: 0.8627 MB / 447.2 MB, free: 13.05 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/0.111, allocations: 11.89 kB / 447.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001069/0.1112, allocations: 64.27 kB / 447.3 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005949/0.1118, allocations: 433.8 kB / 447.7 MB, free: 12.51 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.451e-05/0.1118, allocations: 29.38 kB / 447.7 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.366e-05/0.1119, allocations: 52.28 kB / 447.8 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007593/0.1127, allocations: 0.5087 MB / 448.3 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.563e-05/0.1127, allocations: 4 kB / 448.3 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.091e-05/0.1127, allocations: 16 kB / 448.3 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.1128, allocations: 8 kB / 448.3 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006232/0.1134, allocations: 391.7 kB / 448.7 MB, free: 11.49 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002627/0.116, allocations: 1.791 MB / 450.5 MB, free: 9.621 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006193/0.1167, allocations: 272.4 kB / 450.8 MB, free: 9.348 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002443/0.1169, allocations: 177.3 kB / 450.9 MB, free: 9.172 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.244e-05/0.117, allocations: 11.98 kB / 451 MB, free: 9.16 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003956/0.1174, allocations: 256.8 kB / 451.2 MB, free: 8.891 MB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 2.154e-06/0.1174, allocations: 0 / 451.2 MB, free: 8.891 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.000968/0.1184, allocations: 0.5739 MB / 451.8 MB, free: 8.301 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/0.1184, allocations: 89.05 kB / 451.9 MB, free: 8.195 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004753/0.1189, allocations: 0.4939 MB / 452.4 MB, free: 7.688 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.886e-05/0.1189, allocations: 33.7 kB / 452.4 MB, free: 7.648 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000179/0.1191, allocations: 280 kB / 452.7 MB, free: 7.371 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.724e-05/0.1192, allocations: 130.1 kB / 452.8 MB, free: 7.242 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/0.1194, allocations: 110.1 kB / 452.9 MB, free: 7.129 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.1195, allocations: 366.7 kB / 453.3 MB, free: 6.762 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002687/0.1198, allocations: 169.1 kB / 453.4 MB, free: 6.59 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003536/0.1201, allocations: 333.7 kB / 453.7 MB, free: 6.195 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002096/0.1223, allocations: 1.07 MB / 454.8 MB, free: 5.027 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.1223, allocations: 4 kB / 454.8 MB, free: 5.023 MB / 334.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001023/0.1233, allocations: 0.726 MB / 455.5 MB, free: 4.285 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.197e-05/0.1234, allocations: 33.7 kB / 455.6 MB, free: 4.246 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.1234, allocations: 8.594 kB / 455.6 MB, free: 4.238 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.349e-05/0.1234, allocations: 16 kB / 455.6 MB, free: 4.223 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004871/0.1239, allocations: 131.8 kB / 455.7 MB, free: 4.094 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.669e-05/0.1239, allocations: 15.92 kB / 455.8 MB, free: 4.078 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002389/0.1242, allocations: 63.36 kB / 455.8 MB, free: 4.016 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.823e-05/0.1242, allocations: 28 kB / 455.8 MB, free: 3.988 MB / 334.1 MB Warning: Assuming fixed start value for the following 15 variables: processNoCtrl.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real processNoCtrl.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] processNoCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] processNoCtrl.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] processNoCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessBias.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real ProcessBias.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessBias.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessBias.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessBias.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessCtrl.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real ProcessCtrl.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 11 (Disturbance.nextEventScaled,Disturbance.nextEvent,$PRE.Disturbance.nextEvent,Disturbance.last,Disturbance.b,Disturbance.a,$whenCondition1,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 (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 1 * 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.0003252/0.1245, allocations: 278.3 kB / 456.1 MB, free: 3.703 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.911e-05/0.1246, allocations: 47.44 kB / 456.2 MB, free: 3.656 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008246/0.1254, allocations: 0.5257 MB / 456.7 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.1255, allocations: 0 / 456.7 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.1255, allocations: 0 / 456.7 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.1255, allocations: 7.984 kB / 456.7 MB, free: 3.113 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005024/0.126, allocations: 473 kB / 457.2 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.126, allocations: 0 / 457.2 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004801/0.1265, allocations: 87.88 kB / 457.2 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.1265, allocations: 0 / 457.2 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.334e-05/0.1266, allocations: 27.98 kB / 457.3 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.195e-06/0.1266, allocations: 4 kB / 457.3 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1266, allocations: 0 / 457.3 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009978/0.1276, allocations: 0.7082 MB / 458 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.461e-05/0.1277, allocations: 128.5 kB / 458.1 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.653e-05/0.1278, allocations: 15.98 kB / 458.1 MB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/0.1279, allocations: 15.98 kB / 458.1 MB, free: 1.574 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.723e-05/0.128, allocations: 27.97 kB / 458.2 MB, free: 1.547 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-05/0.1281, allocations: 12 kB / 458.2 MB, free: 1.535 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003282/0.1284, allocations: 346.8 kB / 458.5 MB, free: 1.199 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1284, allocations: 0 / 458.5 MB, free: 1.199 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000423/0.1288, allocations: 107.8 kB / 458.6 MB, free: 1.094 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 17 (R.Fin,R_Bias.Fin,ProcessCtrl.Y[3],ProcessCtrl.Y[4],ProcessCtrl.U[2],ProcessCtrl.U[3],ProcessCtrl.w,processNoCtrl.Y[3],processNoCtrl.Y[4],processNoCtrl.U[2],processNoCtrl.U[3],processNoCtrl.w,ProcessBias.Y[3],ProcessBias.Y[4],ProcessBias.U[2],ProcessBias.U[3],ProcessBias.w) * Number of discrete variables: 6 ($whenCondition1,Disturbance.a,Disturbance.b,Disturbance.last,Disturbance.nextEvent,Disturbance.nextEventScaled) * Number of discrete states: 6 (Disturbance.nextEvent,Disturbance.last,Disturbance.nextEventScaled,Disturbance.b,Disturbance.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * 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.0002061/0.129, allocations: 140.2 kB / 458.8 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008003/0.1299, allocations: 0.5621 MB / 459.3 MB, free: 384 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1299, allocations: 0 / 459.3 MB, free: 384 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003158/0.1302, allocations: 279.1 kB / 459.6 MB, free: 92 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.1305, allocations: 58.77 kB / 459.6 MB, free: 36 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001615/0.1322, allocations: 1.146 MB / 460.8 MB, free: 14.85 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004684/0.1326, allocations: 0.8859 MB / 461.7 MB, free: 13.94 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.1328, allocations: 39.44 kB / 461.7 MB, free: 13.9 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1328, allocations: 0 / 461.7 MB, free: 13.9 MB / 350.1 MB Notification: Performance of Templates: time 0.008931/0.1417, allocations: 6.002 MB / 467.7 MB, free: 7.895 MB / 350.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe 2>&1)