Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl.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.Applications.ControlProblems.DecoupledControl.NoDecoupledControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl") translateModel(IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001707/0.001707, allocations: 110.2 kB / 15.99 MB, free: 6.352 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.001838/0.001838, allocations: 199.5 kB / 16.91 MB, free: 6.184 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.429/1.429, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.06536/0.06536, allocations: 11.2 MB / 301.9 MB, free: 4.32 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 63.89 kB / 364.8 MB, free: 5.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2033/0.2053, allocations: 51.97 MB / 416.7 MB, free: 22.69 MB / 302.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl): time 0.003015/0.2083, allocations: 2.44 MB / 419.2 MB, free: 20.24 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001141/0.2095, allocations: 0.6869 MB / 419.9 MB, free: 19.55 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001561/0.2097, allocations: 15.88 kB / 419.9 MB, free: 19.54 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002254/0.2099, allocations: 59.52 kB / 419.9 MB, free: 19.48 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001118/0.21, allocations: 25.61 kB / 420 MB, free: 19.45 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005828/0.2106, allocations: 328.1 kB / 420.3 MB, free: 19.13 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004548/0.2111, allocations: 0.7052 MB / 421 MB, free: 18.43 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001683/0.2113, allocations: 114.7 kB / 421.1 MB, free: 18.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001609/0.2114, allocations: 227 kB / 421.3 MB, free: 18.1 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001871/0.2116, allocations: 226.8 kB / 421.5 MB, free: 17.88 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.642e-05/0.2117, allocations: 40 kB / 421.6 MB, free: 17.84 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.095e-05/0.2117, allocations: 42.59 kB / 421.6 MB, free: 17.8 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.2119, allocations: 159.5 kB / 421.8 MB, free: 17.64 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.212, allocations: 214.6 kB / 422 MB, free: 17.43 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002427/0.2122, allocations: 389.2 kB / 422.4 MB, free: 17.05 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.748e-06/0.2122, allocations: 0 / 422.4 MB, free: 17.05 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2122, allocations: 0 / 422.4 MB, free: 17.05 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.757e-06/0.2123, allocations: 4 kB / 422.4 MB, free: 17.05 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.0009651/0.2132, allocations: 0.7754 MB / 423.2 MB, free: 16.22 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.2133, allocations: 11.89 kB / 423.2 MB, free: 16.21 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.143e-05/0.2133, allocations: 60.19 kB / 423.2 MB, free: 16.15 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003926/0.2137, allocations: 437.8 kB / 423.7 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.516e-05/0.2138, allocations: 37.38 kB / 423.7 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.754e-05/0.2138, allocations: 40.28 kB / 423.7 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005893/0.2144, allocations: 480.6 kB / 424.2 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.2145, allocations: 4.188 kB / 424.2 MB, free: 15.1 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.028e-05/0.2145, allocations: 19.94 kB / 424.2 MB, free: 15.08 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.2145, allocations: 12 kB / 424.2 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004717/0.215, allocations: 339.7 kB / 424.6 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001728/0.2167, allocations: 2.02 MB / 426.6 MB, free: 12.61 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002663/0.217, allocations: 201.9 kB / 426.8 MB, free: 12.41 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001304/0.2171, allocations: 88.81 kB / 426.9 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.367e-05/0.2172, allocations: 11.98 kB / 426.9 MB, free: 12.31 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.245e-05/0.2172, allocations: 38.5 kB / 426.9 MB, free: 12.26 MB / 302.1 MB Notification: Performance of pre-optimization done (n=20): time 1.313e-06/0.2172, allocations: 4 kB / 426.9 MB, free: 12.26 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005211/0.2177, allocations: 335.3 kB / 427.2 MB, free: 11.93 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.036e-05/0.2178, allocations: 51.41 kB / 427.3 MB, free: 11.86 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003625/0.2181, allocations: 0.4939 MB / 427.8 MB, free: 11.36 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.2182, allocations: 33.64 kB / 427.8 MB, free: 11.32 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.2183, allocations: 291.3 kB / 428.1 MB, free: 11.03 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.876e-05/0.2183, allocations: 82.89 kB / 428.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.946e-05/0.2184, allocations: 86.03 kB / 428.3 MB, free: 10.86 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.313e-05/0.2185, allocations: 354.8 kB / 428.6 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001584/0.2187, allocations: 104.8 kB / 428.7 MB, free: 10.4 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001957/0.2189, allocations: 276.1 kB / 429 MB, free: 10.05 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00135/0.2202, allocations: 0.6523 MB / 429.6 MB, free: 9.312 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.2202, allocations: 7.938 kB / 429.7 MB, free: 9.305 MB / 302.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005569/0.2208, allocations: 460.9 kB / 430.1 MB, free: 8.848 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.2208, allocations: 14.33 kB / 430.1 MB, free: 8.836 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.2208, allocations: 8 kB / 430.1 MB, free: 8.828 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.2208, allocations: 8 kB / 430.1 MB, free: 8.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003395/0.2212, allocations: 99.83 kB / 430.2 MB, free: 8.723 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.2212, allocations: 11.94 kB / 430.2 MB, free: 8.711 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001786/0.2214, allocations: 55.42 kB / 430.3 MB, free: 8.656 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.282e-05/0.2214, allocations: 20 kB / 430.3 MB, free: 8.637 MB / 302.1 MB Warning: Assuming fixed start value for the following 4 variables: process.P22.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real process.P21.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real process.P12.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real process.P11.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: 27 * Number of states: 0 () * Number of discrete variables: 8 (controller2.TS_in,controller1.TS_in,controller2.satLOW_in,controller2.satHIGH_in,controller2.ATreq_in,controller1.satLOW_in,controller1.satHIGH_in,controller1.ATreq_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0001861/0.2216, allocations: 215.7 kB / 430.5 MB, free: 8.418 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.139e-05/0.2217, allocations: 43.44 kB / 430.6 MB, free: 8.375 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004513/0.2221, allocations: 309.6 kB / 430.9 MB, free: 8.062 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.2221, allocations: 4 kB / 430.9 MB, free: 8.059 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2222, allocations: 4 kB / 430.9 MB, free: 8.055 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.2222, allocations: 0 / 430.9 MB, free: 8.055 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003206/0.2225, allocations: 429.2 kB / 431.3 MB, free: 7.586 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.2225, allocations: 0 / 431.3 MB, free: 7.586 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003206/0.2228, allocations: 67.91 kB / 431.4 MB, free: 7.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.2228, allocations: 4 kB / 431.4 MB, free: 7.516 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.923e-05/0.2229, allocations: 7.984 kB / 431.4 MB, free: 7.508 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.2229, allocations: 0 / 431.4 MB, free: 7.508 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2229, allocations: 0 / 431.4 MB, free: 7.508 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005213/0.2234, allocations: 0.4947 MB / 431.9 MB, free: 7 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.85e-05/0.2235, allocations: 120.6 kB / 432 MB, free: 6.863 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.945e-05/0.2235, allocations: 11.98 kB / 432 MB, free: 6.852 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/0.2237, allocations: 4 kB / 432 MB, free: 6.848 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.847e-05/0.2237, allocations: 15.98 kB / 432 MB, free: 6.832 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.2237, allocations: 7.984 kB / 432 MB, free: 6.824 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002444/0.224, allocations: 338.8 kB / 432.4 MB, free: 6.496 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.224, allocations: 4 kB / 432.4 MB, free: 6.492 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003428/0.2243, allocations: 71.78 kB / 432.4 MB, free: 6.422 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (process.P11.w,process.P12.w,process.P21.w,process.P22.w,controller1.FBout,controller2.FBout) * 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 9.419e-05/0.2244, allocations: 111.2 kB / 432.5 MB, free: 6.305 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004304/0.2249, allocations: 304.7 kB / 432.8 MB, free: 6.008 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.2249, allocations: 0 / 432.8 MB, free: 6.008 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001894/0.2251, allocations: 124.1 kB / 433 MB, free: 5.887 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003476/0.2254, allocations: 45.84 kB / 433 MB, free: 5.844 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009364/0.2264, allocations: 1.038 MB / 434 MB, free: 4.773 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002207/0.2266, allocations: 0.874 MB / 434.9 MB, free: 3.875 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.333e-05/0.2267, allocations: 31.44 kB / 434.9 MB, free: 3.844 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2267, allocations: 0 / 434.9 MB, free: 3.844 MB / 302.1 MB Notification: Performance of Templates: time 0.006134/0.2328, allocations: 5.087 MB / 440 MB, free: 14.76 MB / 318.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl.sim & ./IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl.pipe 2>&1)