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/Complex 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) 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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001634/0.001634, allocations: 173 kB / 16.12 MB, free: 5.688 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.0849/0.0849, allocations: 10.77 MB / 27.63 MB, free: 1.895 MB / 18.57 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.4 MB / 236.2 MB, free: 10.16 MB / 202.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007942/0.0007943, allocations: 82.36 kB / 287 MB, free: 12.38 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0003478/0.0003478, allocations: 12 kB / 347.6 MB, free: 15.61 MB / 298.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.2013, allocations: 49.99 MB / 397.6 MB, free: 34.59 MB / 298.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09119/0.2926, allocations: 79.72 MB / 477.3 MB, free: 2.758 MB / 346.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002357/0.2929, allocations: 83.94 kB / 477.4 MB, free: 2.676 MB / 346.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.02039/0.3133, allocations: 7.391 MB / 484.8 MB, free: 11.25 MB / 362.8 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3133, allocations: 3.938 kB / 484.8 MB, free: 11.25 MB / 362.8 MB Notification: Performance of Transformations before backend: time 3.699e-05/0.3133, allocations: 16 kB / 484.8 MB, free: 11.23 MB / 362.8 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.001358/0.3147, allocations: 0.797 MB / 485.6 MB, free: 10.38 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.3148, allocations: 8.031 kB / 485.6 MB, free: 10.37 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000144/0.3149, allocations: 60.19 kB / 485.7 MB, free: 10.31 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007929/0.3157, allocations: 462.8 kB / 486.1 MB, free: 9.816 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.365e-05/0.3158, allocations: 33.31 kB / 486.2 MB, free: 9.785 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.3159, allocations: 48.28 kB / 486.2 MB, free: 9.738 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008838/0.3168, allocations: 0.5312 MB / 486.8 MB, free: 9.176 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.031e-05/0.3168, allocations: 11.88 kB / 486.8 MB, free: 9.164 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.53e-05/0.3169, allocations: 16 kB / 486.8 MB, free: 9.148 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.3169, allocations: 8 kB / 486.8 MB, free: 9.141 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007083/0.3176, allocations: 403.7 kB / 487.2 MB, free: 8.746 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002943/0.3206, allocations: 1.828 MB / 489 MB, free: 6.84 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000532/0.3211, allocations: 281.2 kB / 489.3 MB, free: 6.559 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002664/0.3214, allocations: 192.6 kB / 489.5 MB, free: 6.367 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 4.913e-05/0.3215, allocations: 11.98 kB / 489.5 MB, free: 6.355 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003942/0.3219, allocations: 256.9 kB / 489.7 MB, free: 6.086 MB / 362.8 MB Notification: Performance of pre-optimization done (n=36): time 2.625e-06/0.3219, allocations: 0 / 489.7 MB, free: 6.086 MB / 362.8 MB Notification: Performance of matching and sorting (n=36): time 0.001097/0.323, allocations: 0.6217 MB / 490.4 MB, free: 5.445 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.581e-05/0.3231, allocations: 85.11 kB / 490.4 MB, free: 5.344 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006339/0.3237, allocations: 497.8 kB / 490.9 MB, free: 4.844 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 3.77e-05/0.3237, allocations: 33.7 kB / 491 MB, free: 4.805 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002134/0.324, allocations: 279.9 kB / 491.2 MB, free: 4.527 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.3241, allocations: 130.2 kB / 491.4 MB, free: 4.398 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.144e-05/0.3241, allocations: 8 kB / 491.4 MB, free: 4.391 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.3243, allocations: 370.7 kB / 491.7 MB, free: 4.02 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003075/0.3246, allocations: 169.1 kB / 491.9 MB, free: 3.855 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004231/0.3251, allocations: 348.2 kB / 492.2 MB, free: 3.449 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002192/0.3273, allocations: 1.125 MB / 493.4 MB, free: 2.223 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.096e-06/0.3273, allocations: 4 kB / 493.4 MB, free: 2.219 MB / 362.8 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001255/0.3285, allocations: 0.7496 MB / 494.1 MB, free: 1.457 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.231e-05/0.3286, allocations: 45.69 kB / 494.2 MB, free: 1.406 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.3286, allocations: 4 kB / 494.2 MB, free: 1.402 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.522e-05/0.3287, allocations: 8 kB / 494.2 MB, free: 1.395 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004924/0.3292, allocations: 139.7 kB / 494.3 MB, free: 1.258 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.787e-05/0.3292, allocations: 8.5 kB / 494.3 MB, free: 1.25 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002747/0.3295, allocations: 67.42 kB / 494.4 MB, free: 1.184 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.859e-05/0.3295, allocations: 24 kB / 494.4 MB, free: 1.16 MB / 362.8 MB Warning: Assuming fixed start value for the following 15 variables: processNoCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] processNoCtrl.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] processNoCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] processNoCtrl.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] processNoCtrl.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real ProcessCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessCtrl.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real ProcessBias.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessBias.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessBias.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessBias.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessBias.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,Disturbance.a,Disturbance.b,Disturbance.last,$PRE.Disturbance.nextEvent,Disturbance.nextEvent,Disturbance.nextEventScaled,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004229/0.33, allocations: 282.3 kB / 494.7 MB, free: 0.8711 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.936e-05/0.3301, allocations: 55.36 kB / 494.7 MB, free: 0.8164 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009413/0.331, allocations: 0.5536 MB / 495.3 MB, free: 260 kB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.331, allocations: 4 kB / 495.3 MB, free: 256 kB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.331, allocations: 0 / 495.3 MB, free: 256 kB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.3311, allocations: 0 / 495.3 MB, free: 256 kB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000555/0.3316, allocations: 477 kB / 495.8 MB, free: 15.73 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.3316, allocations: 4 kB / 495.8 MB, free: 15.73 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004623/0.3321, allocations: 83.88 kB / 495.8 MB, free: 15.65 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.3321, allocations: 0 / 495.8 MB, free: 15.65 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.856e-05/0.3322, allocations: 19.98 kB / 495.9 MB, free: 15.63 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-06/0.3322, allocations: 8 kB / 495.9 MB, free: 15.62 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.3322, allocations: 0 / 495.9 MB, free: 15.62 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/0.3334, allocations: 0.7527 MB / 496.6 MB, free: 14.85 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/0.3335, allocations: 128.5 kB / 496.8 MB, free: 14.7 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.109e-05/0.3336, allocations: 16 kB / 496.8 MB, free: 14.69 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001582/0.3338, allocations: 19.98 kB / 496.8 MB, free: 14.67 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.324e-05/0.3338, allocations: 23.97 kB / 496.8 MB, free: 14.64 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.534e-05/0.3339, allocations: 11.98 kB / 496.8 MB, free: 14.63 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.0004251/0.3343, allocations: 334.8 kB / 497.2 MB, free: 14.3 MB / 378.8 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3343, allocations: 0 / 497.2 MB, free: 14.3 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.0005215/0.3349, allocations: 123.8 kB / 497.3 MB, free: 14.18 MB / 378.8 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003128/0.3352, allocations: 151.9 kB / 497.4 MB, free: 14.03 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.0009102/0.3361, allocations: 0.5444 MB / 498 MB, free: 13.47 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3361, allocations: 0 / 498 MB, free: 13.47 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003183/0.3364, allocations: 275.2 kB / 498.2 MB, free: 13.19 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003715/0.3368, allocations: 58.89 kB / 498.3 MB, free: 13.13 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001671/0.3385, allocations: 1.259 MB / 499.5 MB, free: 11.84 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004746/0.339, allocations: 0.8898 MB / 0.4887 GB, free: 10.93 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.0002879/0.3393, allocations: 104.1 kB / 0.4888 GB, free: 10.82 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.21e-05/0.3394, allocations: 39.42 kB / 0.4888 GB, free: 10.78 MB / 378.8 MB Notification: Performance of SimCode: time 2.31e-07/0.3394, allocations: 0 / 0.4888 GB, free: 10.78 MB / 378.8 MB Notification: Performance of Templates: time 0.008166/0.3475, allocations: 3.52 MB / 0.4923 GB, free: 7.266 MB / 378.8 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)