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.001031/0.001032, allocations: 103.7 kB / 15.98 MB, free: 6.348 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.001004/0.001005, allocations: 198.9 kB / 16.91 MB, free: 6.188 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.472/1.472, allocations: 205.1 MB / 222.8 MB, free: 4.707 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05437/0.05437, allocations: 10.74 MB / 280.8 MB, free: 10.68 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.001545/0.001545, allocations: 75.89 kB / 340.7 MB, free: 23.68 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1271, allocations: 49.02 MB / 389.7 MB, free: 6.605 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPD_bias): time 0.00498/0.1322, allocations: 2.22 MB / 391.9 MB, free: 4.367 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002511/0.1347, allocations: 1.022 MB / 393 MB, free: 3.336 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002588/0.135, allocations: 19.88 kB / 393 MB, free: 3.316 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003451/0.1354, allocations: 63.61 kB / 393 MB, free: 3.254 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001997/0.1356, allocations: 59.67 kB / 393.1 MB, free: 3.195 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001198/0.1368, allocations: 295.6 kB / 393.4 MB, free: 2.906 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008656/0.1377, allocations: 0.5941 MB / 394 MB, free: 2.309 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002661/0.138, allocations: 81 kB / 394.1 MB, free: 2.223 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000366/0.1384, allocations: 227.2 kB / 394.3 MB, free: 2 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000406/0.1388, allocations: 247.1 kB / 394.5 MB, free: 1.758 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.972e-05/0.1389, allocations: 32 kB / 394.5 MB, free: 1.727 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002086/0.1391, allocations: 99.94 kB / 394.6 MB, free: 1.629 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002249/0.1394, allocations: 163.5 kB / 394.8 MB, free: 1.469 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002539/0.1396, allocations: 218.5 kB / 395 MB, free: 1.254 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005711/0.1402, allocations: 367.6 kB / 395.4 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1402, allocations: 0 / 395.4 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1402, allocations: 0 / 395.4 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.1403, allocations: 0 / 395.4 MB, free: 0.8945 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.002101/0.1424, allocations: 0.8589 MB / 396.2 MB, free: 15.98 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/0.1424, allocations: 19.83 kB / 396.3 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001651/0.1426, allocations: 60.19 kB / 396.3 MB, free: 15.9 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008016/0.1434, allocations: 409.9 kB / 396.7 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5e-05/0.1435, allocations: 33.38 kB / 396.7 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/0.1436, allocations: 48.28 kB / 396.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001203/0.1448, allocations: 0.5087 MB / 397.3 MB, free: 14.85 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.012e-05/0.1449, allocations: 7.906 kB / 397.3 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.309e-05/0.145, allocations: 19.98 kB / 397.3 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.704e-05/0.145, allocations: 8 kB / 397.3 MB, free: 14.81 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009801/0.146, allocations: 391.7 kB / 397.7 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004163/0.1501, allocations: 1.806 MB / 399.5 MB, free: 12.55 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000746/0.1509, allocations: 265.1 kB / 399.8 MB, free: 12.28 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003903/0.1513, allocations: 180.8 kB / 400 MB, free: 12.1 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.969e-05/0.1514, allocations: 4 kB / 400 MB, free: 12.1 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007084/0.1521, allocations: 260.9 kB / 400.2 MB, free: 11.82 MB / 302.1 MB Notification: Performance of pre-optimization done (n=36): time 3.567e-06/0.1521, allocations: 0 / 400.2 MB, free: 11.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=36): time 0.001486/0.1536, allocations: 0.5782 MB / 400.8 MB, free: 11.23 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.839e-05/0.1537, allocations: 85.11 kB / 400.9 MB, free: 11.13 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007915/0.1545, allocations: 497.8 kB / 401.4 MB, free: 10.63 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.163e-05/0.1546, allocations: 37.7 kB / 401.4 MB, free: 10.59 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003025/0.1549, allocations: 272 kB / 401.7 MB, free: 10.32 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001691/0.1551, allocations: 146 kB / 401.8 MB, free: 10.18 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002151/0.1553, allocations: 102.2 kB / 401.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002389/0.1556, allocations: 374.7 kB / 402.3 MB, free: 9.695 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004119/0.156, allocations: 165.1 kB / 402.4 MB, free: 9.535 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005567/0.1566, allocations: 329.8 kB / 402.8 MB, free: 9.145 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003221/0.1598, allocations: 1.082 MB / 403.8 MB, free: 7.969 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.1598, allocations: 0 / 403.8 MB, free: 7.969 MB / 302.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001608/0.1615, allocations: 0.7303 MB / 404.6 MB, free: 7.227 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.722e-05/0.1615, allocations: 45.69 kB / 404.6 MB, free: 7.176 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/0.1616, allocations: 4 kB / 404.6 MB, free: 7.172 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.645e-05/0.1616, allocations: 8 kB / 404.6 MB, free: 7.164 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000723/0.1623, allocations: 127.8 kB / 404.8 MB, free: 7.039 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.312e-05/0.1624, allocations: 11.94 kB / 404.8 MB, free: 7.027 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000401/0.1628, allocations: 71.34 kB / 404.8 MB, free: 6.957 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.668e-05/0.1628, allocations: 24 kB / 404.9 MB, free: 6.934 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.0005011/0.1634, allocations: 282.6 kB / 405.1 MB, free: 6.645 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.915e-05/0.1635, allocations: 47.44 kB / 405.2 MB, free: 6.598 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001213/0.1647, allocations: 0.5176 MB / 405.7 MB, free: 6.07 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.076e-06/0.1647, allocations: 4 kB / 405.7 MB, free: 6.066 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/0.1647, allocations: 3.984 kB / 405.7 MB, free: 6.062 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.1648, allocations: 3.938 kB / 405.7 MB, free: 6.059 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006956/0.1655, allocations: 484.8 kB / 406.2 MB, free: 5.535 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.1655, allocations: 0 / 406.2 MB, free: 5.535 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007188/0.1662, allocations: 79.95 kB / 406.3 MB, free: 5.457 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.1662, allocations: 0 / 406.3 MB, free: 5.457 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.429e-05/0.1663, allocations: 19.98 kB / 406.3 MB, free: 5.438 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.1663, allocations: 0 / 406.3 MB, free: 5.438 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.1663, allocations: 7.938 kB / 406.3 MB, free: 5.43 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001528/0.1679, allocations: 0.7117 MB / 407 MB, free: 4.691 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001364/0.168, allocations: 124.5 kB / 407.1 MB, free: 4.551 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.1681, allocations: 19.98 kB / 407.1 MB, free: 4.531 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002442/0.1684, allocations: 15.98 kB / 407.2 MB, free: 4.516 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.1685, allocations: 19.97 kB / 407.2 MB, free: 4.496 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.566e-05/0.1685, allocations: 12 kB / 407.2 MB, free: 4.484 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005291/0.1691, allocations: 342.8 kB / 407.5 MB, free: 4.148 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1691, allocations: 0 / 407.5 MB, free: 4.148 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000743/0.1698, allocations: 107.8 kB / 407.6 MB, free: 4.043 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.0002919/0.1701, allocations: 155.9 kB / 407.8 MB, free: 3.879 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001348/0.1715, allocations: 0.591 MB / 408.4 MB, free: 3.277 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.1715, allocations: 320 / 408.4 MB, free: 3.277 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000408/0.172, allocations: 287.1 kB / 408.7 MB, free: 2.984 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003872/0.1723, allocations: 46.8 kB / 408.7 MB, free: 2.938 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001718/0.1741, allocations: 1.326 MB / 410 MB, free: 1.578 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004927/0.1746, allocations: 0.8896 MB / 410.9 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.1747, allocations: 47.38 kB / 411 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1747, allocations: 0 / 411 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of Templates: time 0.01077/0.1855, allocations: 5.936 MB / 416.9 MB, free: 10.67 MB / 318.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)