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.001141/0.001141, allocations: 110.2 kB / 16.37 MB, free: 6.012 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.001066/0.001066, allocations: 190.1 kB / 17.31 MB, free: 5.613 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.432/1.432, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.73 MB / 281.3 MB, free: 1.32 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.002414/0.002414, allocations: 67.89 kB / 342 MB, free: 4.469 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.265, allocations: 49.01 MB / 391 MB, free: 49.98 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_bias): time 0.004535/0.2696, allocations: 2.202 MB / 393.2 MB, free: 48.42 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001712/0.2714, allocations: 0.6821 MB / 393.9 MB, free: 47.96 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000231/0.2716, allocations: 16.16 kB / 393.9 MB, free: 47.95 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003043/0.272, allocations: 60.38 kB / 394 MB, free: 47.91 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002433/0.2722, allocations: 46.7 kB / 394 MB, free: 47.87 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000806/0.2731, allocations: 327.4 kB / 394.3 MB, free: 47.71 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006088/0.2737, allocations: 0.5665 MB / 394.9 MB, free: 47.47 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001952/0.2739, allocations: 96.45 kB / 395 MB, free: 47.42 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002335/0.2741, allocations: 215.2 kB / 395.2 MB, free: 47.32 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002866/0.2744, allocations: 202.7 kB / 395.4 MB, free: 47.23 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.368e-05/0.2745, allocations: 33.25 kB / 395.4 MB, free: 47.23 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.496e-05/0.2746, allocations: 33.31 kB / 395.5 MB, free: 47.23 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001521/0.2747, allocations: 143.1 kB / 395.6 MB, free: 47.16 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001869/0.2749, allocations: 194.1 kB / 395.8 MB, free: 47.02 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005234/0.2754, allocations: 414.5 kB / 396.2 MB, free: 46.84 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.2754, allocations: 0 / 396.2 MB, free: 46.84 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.2755, allocations: 2.094 kB / 396.2 MB, free: 46.84 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.2755, allocations: 0 / 396.2 MB, free: 46.84 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.001578/0.2771, allocations: 0.7783 MB / 397 MB, free: 46.25 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.2771, allocations: 13.61 kB / 397 MB, free: 46.25 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001132/0.2772, allocations: 54.89 kB / 397 MB, free: 46.22 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006794/0.2779, allocations: 429.3 kB / 397.5 MB, free: 45.91 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.917e-05/0.278, allocations: 86.06 kB / 397.5 MB, free: 45.84 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.693e-05/0.2781, allocations: 47.06 kB / 397.6 MB, free: 45.82 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008091/0.2789, allocations: 464 kB / 398 MB, free: 45.61 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.385e-05/0.279, allocations: 7.062 kB / 398 MB, free: 45.6 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.666e-05/0.279, allocations: 19.94 kB / 398.1 MB, free: 45.59 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.545e-05/0.279, allocations: 9.5 kB / 398.1 MB, free: 45.59 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006652/0.2797, allocations: 357.5 kB / 398.4 MB, free: 45.48 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0024/0.2821, allocations: 1.681 MB / 400.1 MB, free: 44.24 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00079/0.2829, allocations: 303.5 kB / 400.4 MB, free: 44.08 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002509/0.2832, allocations: 167.8 kB / 400.6 MB, free: 44 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.069e-05/0.2832, allocations: 4.844 kB / 400.6 MB, free: 44 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/0.2832, allocations: 40.19 kB / 400.6 MB, free: 43.95 MB / 318.1 MB Notification: Performance of pre-optimization done (n=33): time 1.313e-06/0.2832, allocations: 1.125 kB / 400.6 MB, free: 43.95 MB / 318.1 MB Notification: Performance of matching and sorting (n=33): time 0.0007842/0.284, allocations: 452.2 kB / 401.1 MB, free: 43.72 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/0.2841, allocations: 59.84 kB / 401.1 MB, free: 43.66 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004128/0.2845, allocations: 422 kB / 401.5 MB, free: 43.41 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.2845, allocations: 30.8 kB / 401.6 MB, free: 43.37 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.2847, allocations: 249.7 kB / 401.8 MB, free: 43.15 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.044e-05/0.2848, allocations: 129.5 kB / 401.9 MB, free: 43.04 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/0.2849, allocations: 86.09 kB / 402 MB, free: 42.98 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.122e-05/0.285, allocations: 362.1 kB / 402.4 MB, free: 42.63 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002207/0.2852, allocations: 133.7 kB / 402.5 MB, free: 42.57 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002583/0.2855, allocations: 243.2 kB / 402.7 MB, free: 42.36 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001945/0.2874, allocations: 0.8007 MB / 403.5 MB, free: 41.86 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.2874, allocations: 1.031 kB / 403.5 MB, free: 41.86 MB / 318.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0007022/0.2881, allocations: 0.5052 MB / 404 MB, free: 41.6 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.2882, allocations: 10.22 kB / 404 MB, free: 41.6 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.2882, allocations: 3.781 kB / 404.1 MB, free: 41.6 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/0.2882, allocations: 6.875 kB / 404.1 MB, free: 41.6 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005008/0.2887, allocations: 127.7 kB / 404.2 MB, free: 41.56 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.491e-05/0.2887, allocations: 9.938 kB / 404.2 MB, free: 41.56 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001991/0.2889, allocations: 52.42 kB / 404.2 MB, free: 41.52 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.06e-05/0.289, allocations: 18.66 kB / 404.3 MB, free: 41.52 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.0002153/0.2892, allocations: 205.6 kB / 404.5 MB, free: 41.34 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.426e-05/0.2893, allocations: 43.75 kB / 404.5 MB, free: 41.32 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006756/0.2899, allocations: 410.3 kB / 404.9 MB, free: 41.09 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.29, allocations: 3.062 kB / 404.9 MB, free: 41.09 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.29, allocations: 3.938 kB / 404.9 MB, free: 41.08 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.29, allocations: 5.547 kB / 404.9 MB, free: 41.08 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004346/0.2904, allocations: 442.6 kB / 405.4 MB, free: 40.71 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.2904, allocations: 0 / 405.4 MB, free: 40.71 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005492/0.291, allocations: 100.6 kB / 405.4 MB, free: 40.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.291, allocations: 6.688 kB / 405.5 MB, free: 40.68 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.981e-05/0.291, allocations: 8.094 kB / 405.5 MB, free: 40.68 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.2911, allocations: 5.469 kB / 405.5 MB, free: 40.67 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2911, allocations: 0 / 405.5 MB, free: 40.67 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007776/0.2918, allocations: 0.6128 MB / 406.1 MB, free: 40.3 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.366e-05/0.2919, allocations: 135.8 kB / 406.2 MB, free: 40.17 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.091e-05/0.292, allocations: 7.656 kB / 406.2 MB, free: 40.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/0.2922, allocations: 18.67 kB / 406.2 MB, free: 40.15 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.138e-05/0.2922, allocations: 22.44 kB / 406.3 MB, free: 40.14 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.16e-05/0.2923, allocations: 7.125 kB / 406.3 MB, free: 40.14 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002699/0.2925, allocations: 294.9 kB / 406.6 MB, free: 39.96 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2925, allocations: 0 / 406.6 MB, free: 39.96 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000381/0.2929, allocations: 75.66 kB / 406.6 MB, free: 39.94 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.000114/0.2931, allocations: 112.8 kB / 406.7 MB, free: 39.84 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000588/0.2936, allocations: 368.4 kB / 407.1 MB, free: 39.69 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2937, allocations: 0 / 407.1 MB, free: 39.69 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00024/0.2939, allocations: 171.7 kB / 407.3 MB, free: 39.62 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003702/0.2943, allocations: 53.66 kB / 407.3 MB, free: 39.58 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.2955, allocations: 0.9416 MB / 408.3 MB, free: 38.86 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002416/0.2958, allocations: 0.8546 MB / 409.1 MB, free: 37.98 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001939/0.296, allocations: 91.28 kB / 409.2 MB, free: 37.89 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.723e-05/0.2961, allocations: 39.44 kB / 409.2 MB, free: 37.85 MB / 318.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2961, allocations: 0 / 409.2 MB, free: 37.85 MB / 318.1 MB Notification: Performance of Templates: time 0.005767/0.3018, allocations: 2.83 MB / 412.1 MB, free: 35.03 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 gbode -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe 2>&1)