Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo", uses=false) Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.TestP_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestP_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 104.3 kB / 16.27 MB, free: 6.051 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.00152/0.001521, allocations: 187.9 kB / 17.2 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.067/0.067, allocations: 11.2 MB / 302.3 MB, free: 4.172 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 63.89 kB / 365.3 MB, free: 5.109 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1887/0.1907, allocations: 51.98 MB / 417.2 MB, free: 22.51 MB / 302.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_bias): time 0.002747/0.1935, allocations: 2.199 MB / 419.4 MB, free: 20.3 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007072/0.1942, allocations: 454.4 kB / 419.9 MB, free: 19.86 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001371/0.1944, allocations: 11.88 kB / 419.9 MB, free: 19.85 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001863/0.1946, allocations: 63.33 kB / 420 MB, free: 19.79 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.733e-05/0.1947, allocations: 36.2 kB / 420 MB, free: 19.75 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004143/0.1951, allocations: 221 kB / 420.2 MB, free: 19.54 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003646/0.1955, allocations: 0.4937 MB / 420.7 MB, free: 19.04 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001719/0.1956, allocations: 87.66 kB / 420.8 MB, free: 18.96 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.1958, allocations: 164.8 kB / 420.9 MB, free: 18.8 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001703/0.196, allocations: 183.1 kB / 421.1 MB, free: 18.62 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.653e-05/0.196, allocations: 28 kB / 421.2 MB, free: 18.59 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.017e-05/0.1961, allocations: 28 kB / 421.2 MB, free: 18.57 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.1962, allocations: 134.5 kB / 421.3 MB, free: 18.44 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001073/0.1963, allocations: 178.8 kB / 421.5 MB, free: 18.26 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002374/0.1965, allocations: 372.6 kB / 421.9 MB, free: 17.9 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.1966, allocations: 0 / 421.9 MB, free: 17.9 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1966, allocations: 0 / 421.9 MB, free: 17.9 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.1966, allocations: 0 / 421.9 MB, free: 17.9 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.0009087/0.1975, allocations: 0.7364 MB / 422.6 MB, free: 17.11 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.1975, allocations: 15.89 kB / 422.6 MB, free: 17.1 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.658e-05/0.1976, allocations: 52.28 kB / 422.7 MB, free: 17.05 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003607/0.198, allocations: 371.6 kB / 423 MB, free: 16.64 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.597e-05/0.198, allocations: 29.38 kB / 423 MB, free: 16.61 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.167e-05/0.1981, allocations: 52.27 kB / 423.1 MB, free: 16.56 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000536/0.1986, allocations: 452 kB / 423.5 MB, free: 16.09 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/0.1986, allocations: 4.188 kB / 423.5 MB, free: 16.08 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.064e-05/0.1987, allocations: 27.92 kB / 423.6 MB, free: 16.05 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.1987, allocations: 12 kB / 423.6 MB, free: 16.04 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000454/0.1991, allocations: 310.3 kB / 423.9 MB, free: 15.74 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001785/0.2009, allocations: 1.892 MB / 425.8 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003854/0.2013, allocations: 176.9 kB / 425.9 MB, free: 13.57 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001585/0.2015, allocations: 112.8 kB / 426.1 MB, free: 13.46 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/0.2015, allocations: 11.98 kB / 426.1 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.495e-05/0.2016, allocations: 34.94 kB / 426.1 MB, free: 13.4 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.603e-06/0.2016, allocations: 3.938 kB / 426.1 MB, free: 13.4 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.0005575/0.2021, allocations: 321 kB / 426.4 MB, free: 13.08 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.176e-05/0.2022, allocations: 55.41 kB / 426.5 MB, free: 13.01 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003092/0.2025, allocations: 429.8 kB / 426.9 MB, free: 12.58 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.2025, allocations: 29.7 kB / 426.9 MB, free: 12.55 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.2026, allocations: 263.6 kB / 427.2 MB, free: 12.29 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.105e-05/0.2027, allocations: 78.89 kB / 427.3 MB, free: 12.21 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.784e-05/0.2027, allocations: 81.59 kB / 427.3 MB, free: 12.12 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.119e-05/0.2028, allocations: 354.7 kB / 427.7 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.203, allocations: 100.3 kB / 427.8 MB, free: 11.67 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000193/0.2032, allocations: 241.4 kB / 428 MB, free: 11.36 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001257/0.2044, allocations: 0.636 MB / 428.7 MB, free: 10.66 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.2045, allocations: 0 / 428.7 MB, free: 10.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005676/0.205, allocations: 457.7 kB / 429.1 MB, free: 10.2 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.2051, allocations: 8 kB / 429.1 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.2051, allocations: 4 kB / 429.1 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.2051, allocations: 8 kB / 429.1 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000324/0.2054, allocations: 99.83 kB / 429.2 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.2054, allocations: 19.86 kB / 429.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001693/0.2056, allocations: 55.42 kB / 429.3 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.104e-05/0.2056, allocations: 16 kB / 429.3 MB, free: 9.996 MB / 302.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: 22 * Number of states: 0 () * Number of discrete variables: 8 (R_Bias.TS_in,R.TS_in,R_Bias.satLOW_in,R_Bias.satHIGH_in,R_Bias.ATreq_in,R.satLOW_in,R.satHIGH_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.0001926/0.2058, allocations: 207.6 kB / 429.5 MB, free: 9.785 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.27e-05/0.2059, allocations: 35.53 kB / 429.5 MB, free: 9.75 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004618/0.2064, allocations: 296.7 kB / 429.8 MB, free: 9.453 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.2064, allocations: 4 kB / 429.8 MB, free: 9.449 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.2064, allocations: 3.938 kB / 429.8 MB, free: 9.445 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.2064, allocations: 0 / 429.8 MB, free: 9.445 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000315/0.2067, allocations: 385.3 kB / 430.2 MB, free: 9.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.2067, allocations: 4 kB / 430.2 MB, free: 9.016 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003028/0.207, allocations: 63.89 kB / 430.3 MB, free: 8.953 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.2071, allocations: 0 / 430.3 MB, free: 8.953 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.246e-05/0.2071, allocations: 15.98 kB / 430.3 MB, free: 8.938 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.2071, allocations: 3.938 kB / 430.3 MB, free: 8.934 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.2071, allocations: 11.88 kB / 430.3 MB, free: 8.922 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005498/0.2077, allocations: 482.4 kB / 430.8 MB, free: 8.434 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.235e-05/0.2077, allocations: 112.6 kB / 430.9 MB, free: 8.305 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.086e-05/0.2078, allocations: 8 kB / 430.9 MB, free: 8.297 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.2079, allocations: 15.98 kB / 430.9 MB, free: 8.281 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.487e-05/0.208, allocations: 19.91 kB / 430.9 MB, free: 8.262 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.208, allocations: 4 kB / 430.9 MB, free: 8.258 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002098/0.2082, allocations: 291.1 kB / 431.2 MB, free: 7.977 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2082, allocations: 0 / 431.2 MB, free: 7.977 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003372/0.2085, allocations: 71.69 kB / 431.3 MB, free: 7.906 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (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 (23): * Single equations (assignments): 23 * 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 8.718e-05/0.2086, allocations: 103.2 kB / 431.4 MB, free: 7.797 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004807/0.2091, allocations: 315.6 kB / 431.7 MB, free: 7.488 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.2092, allocations: 0 / 431.7 MB, free: 7.488 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001581/0.2093, allocations: 109.2 kB / 431.8 MB, free: 7.383 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.2097, allocations: 39.61 kB / 431.9 MB, free: 7.344 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.2107, allocations: 0.8496 MB / 432.7 MB, free: 6.461 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002321/0.2109, allocations: 0.8499 MB / 433.6 MB, free: 5.586 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.022e-05/0.211, allocations: 31.44 kB / 433.6 MB, free: 5.555 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.211, allocations: 0 / 433.6 MB, free: 5.555 MB / 302.1 MB Notification: Performance of Templates: time 0.005633/0.2167, allocations: 4.459 MB / 438 MB, free: 1.098 MB / 302.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe 2>&1)