Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_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.TestPID_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestPID_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001319/0.001319, allocations: 191 kB / 17.29 MB, free: 5.516 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.776/1.776, allocations: 205.1 MB / 223.2 MB, free: 12.11 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05874/0.05874, allocations: 10.74 MB / 281.3 MB, free: 1.289 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.001958/0.001958, allocations: 67.89 kB / 342 MB, free: 4.434 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.3465, allocations: 49 MB / 391 MB, free: 49.91 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_bias): time 0.003914/0.3505, allocations: 2.207 MB / 393.2 MB, free: 48.36 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001312/0.3518, allocations: 0.6728 MB / 393.9 MB, free: 47.9 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001733/0.352, allocations: 25.38 kB / 393.9 MB, free: 47.88 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002261/0.3523, allocations: 54.69 kB / 393.9 MB, free: 47.84 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001925/0.3525, allocations: 51.7 kB / 394 MB, free: 47.81 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006678/0.3531, allocations: 325.8 kB / 394.3 MB, free: 47.64 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006344/0.3538, allocations: 0.5708 MB / 394.9 MB, free: 47.4 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002069/0.354, allocations: 92.66 kB / 395 MB, free: 47.35 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002584/0.3543, allocations: 214.9 kB / 395.2 MB, free: 47.26 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003134/0.3546, allocations: 204.4 kB / 395.4 MB, free: 47.16 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.932e-05/0.3547, allocations: 32.19 kB / 395.4 MB, free: 47.16 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.344e-05/0.3547, allocations: 33.62 kB / 395.4 MB, free: 47.16 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001747/0.3549, allocations: 138.9 kB / 395.6 MB, free: 47.1 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001863/0.3551, allocations: 194.4 kB / 395.8 MB, free: 46.96 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004866/0.3556, allocations: 415 kB / 396.2 MB, free: 46.78 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.3556, allocations: 0 / 396.2 MB, free: 46.78 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3556, allocations: 0 / 396.2 MB, free: 46.78 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.416e-05/0.3556, allocations: 4 kB / 396.2 MB, free: 46.77 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001379/0.357, allocations: 0.7758 MB / 397 MB, free: 46.19 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.3571, allocations: 13.33 kB / 397 MB, free: 46.19 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001282/0.3572, allocations: 58.44 kB / 397 MB, free: 46.16 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007463/0.358, allocations: 437.8 kB / 397.5 MB, free: 45.84 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000104/0.3581, allocations: 82.14 kB / 397.5 MB, free: 45.77 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/0.3582, allocations: 43.17 kB / 397.6 MB, free: 45.75 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/0.3592, allocations: 463.8 kB / 398 MB, free: 45.54 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.117e-05/0.3593, allocations: 10.55 kB / 398 MB, free: 45.53 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.009e-05/0.3593, allocations: 15.5 kB / 398.1 MB, free: 45.52 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.07e-05/0.3594, allocations: 14.67 kB / 398.1 MB, free: 45.52 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008279/0.3602, allocations: 349.3 kB / 398.4 MB, free: 45.42 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002862/0.3631, allocations: 1.678 MB / 400.1 MB, free: 44.19 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008632/0.3639, allocations: 295.9 kB / 400.4 MB, free: 44.04 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002651/0.3642, allocations: 176.2 kB / 400.5 MB, free: 43.95 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.633e-05/0.3643, allocations: 12.53 kB / 400.6 MB, free: 43.94 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.3643, allocations: 44.16 kB / 400.6 MB, free: 43.89 MB / 318.1 MB Notification: Performance of pre-optimization done (n=33): time 1.432e-06/0.3643, allocations: 0 / 400.6 MB, free: 43.89 MB / 318.1 MB Notification: Performance of matching and sorting (n=33): time 0.0008341/0.3652, allocations: 456.5 kB / 401 MB, free: 43.66 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/0.3652, allocations: 55.69 kB / 401.1 MB, free: 43.59 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004534/0.3657, allocations: 426.4 kB / 401.5 MB, free: 43.34 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.799e-05/0.3657, allocations: 34.89 kB / 401.6 MB, free: 43.3 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001883/0.3659, allocations: 241.5 kB / 401.8 MB, free: 43.09 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.497e-05/0.366, allocations: 133.2 kB / 401.9 MB, free: 42.97 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001353/0.3661, allocations: 82.12 kB / 402 MB, free: 42.92 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.3663, allocations: 358.5 kB / 402.3 MB, free: 42.57 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002551/0.3665, allocations: 129.8 kB / 402.5 MB, free: 42.51 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003321/0.3669, allocations: 254.2 kB / 402.7 MB, free: 42.3 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002098/0.369, allocations: 0.7979 MB / 403.5 MB, free: 41.8 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.369, allocations: 0 / 403.5 MB, free: 41.8 MB / 318.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0009816/0.37, allocations: 0.5097 MB / 404 MB, free: 41.54 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.911e-05/0.37, allocations: 11.66 kB / 404 MB, free: 41.53 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/0.37, allocations: 3.812 kB / 404 MB, free: 41.53 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.841e-05/0.3701, allocations: 6.438 kB / 404.1 MB, free: 41.53 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005222/0.3706, allocations: 119.5 kB / 404.2 MB, free: 41.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.12e-05/0.3706, allocations: 13.05 kB / 404.2 MB, free: 41.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002026/0.3708, allocations: 53.61 kB / 404.2 MB, free: 41.46 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.301e-05/0.3709, allocations: 22.22 kB / 404.3 MB, free: 41.45 MB / 318.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 (61): * Single equations (assignments): 61 * 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.0002677/0.3712, allocations: 199 kB / 404.5 MB, free: 41.29 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.873e-05/0.3712, allocations: 41.94 kB / 404.5 MB, free: 41.26 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007058/0.372, allocations: 407.1 kB / 404.9 MB, free: 41.03 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.124e-06/0.372, allocations: 3.719 kB / 404.9 MB, free: 41.03 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.331e-06/0.372, allocations: 3.938 kB / 404.9 MB, free: 41.03 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-06/0.372, allocations: 7.984 kB / 404.9 MB, free: 41.02 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004885/0.3725, allocations: 443.9 kB / 405.3 MB, free: 40.65 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3725, allocations: 0 / 405.3 MB, free: 40.65 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005358/0.373, allocations: 104.4 kB / 405.4 MB, free: 40.62 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.3731, allocations: 6.281 kB / 405.4 MB, free: 40.62 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.754e-05/0.3731, allocations: 12.66 kB / 405.5 MB, free: 40.61 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.3731, allocations: 5.312 kB / 405.5 MB, free: 40.61 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3731, allocations: 0 / 405.5 MB, free: 40.61 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008949/0.374, allocations: 0.6126 MB / 406.1 MB, free: 40.24 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.4e-05/0.3741, allocations: 131.2 kB / 406.2 MB, free: 40.11 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.152e-05/0.3742, allocations: 7.531 kB / 406.2 MB, free: 40.1 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001676/0.3744, allocations: 18.8 kB / 406.2 MB, free: 40.09 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.607e-05/0.3744, allocations: 22.88 kB / 406.3 MB, free: 40.08 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.361e-05/0.3745, allocations: 11.91 kB / 406.3 MB, free: 40.07 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003027/0.3748, allocations: 286.6 kB / 406.5 MB, free: 39.9 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3748, allocations: 4 kB / 406.5 MB, free: 39.9 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003968/0.3752, allocations: 76 kB / 406.6 MB, free: 39.88 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 13 (R.Iaction,R.Fder,R_Bias.Iaction,R_Bias.Fder,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 (37): * Single equations (assignments): 37 * 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.0001277/0.3753, allocations: 115.2 kB / 406.7 MB, free: 39.78 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006201/0.3759, allocations: 373.9 kB / 407.1 MB, free: 39.62 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.376, allocations: 0 / 407.1 MB, free: 39.62 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002678/0.3762, allocations: 168.6 kB / 407.3 MB, free: 39.55 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003893/0.3766, allocations: 49.92 kB / 407.3 MB, free: 39.52 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001427/0.3781, allocations: 0.9383 MB / 408.3 MB, free: 38.84 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/0.3784, allocations: 0.8586 MB / 409.1 MB, free: 37.96 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002315/0.3786, allocations: 87.34 kB / 409.2 MB, free: 37.87 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.721e-05/0.3787, allocations: 35.44 kB / 409.2 MB, free: 37.83 MB / 318.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3787, allocations: 0 / 409.2 MB, free: 37.83 MB / 318.1 MB Notification: Performance of Templates: time 0.006767/0.3855, allocations: 2.836 MB / 412.1 MB, free: 35.02 MB / 318.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe 2>&1)