Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_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.TestD_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestD_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 97.64 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.008686/0.008686, allocations: 170.1 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.793/1.793, allocations: 205.4 MB / 222.4 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05572/0.05571, allocations: 10.74 MB / 281.5 MB, free: 10.43 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.0005621/0.0005621, allocations: 19.19 kB / 342.2 MB, free: 23.49 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1337, allocations: 50 MB / 392.2 MB, free: 5.418 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestD_bias): time 0.00256/0.1363, allocations: 1.85 MB / 394.1 MB, free: 3.555 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001921/0.1382, allocations: 1.03 MB / 395.1 MB, free: 2.516 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002609/0.1385, allocations: 11.88 kB / 395.1 MB, free: 2.504 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001779/0.1387, allocations: 63.61 kB / 395.2 MB, free: 2.441 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002196/0.139, allocations: 67.67 kB / 395.3 MB, free: 2.375 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007969/0.1398, allocations: 271.6 kB / 395.5 MB, free: 2.109 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000551/0.1403, allocations: 0.5472 MB / 396.1 MB, free: 1.559 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001791/0.1405, allocations: 85 kB / 396.2 MB, free: 1.469 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002003/0.1407, allocations: 179.2 kB / 396.3 MB, free: 1.293 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000273/0.141, allocations: 223.1 kB / 396.5 MB, free: 1.074 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.307e-05/0.1411, allocations: 16 kB / 396.6 MB, free: 1.059 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001549/0.1412, allocations: 83.94 kB / 396.6 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000148/0.1414, allocations: 139.5 kB / 396.8 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001917/0.1416, allocations: 220.3 kB / 397 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004448/0.142, allocations: 478.5 kB / 397.5 MB, free: 152 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.142, allocations: 0 / 397.5 MB, free: 152 kB / 286.1 MB Notification: Performance of FrontEnd: time 8.947e-06/0.1421, allocations: 0 / 397.5 MB, free: 152 kB / 286.1 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.1421, allocations: 3.938 kB / 397.5 MB, free: 148 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.001141/0.1432, allocations: 0.7612 MB / 398.2 MB, free: 15.33 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.1433, allocations: 8.031 kB / 398.2 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.195e-05/0.1434, allocations: 60.19 kB / 398.3 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004861/0.1438, allocations: 409.9 kB / 398.7 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.188e-05/0.1439, allocations: 29.38 kB / 398.7 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.839e-05/0.144, allocations: 48.22 kB / 398.8 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007481/0.1447, allocations: 0.5165 MB / 399.3 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.507e-05/0.1448, allocations: 7.984 kB / 399.3 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.763e-05/0.1448, allocations: 19.94 kB / 399.3 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/0.1448, allocations: 8 kB / 399.3 MB, free: 14.17 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006519/0.1455, allocations: 403.7 kB / 399.7 MB, free: 13.78 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002763/0.1483, allocations: 1.81 MB / 401.5 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005259/0.1488, allocations: 273.1 kB / 401.8 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002715/0.1491, allocations: 188.6 kB / 402 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/0.1491, allocations: 4 kB / 402 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004024/0.1495, allocations: 256.9 kB / 402.2 MB, free: 11.16 MB / 302.1 MB Notification: Performance of pre-optimization done (n=36): time 1.773e-06/0.1495, allocations: 0 / 402.2 MB, free: 11.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=36): time 0.001/0.1506, allocations: 0.582 MB / 402.8 MB, free: 10.56 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.343e-05/0.1506, allocations: 89.31 kB / 402.9 MB, free: 10.45 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005473/0.1512, allocations: 493.7 kB / 403.4 MB, free: 9.969 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.894e-05/0.1512, allocations: 29.7 kB / 403.4 MB, free: 9.934 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002392/0.1515, allocations: 276 kB / 403.7 MB, free: 9.66 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.1516, allocations: 138 kB / 403.8 MB, free: 9.523 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.985e-05/0.1517, allocations: 65.67 kB / 403.9 MB, free: 9.453 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.1519, allocations: 374.7 kB / 404.2 MB, free: 9.078 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000267/0.1521, allocations: 165.1 kB / 404.4 MB, free: 8.918 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003954/0.1525, allocations: 325.8 kB / 404.7 MB, free: 8.531 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002095/0.1547, allocations: 1.09 MB / 405.8 MB, free: 7.344 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.1547, allocations: 0 / 405.8 MB, free: 7.344 MB / 302.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001038/0.1557, allocations: 0.7337 MB / 406.5 MB, free: 6.598 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.414e-05/0.1558, allocations: 41.69 kB / 406.6 MB, free: 6.551 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.1558, allocations: 4.656 kB / 406.6 MB, free: 6.547 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.1558, allocations: 8 kB / 406.6 MB, free: 6.539 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004885/0.1563, allocations: 139.8 kB / 406.7 MB, free: 6.402 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/0.1563, allocations: 11.94 kB / 406.7 MB, free: 6.391 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000233/0.1566, allocations: 63.42 kB / 406.8 MB, free: 6.328 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.944e-05/0.1566, allocations: 24 kB / 406.8 MB, free: 6.305 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.0003487/0.157, allocations: 278.4 kB / 407.1 MB, free: 6.016 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.926e-05/0.157, allocations: 51.42 kB / 407.2 MB, free: 5.965 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009003/0.1579, allocations: 0.5254 MB / 407.7 MB, free: 5.43 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.158, allocations: 4 kB / 407.7 MB, free: 5.426 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.158, allocations: 0 / 407.7 MB, free: 5.426 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.158, allocations: 4 kB / 407.7 MB, free: 5.422 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004856/0.1585, allocations: 476.8 kB / 408.2 MB, free: 4.906 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1585, allocations: 0 / 408.2 MB, free: 4.906 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004807/0.159, allocations: 87.94 kB / 408.2 MB, free: 4.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.012e-06/0.159, allocations: 7.938 kB / 408.2 MB, free: 4.812 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.038e-05/0.1591, allocations: 19.98 kB / 408.3 MB, free: 4.793 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.1591, allocations: 3.938 kB / 408.3 MB, free: 4.789 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1591, allocations: 0 / 408.3 MB, free: 4.789 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/0.1601, allocations: 0.716 MB / 409 MB, free: 4.051 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.547e-05/0.1602, allocations: 120.6 kB / 409.1 MB, free: 3.914 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.585e-05/0.1603, allocations: 19.98 kB / 409.1 MB, free: 3.895 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001546/0.1604, allocations: 15.98 kB / 409.1 MB, free: 3.879 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.124e-05/0.1605, allocations: 23.97 kB / 409.2 MB, free: 3.855 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.303e-05/0.1605, allocations: 15.98 kB / 409.2 MB, free: 3.84 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003524/0.1609, allocations: 331.1 kB / 409.5 MB, free: 3.516 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1609, allocations: 0 / 409.5 MB, free: 3.516 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004461/0.1614, allocations: 123.7 kB / 409.6 MB, free: 3.395 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.0002332/0.1616, allocations: 144 kB / 409.8 MB, free: 3.242 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008236/0.1624, allocations: 0.5598 MB / 410.3 MB, free: 2.672 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1625, allocations: 0 / 410.3 MB, free: 2.672 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000351/0.1628, allocations: 279.2 kB / 410.6 MB, free: 2.387 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003553/0.1632, allocations: 50.41 kB / 410.6 MB, free: 2.34 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001783/0.165, allocations: 1.31 MB / 412 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006114/0.1656, allocations: 0.882 MB / 412.8 MB, free: 88 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003058/0.1659, allocations: 108.3 kB / 412.9 MB, free: 15.98 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.166, allocations: 35.44 kB / 413 MB, free: 15.94 MB / 318.1 MB Notification: Performance of SimCode: time 4.168e-06/0.166, allocations: 0 / 413 MB, free: 15.94 MB / 318.1 MB Notification: Performance of Templates: time 0.008403/0.1745, allocations: 3.589 MB / 416.6 MB, free: 12.35 MB / 318.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.makefile Environment - environmentSimulation: (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe 2>&1) Environment - environmentSimulation: