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.001197/0.001197, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.01019/0.01019, allocations: 172 kB / 16.27 MB, free: 6.652 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.797/1.797, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05787/0.05787, allocations: 10.74 MB / 281.5 MB, free: 10.45 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.0005699/0.00057, allocations: 12.78 kB / 342.2 MB, free: 23.51 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1208, allocations: 50.01 MB / 392.2 MB, free: 5.434 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPD_bias): time 0.002695/0.1236, allocations: 1.862 MB / 394.1 MB, free: 3.559 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00203/0.1256, allocations: 1.037 MB / 395.1 MB, free: 2.512 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002813/0.126, allocations: 11.88 kB / 395.1 MB, free: 2.5 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003297/0.1263, allocations: 71.59 kB / 395.2 MB, free: 2.43 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002224/0.1265, allocations: 59.69 kB / 395.3 MB, free: 2.371 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001056/0.1276, allocations: 271.6 kB / 395.5 MB, free: 2.105 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008398/0.1285, allocations: 0.5511 MB / 396.1 MB, free: 1.551 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002593/0.1287, allocations: 85 kB / 396.2 MB, free: 1.461 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003862/0.1291, allocations: 187.2 kB / 396.4 MB, free: 1.277 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004083/0.1295, allocations: 219.1 kB / 396.6 MB, free: 1.062 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.104e-05/0.1296, allocations: 16 kB / 396.6 MB, free: 1.047 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001873/0.1298, allocations: 91.91 kB / 396.7 MB, free: 0.957 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001737/0.13, allocations: 135.6 kB / 396.8 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002552/0.1303, allocations: 220.2 kB / 397 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005093/0.1308, allocations: 470.5 kB / 397.5 MB, free: 144 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.1308, allocations: 4 kB / 397.5 MB, free: 140 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1308, allocations: 0 / 397.5 MB, free: 140 kB / 286.1 MB Notification: Performance of Transformations before backend: time 1.976e-05/0.1309, allocations: 0 / 397.5 MB, free: 140 kB / 286.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.00163/0.1325, allocations: 0.7766 MB / 398.3 MB, free: 15.31 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.13e-05/0.1326, allocations: 8.031 kB / 398.3 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002385/0.1328, allocations: 60.19 kB / 398.3 MB, free: 15.24 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008401/0.1337, allocations: 417.8 kB / 398.7 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.66e-05/0.1337, allocations: 29.38 kB / 398.8 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001232/0.1339, allocations: 44.38 kB / 398.8 MB, free: 14.72 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009806/0.1348, allocations: 0.5087 MB / 399.3 MB, free: 14.19 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.699e-05/0.1349, allocations: 7.891 kB / 399.3 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.377e-05/0.1349, allocations: 19.98 kB / 399.3 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.135, allocations: 12 kB / 399.4 MB, free: 14.15 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000716/0.1357, allocations: 395.7 kB / 399.7 MB, free: 13.77 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003039/0.1387, allocations: 1.818 MB / 401.6 MB, free: 11.87 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005333/0.1393, allocations: 273.6 kB / 401.8 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000282/0.1396, allocations: 184.6 kB / 402 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.802e-05/0.1396, allocations: 7.938 kB / 402 MB, free: 11.4 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003932/0.14, allocations: 253 kB / 402.3 MB, free: 11.14 MB / 302.1 MB Notification: Performance of pre-optimization done (n=36): time 2.735e-06/0.14, allocations: 4 kB / 402.3 MB, free: 11.13 MB / 302.1 MB Notification: Performance of matching and sorting (n=36): time 0.001015/0.1411, allocations: 0.5821 MB / 402.8 MB, free: 10.54 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.877e-05/0.1411, allocations: 93.09 kB / 402.9 MB, free: 10.43 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005469/0.1417, allocations: 493.8 kB / 403.4 MB, free: 9.934 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.978e-05/0.1417, allocations: 29.7 kB / 403.4 MB, free: 9.898 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002341/0.142, allocations: 287.9 kB / 403.7 MB, free: 9.613 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001184/0.1421, allocations: 134.1 kB / 403.9 MB, free: 9.48 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.1422, allocations: 61.69 kB / 403.9 MB, free: 9.414 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.1424, allocations: 374.7 kB / 404.3 MB, free: 9.039 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002955/0.1427, allocations: 165.1 kB / 404.4 MB, free: 8.879 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004019/0.1431, allocations: 333.8 kB / 404.8 MB, free: 8.484 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002298/0.1454, allocations: 1.086 MB / 405.9 MB, free: 7.301 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.677e-06/0.1455, allocations: 0 / 405.9 MB, free: 7.301 MB / 302.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001279/0.1468, allocations: 0.7266 MB / 406.6 MB, free: 6.562 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.661e-05/0.1468, allocations: 45.69 kB / 406.6 MB, free: 6.512 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/0.1469, allocations: 8.031 kB / 406.6 MB, free: 6.504 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.974e-05/0.1469, allocations: 12 kB / 406.7 MB, free: 6.492 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004971/0.1474, allocations: 127.8 kB / 406.8 MB, free: 6.367 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.164e-05/0.1474, allocations: 15.92 kB / 406.8 MB, free: 6.352 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003016/0.1477, allocations: 71.27 kB / 406.9 MB, free: 6.281 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.188e-05/0.1478, allocations: 24 kB / 406.9 MB, free: 6.258 MB / 302.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.0004128/0.1482, allocations: 278.5 kB / 407.2 MB, free: 5.973 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.349e-05/0.1483, allocations: 51.34 kB / 407.2 MB, free: 5.922 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008873/0.1492, allocations: 0.5255 MB / 407.7 MB, free: 5.387 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.1492, allocations: 4 kB / 407.7 MB, free: 5.383 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.1493, allocations: 3.938 kB / 407.7 MB, free: 5.379 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.1493, allocations: 4 kB / 407.7 MB, free: 5.375 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005258/0.1498, allocations: 488.7 kB / 408.2 MB, free: 4.848 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.1498, allocations: 0 / 408.2 MB, free: 4.848 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004818/0.1503, allocations: 79.95 kB / 408.3 MB, free: 4.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.418e-06/0.1503, allocations: 4 kB / 408.3 MB, free: 4.766 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.897e-05/0.1504, allocations: 15.98 kB / 408.3 MB, free: 4.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.1504, allocations: 0 / 408.3 MB, free: 4.75 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1504, allocations: 3.938 kB / 408.3 MB, free: 4.746 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/0.1515, allocations: 0.7199 MB / 409 MB, free: 4.004 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.1517, allocations: 128.6 kB / 409.2 MB, free: 3.859 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.749e-05/0.1518, allocations: 16 kB / 409.2 MB, free: 3.844 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/0.1519, allocations: 15.98 kB / 409.2 MB, free: 3.828 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.432e-05/0.152, allocations: 23.97 kB / 409.2 MB, free: 3.805 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.17e-05/0.1521, allocations: 11.98 kB / 409.2 MB, free: 3.793 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004477/0.1525, allocations: 338.8 kB / 409.6 MB, free: 3.461 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1525, allocations: 4 kB / 409.6 MB, free: 3.457 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004503/0.153, allocations: 115.8 kB / 409.7 MB, free: 3.344 MB / 302.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.000305/0.1533, allocations: 139.8 kB / 409.8 MB, free: 3.199 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009656/0.1543, allocations: 0.567 MB / 410.4 MB, free: 2.621 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.1543, allocations: 0 / 410.4 MB, free: 2.621 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003578/0.1547, allocations: 275.2 kB / 410.7 MB, free: 2.34 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003681/0.155, allocations: 50.8 kB / 410.7 MB, free: 2.289 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001807/0.1569, allocations: 1.31 MB / 412 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005485/0.1574, allocations: 0.8897 MB / 412.9 MB, free: 32 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003086/0.1577, allocations: 112.1 kB / 413 MB, free: 15.92 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.989e-05/0.1578, allocations: 31.44 kB / 413 MB, free: 15.89 MB / 318.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1579, allocations: 0 / 413 MB, free: 15.89 MB / 318.1 MB Notification: Performance of Templates: time 0.009411/0.1673, allocations: 3.601 MB / 416.6 MB, free: 12.28 MB / 318.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: