Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_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.TestI_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestI_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 106.2 kB / 16.37 MB, free: 6.426 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.001082/0.001082, allocations: 197.3 kB / 17.31 MB, free: 5.801 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.428/1.428, allocations: 205.1 MB / 223.2 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05905/0.05905, allocations: 10.74 MB / 281.3 MB, free: 1.332 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.002602/0.002602, allocations: 75.91 kB / 342 MB, free: 4.473 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3113/0.3139, allocations: 49 MB / 391 MB, free: 50.27 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_bias): time 0.004303/0.3183, allocations: 2.105 MB / 393.1 MB, free: 48.79 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001182/0.3195, allocations: 0.4922 MB / 393.6 MB, free: 48.45 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001413/0.3197, allocations: 9.25 kB / 393.6 MB, free: 48.45 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002107/0.3199, allocations: 52.11 kB / 393.7 MB, free: 48.41 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.892e-05/0.32, allocations: 34.89 kB / 393.7 MB, free: 48.39 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006152/0.3206, allocations: 242 kB / 393.9 MB, free: 48.26 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005801/0.3212, allocations: 0.4906 MB / 394.4 MB, free: 48.05 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002112/0.3214, allocations: 88.7 kB / 394.5 MB, free: 48.02 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001923/0.3216, allocations: 170.1 kB / 394.7 MB, free: 47.94 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002673/0.3219, allocations: 178 kB / 394.8 MB, free: 47.86 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.531e-05/0.322, allocations: 29 kB / 394.9 MB, free: 47.86 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.96e-05/0.322, allocations: 28.88 kB / 394.9 MB, free: 47.86 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000157/0.3222, allocations: 122.5 kB / 395 MB, free: 47.8 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001572/0.3224, allocations: 171.1 kB / 395.2 MB, free: 47.68 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004249/0.3228, allocations: 366.8 kB / 395.5 MB, free: 47.52 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.3228, allocations: 5.375 kB / 395.5 MB, free: 47.52 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.3228, allocations: 0 / 395.5 MB, free: 47.52 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.3228, allocations: 0 / 395.5 MB, free: 47.52 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001212/0.3241, allocations: 0.7246 MB / 396.3 MB, free: 46.95 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.3241, allocations: 12.33 kB / 396.3 MB, free: 46.95 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001049/0.3242, allocations: 47.61 kB / 396.3 MB, free: 46.93 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005922/0.3248, allocations: 376 kB / 396.7 MB, free: 46.64 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-05/0.3249, allocations: 80.78 kB / 396.8 MB, free: 46.56 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.39e-05/0.325, allocations: 35.94 kB / 396.8 MB, free: 46.55 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006983/0.3257, allocations: 414 kB / 397.2 MB, free: 46.36 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.595e-05/0.3257, allocations: 10.31 kB / 397.2 MB, free: 46.36 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.316e-05/0.3258, allocations: 12.28 kB / 397.2 MB, free: 46.35 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.3258, allocations: 12.06 kB / 397.3 MB, free: 46.34 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005919/0.3264, allocations: 301 kB / 397.5 MB, free: 46.26 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002364/0.3288, allocations: 1.565 MB / 399.1 MB, free: 45.17 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004141/0.3292, allocations: 182.6 kB / 399.3 MB, free: 45.07 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002056/0.3294, allocations: 124.9 kB / 399.4 MB, free: 45.01 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.629e-05/0.3294, allocations: 10.67 kB / 399.4 MB, free: 45 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.3295, allocations: 33.41 kB / 399.5 MB, free: 44.96 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 2.084e-06/0.3295, allocations: 0 / 399.5 MB, free: 44.96 MB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.0006703/0.3302, allocations: 337.1 kB / 399.8 MB, free: 44.79 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.575e-05/0.3302, allocations: 58.22 kB / 399.8 MB, free: 44.72 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004039/0.3306, allocations: 395.4 kB / 400.2 MB, free: 44.48 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.3306, allocations: 34.84 kB / 400.3 MB, free: 44.44 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.3308, allocations: 231.2 kB / 400.5 MB, free: 44.23 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.276e-05/0.3308, allocations: 93.52 kB / 400.6 MB, free: 44.15 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.873e-05/0.331, allocations: 71.39 kB / 400.6 MB, free: 44.1 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.933e-05/0.331, allocations: 360.5 kB / 401 MB, free: 43.75 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001828/0.3312, allocations: 98.17 kB / 401.1 MB, free: 43.7 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000223/0.3315, allocations: 216.1 kB / 401.3 MB, free: 43.51 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001436/0.3329, allocations: 0.6317 MB / 401.9 MB, free: 43.09 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.3329, allocations: 1.188 kB / 401.9 MB, free: 43.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006455/0.3336, allocations: 429.4 kB / 402.4 MB, free: 42.87 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.3336, allocations: 6.5 kB / 402.4 MB, free: 42.87 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.3336, allocations: 3.688 kB / 402.4 MB, free: 42.87 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/0.3336, allocations: 7.406 kB / 402.4 MB, free: 42.87 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003849/0.334, allocations: 102.8 kB / 402.5 MB, free: 42.84 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.339e-05/0.3341, allocations: 5.5 kB / 402.5 MB, free: 42.84 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001704/0.3342, allocations: 51.27 kB / 402.5 MB, free: 42.8 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.108e-05/0.3343, allocations: 24.11 kB / 402.6 MB, free: 42.79 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 (48): * Single equations (assignments): 48 * 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.0002187/0.3345, allocations: 189 kB / 402.7 MB, free: 42.63 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.977e-05/0.3346, allocations: 35.94 kB / 402.8 MB, free: 42.61 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005309/0.3351, allocations: 293.9 kB / 403.1 MB, free: 42.44 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.3351, allocations: 3.25 kB / 403.1 MB, free: 42.44 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.3351, allocations: 4 kB / 403.1 MB, free: 42.44 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.3351, allocations: 3.938 kB / 403.1 MB, free: 42.43 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004017/0.3355, allocations: 392.8 kB / 403.5 MB, free: 42.1 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3356, allocations: 0 / 403.5 MB, free: 42.1 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003838/0.3359, allocations: 73.97 kB / 403.5 MB, free: 42.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.336, allocations: 1.625 kB / 403.5 MB, free: 42.07 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.668e-05/0.336, allocations: 11.7 kB / 403.5 MB, free: 42.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.336, allocations: 5.031 kB / 403.5 MB, free: 42.06 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.336, allocations: 3.984 kB / 403.6 MB, free: 42.06 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006493/0.3367, allocations: 0.4945 MB / 404 MB, free: 41.74 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.338e-05/0.3368, allocations: 116.9 kB / 404.2 MB, free: 41.62 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.492e-05/0.3368, allocations: 7.594 kB / 404.2 MB, free: 41.62 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/0.337, allocations: 13.8 kB / 404.2 MB, free: 41.61 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.257e-05/0.337, allocations: 22.38 kB / 404.2 MB, free: 41.59 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.3371, allocations: 5.406 kB / 404.2 MB, free: 41.59 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002536/0.3373, allocations: 273.6 kB / 404.5 MB, free: 41.42 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3373, allocations: 1.562 kB / 404.5 MB, free: 41.42 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000353/0.3377, allocations: 64.91 kB / 404.5 MB, free: 41.4 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (R.Iout,R_Bias.Iout,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 (24): * Single equations (assignments): 24 * 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.0001321/0.3378, allocations: 112.9 kB / 404.6 MB, free: 41.3 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000569/0.3384, allocations: 290.8 kB / 404.9 MB, free: 41.18 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3384, allocations: 0 / 404.9 MB, free: 41.18 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002259/0.3387, allocations: 123.8 kB / 405.1 MB, free: 41.13 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003769/0.339, allocations: 38.8 kB / 405.1 MB, free: 41.11 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001375/0.3404, allocations: 0.7845 MB / 405.9 MB, free: 40.59 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000382/0.3408, allocations: 0.8367 MB / 406.7 MB, free: 39.82 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000194/0.341, allocations: 77.5 kB / 406.8 MB, free: 39.79 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.435e-05/0.3411, allocations: 27.62 kB / 406.8 MB, free: 39.79 MB / 318.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3411, allocations: 0 / 406.8 MB, free: 39.79 MB / 318.1 MB Notification: Performance of Templates: time 0.005913/0.347, allocations: 2.35 MB / 409.2 MB, free: 38.11 MB / 318.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe 2>&1)