Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_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.TestPI_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestPI_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 105.5 kB / 16.36 MB, free: 6.293 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.001589/0.001589, allocations: 193.4 kB / 17.3 MB, free: 5.859 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.448/1.448, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05834/0.05834, allocations: 10.74 MB / 281.3 MB, free: 1.305 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.001353/0.001353, allocations: 68.12 kB / 342 MB, free: 4.449 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2831/0.2844, allocations: 48.99 MB / 391 MB, free: 49.89 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPI_bias): time 0.003292/0.2877, allocations: 2.138 MB / 393.1 MB, free: 48.38 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001034/0.2888, allocations: 0.5285 MB / 393.6 MB, free: 48.02 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001332/0.2889, allocations: 14.91 kB / 393.7 MB, free: 48.02 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001913/0.2891, allocations: 54.02 kB / 393.7 MB, free: 47.98 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.861e-05/0.2893, allocations: 32.48 kB / 393.7 MB, free: 47.95 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007608/0.29, allocations: 260.2 kB / 394 MB, free: 47.82 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006139/0.2906, allocations: 0.5015 MB / 394.5 MB, free: 47.61 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002161/0.2909, allocations: 84.02 kB / 394.6 MB, free: 47.57 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002277/0.2911, allocations: 174.5 kB / 394.8 MB, free: 47.49 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003046/0.2914, allocations: 182.5 kB / 394.9 MB, free: 47.41 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.286e-05/0.2915, allocations: 28.81 kB / 395 MB, free: 47.41 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.48e-05/0.2916, allocations: 31.5 kB / 395 MB, free: 47.4 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001682/0.2917, allocations: 131.1 kB / 395.1 MB, free: 47.34 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001639/0.2919, allocations: 175 kB / 395.3 MB, free: 47.21 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005306/0.2924, allocations: 373 kB / 395.7 MB, free: 47.05 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2925, allocations: 0 / 395.7 MB, free: 47.05 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.2925, allocations: 0 / 395.7 MB, free: 47.05 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.817e-06/0.2925, allocations: 0 / 395.7 MB, free: 47.05 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001242/0.2937, allocations: 0.7297 MB / 396.4 MB, free: 46.48 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.2938, allocations: 12.8 kB / 396.4 MB, free: 46.47 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.983e-05/0.2939, allocations: 47.59 kB / 396.4 MB, free: 46.45 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006119/0.2945, allocations: 385.1 kB / 396.8 MB, free: 46.16 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.311e-05/0.2946, allocations: 27.12 kB / 396.8 MB, free: 46.15 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/0.2947, allocations: 36.06 kB / 396.9 MB, free: 46.14 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007426/0.2954, allocations: 423.5 kB / 397.3 MB, free: 45.94 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.568e-05/0.2955, allocations: 6.75 kB / 397.3 MB, free: 45.94 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.444e-05/0.2955, allocations: 15.09 kB / 397.3 MB, free: 45.93 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/0.2955, allocations: 9.469 kB / 397.3 MB, free: 45.93 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006248/0.2962, allocations: 309.1 kB / 397.6 MB, free: 45.84 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002434/0.2986, allocations: 1.524 MB / 399.2 MB, free: 44.84 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007181/0.2993, allocations: 235.2 kB / 399.4 MB, free: 44.73 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001739/0.2995, allocations: 120.9 kB / 399.5 MB, free: 44.66 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.375e-05/0.2996, allocations: 3.125 kB / 399.5 MB, free: 44.66 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.791e-05/0.2996, allocations: 35 kB / 399.5 MB, free: 44.62 MB / 318.1 MB Notification: Performance of pre-optimization done (n=25): time 1.794e-06/0.2996, allocations: 2.656 kB / 399.5 MB, free: 44.62 MB / 318.1 MB Notification: Performance of matching and sorting (n=25): time 0.0006862/0.3003, allocations: 365.7 kB / 399.9 MB, free: 44.43 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/0.3003, allocations: 62.27 kB / 400 MB, free: 44.36 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003831/0.3007, allocations: 402.1 kB / 400.3 MB, free: 44.11 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.3007, allocations: 34.52 kB / 400.4 MB, free: 44.07 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.3009, allocations: 240.2 kB / 400.6 MB, free: 43.86 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.272e-05/0.3009, allocations: 98.3 kB / 400.7 MB, free: 43.77 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.301, allocations: 72.77 kB / 400.8 MB, free: 43.73 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.087e-05/0.3011, allocations: 352.8 kB / 401.1 MB, free: 43.38 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001935/0.3013, allocations: 104.4 kB / 401.2 MB, free: 43.34 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002402/0.3016, allocations: 230 kB / 401.5 MB, free: 43.13 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001785/0.3034, allocations: 0.6695 MB / 402.1 MB, free: 42.7 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.3034, allocations: 1.469 kB / 402.1 MB, free: 42.7 MB / 318.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007025/0.3041, allocations: 447.7 kB / 402.6 MB, free: 42.48 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.3041, allocations: 16.73 kB / 402.6 MB, free: 42.47 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.3042, allocations: 7.172 kB / 402.6 MB, free: 42.46 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.413e-05/0.3042, allocations: 9.5 kB / 402.6 MB, free: 42.46 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003874/0.3046, allocations: 101.8 kB / 402.7 MB, free: 42.44 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.64e-05/0.3046, allocations: 10.84 kB / 402.7 MB, free: 42.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001887/0.3048, allocations: 47.58 kB / 402.8 MB, free: 42.4 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.295e-05/0.3048, allocations: 17.06 kB / 402.8 MB, free: 42.4 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 (51): * Single equations (assignments): 51 * 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.0002413/0.3051, allocations: 188.4 kB / 403 MB, free: 42.24 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.478e-05/0.3052, allocations: 39.84 kB / 403 MB, free: 42.21 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006281/0.3058, allocations: 342.1 kB / 403.3 MB, free: 42.01 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.3058, allocations: 3.406 kB / 403.3 MB, free: 42.01 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3058, allocations: 0 / 403.3 MB, free: 42.01 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3058, allocations: 1.219 kB / 403.3 MB, free: 42.01 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004043/0.3062, allocations: 394.3 kB / 403.7 MB, free: 41.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.3062, allocations: 7.922 kB / 403.7 MB, free: 41.67 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003999/0.3067, allocations: 83.89 kB / 403.8 MB, free: 41.64 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.229e-06/0.3067, allocations: 5.031 kB / 403.8 MB, free: 41.64 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.984e-05/0.3067, allocations: 11.48 kB / 403.8 MB, free: 41.63 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.3067, allocations: 2.25 kB / 403.8 MB, free: 41.63 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3067, allocations: 0 / 403.8 MB, free: 41.63 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006988/0.3074, allocations: 0.5197 MB / 404.3 MB, free: 41.31 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.09e-05/0.3075, allocations: 129.8 kB / 404.5 MB, free: 41.18 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.831e-05/0.3076, allocations: 11.55 kB / 404.5 MB, free: 41.17 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.3077, allocations: 14.39 kB / 404.5 MB, free: 41.16 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.631e-05/0.3078, allocations: 20.41 kB / 404.5 MB, free: 41.15 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.3078, allocations: 9.375 kB / 404.5 MB, free: 41.14 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002552/0.3081, allocations: 271.9 kB / 404.8 MB, free: 40.98 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.3081, allocations: 0 / 404.8 MB, free: 40.98 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003674/0.3084, allocations: 72.44 kB / 404.9 MB, free: 40.95 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (R.FBout,R_Bias.FBout,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 (29): * Single equations (assignments): 29 * 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.0001224/0.3086, allocations: 114.2 kB / 405 MB, free: 40.85 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005387/0.3091, allocations: 301.2 kB / 405.3 MB, free: 40.73 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3091, allocations: 0.9375 kB / 405.3 MB, free: 40.73 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002087/0.3093, allocations: 136.4 kB / 405.4 MB, free: 40.67 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003868/0.3097, allocations: 44.3 kB / 405.4 MB, free: 40.64 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/0.3111, allocations: 0.8156 MB / 406.3 MB, free: 40.11 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003263/0.3114, allocations: 0.8364 MB / 407.1 MB, free: 39.35 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002015/0.3116, allocations: 76.61 kB / 407.2 MB, free: 39.32 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.107e-05/0.3117, allocations: 38.89 kB / 407.2 MB, free: 39.3 MB / 318.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3117, allocations: 0 / 407.2 MB, free: 39.3 MB / 318.1 MB Notification: Performance of Templates: time 0.006225/0.318, allocations: 2.502 MB / 409.7 MB, free: 37.39 MB / 318.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe 2>&1)