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.001669/0.00167, allocations: 114.5 kB / 16.42 MB, free: 6.496 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.001878/0.001878, allocations: 188.3 kB / 17.35 MB, free: 5.758 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.278/1.278, 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.05929/0.05929, allocations: 10.73 MB / 281.3 MB, free: 1.301 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.001437/0.001437, allocations: 65.55 kB / 391.5 MB, free: 46.03 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0626/0.06404, allocations: 49.03 MB / 440.5 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestD_bias): time 0.002743/0.06682, allocations: 2.161 MB / 442.7 MB, free: 1.656 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001232/0.06807, allocations: 1.037 MB / 443.7 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001237/0.0682, allocations: 15.94 kB / 443.8 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002127/0.06843, allocations: 87.34 kB / 443.8 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.996e-05/0.06854, allocations: 67.5 kB / 443.9 MB, free: 452 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006145/0.06916, allocations: 319.3 kB / 444.2 MB, free: 132 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005534/0.06972, allocations: 0.5826 MB / 444.8 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001789/0.06991, allocations: 92.97 kB / 444.9 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002345/0.07016, allocations: 211.3 kB / 445.1 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003127/0.07048, allocations: 239.1 kB / 445.3 MB, free: 15.01 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.387e-05/0.07055, allocations: 32 kB / 445.4 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001673/0.07072, allocations: 107.9 kB / 445.5 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001596/0.07089, allocations: 155.5 kB / 445.6 MB, free: 14.72 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001868/0.07109, allocations: 214.5 kB / 445.8 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005078/0.0716, allocations: 0.5095 MB / 446.3 MB, free: 14 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.07161, allocations: 3.938 kB / 446.3 MB, free: 14 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.07162, allocations: 0 / 446.3 MB, free: 14 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.07164, allocations: 4 kB / 446.3 MB, free: 13.99 MB / 334.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.001283/0.07292, allocations: 0.8624 MB / 447.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.07296, allocations: 15.83 kB / 447.2 MB, free: 13.06 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.35e-05/0.07306, allocations: 64.52 kB / 447.3 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005495/0.07362, allocations: 438.2 kB / 447.7 MB, free: 12.53 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.845e-05/0.07367, allocations: 33.36 kB / 447.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.695e-05/0.07375, allocations: 44.33 kB / 447.8 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007644/0.07452, allocations: 0.5087 MB / 448.3 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.494e-05/0.07456, allocations: 4 kB / 448.3 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.704e-05/0.0746, allocations: 20 kB / 448.3 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.07462, allocations: 12 kB / 448.3 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006687/0.07529, allocations: 391.7 kB / 448.7 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002613/0.07792, allocations: 1.787 MB / 450.5 MB, free: 9.637 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004975/0.07843, allocations: 272.5 kB / 450.8 MB, free: 9.363 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002643/0.07871, allocations: 177.1 kB / 450.9 MB, free: 9.188 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.873e-05/0.07874, allocations: 4 kB / 450.9 MB, free: 9.184 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003709/0.07912, allocations: 265 kB / 451.2 MB, free: 8.906 MB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 1.893e-06/0.07913, allocations: 0 / 451.2 MB, free: 8.906 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.0009473/0.08009, allocations: 0.578 MB / 451.8 MB, free: 8.312 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.08015, allocations: 93.09 kB / 451.9 MB, free: 8.203 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004821/0.08063, allocations: 485.8 kB / 452.3 MB, free: 7.715 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.611e-05/0.08068, allocations: 33.7 kB / 452.4 MB, free: 7.676 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001809/0.08087, allocations: 280.5 kB / 452.7 MB, free: 7.398 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.676e-05/0.08097, allocations: 142.9 kB / 452.8 MB, free: 7.258 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001387/0.08111, allocations: 106.2 kB / 452.9 MB, free: 7.148 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.08126, allocations: 370.7 kB / 453.3 MB, free: 6.777 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002789/0.08155, allocations: 165.1 kB / 453.4 MB, free: 6.609 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003698/0.08192, allocations: 341.6 kB / 453.8 MB, free: 6.207 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002042/0.08398, allocations: 1.066 MB / 454.8 MB, free: 5.043 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.084, allocations: 8 kB / 454.8 MB, free: 5.035 MB / 334.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001022/0.08503, allocations: 0.7308 MB / 455.6 MB, free: 4.293 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.515e-05/0.08507, allocations: 33.7 kB / 455.6 MB, free: 4.254 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.08509, allocations: 7.938 kB / 455.6 MB, free: 4.246 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/0.08512, allocations: 12 kB / 455.6 MB, free: 4.234 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005017/0.08562, allocations: 131.8 kB / 455.7 MB, free: 4.105 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.08564, allocations: 8 kB / 455.7 MB, free: 4.098 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002386/0.08589, allocations: 63.56 kB / 455.8 MB, free: 4.035 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.846e-05/0.08595, allocations: 35.92 kB / 455.8 MB, free: 4 MB / 334.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.0003088/0.08626, allocations: 285.2 kB / 456.1 MB, free: 3.711 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.104e-05/0.08633, allocations: 51.67 kB / 456.2 MB, free: 3.66 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008241/0.08716, allocations: 0.5101 MB / 456.7 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.08718, allocations: 7.984 kB / 456.7 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.08719, allocations: 0 / 456.7 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.116e-05/0.08728, allocations: 124.7 kB / 456.8 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.82e-05/0.08736, allocations: 19.98 kB / 456.8 MB, free: 2.973 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/0.08753, allocations: 23.92 kB / 456.9 MB, free: 2.949 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.515e-05/0.0876, allocations: 20.25 kB / 456.9 MB, free: 2.93 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00136/0.08897, allocations: 0.7241 MB / 457.6 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001174/0.09015, allocations: 0.9352 MB / 458.5 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003062/0.09047, allocations: 232 kB / 458.8 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003241/0.09081, allocations: 331.1 kB / 459.1 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of Backend: time 3.11e-07/0.09081, allocations: 7.938 kB / 459.1 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009481/0.09177, allocations: 0.5185 MB / 459.6 MB, free: 136 kB / 334.1 MB Notification: Performance of SimCode: time 0.001451/0.09323, allocations: 1.562 MB / 461.2 MB, free: 14.5 MB / 350.1 MB Notification: Performance of Templates: time 0.009213/0.1025, allocations: 4.935 MB / 466.1 MB, free: 9.57 MB / 350.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.makefile (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)