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 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.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.001257/0.001257, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.001112/0.001112, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.295/1.295, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05651/0.05651, allocations: 10.73 MB / 281.2 MB, free: 1.363 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.001498/0.001498, allocations: 72.66 kB / 341.2 MB, free: 5.188 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2306, allocations: 49.01 MB / 390.2 MB, free: 49.66 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl): time 0.003652/0.2343, allocations: 2.273 MB / 392.5 MB, free: 48.06 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001162/0.2355, allocations: 0.6424 MB / 393.1 MB, free: 47.61 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001628/0.2356, allocations: 10.25 kB / 393.1 MB, free: 47.61 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002289/0.2359, allocations: 67.16 kB / 393.2 MB, free: 47.56 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001094/0.236, allocations: 51.67 kB / 393.3 MB, free: 47.52 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007776/0.2368, allocations: 325.9 kB / 393.6 MB, free: 47.34 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006459/0.2374, allocations: 0.6453 MB / 394.2 MB, free: 47.04 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002026/0.2377, allocations: 105.1 kB / 394.3 MB, free: 46.98 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002219/0.2379, allocations: 199.6 kB / 394.5 MB, free: 46.89 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002706/0.2382, allocations: 205.1 kB / 394.7 MB, free: 46.79 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.714e-05/0.2382, allocations: 37.12 kB / 394.8 MB, free: 46.79 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.18e-05/0.2383, allocations: 37.12 kB / 394.8 MB, free: 46.79 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001642/0.2385, allocations: 152 kB / 394.9 MB, free: 46.71 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001625/0.2386, allocations: 196.8 kB / 395.1 MB, free: 46.57 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005039/0.2392, allocations: 472.5 kB / 395.6 MB, free: 46.36 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.2392, allocations: 2.125 kB / 395.6 MB, free: 46.36 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2392, allocations: 0 / 395.6 MB, free: 46.36 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.2392, allocations: 0 / 395.6 MB, free: 46.36 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.001118/0.2403, allocations: 0.7409 MB / 396.3 MB, free: 45.77 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.2404, allocations: 14.08 kB / 396.4 MB, free: 45.77 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.316e-05/0.2405, allocations: 53.45 kB / 396.4 MB, free: 45.74 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005137/0.241, allocations: 414.9 kB / 396.8 MB, free: 45.43 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.885e-05/0.241, allocations: 27.28 kB / 396.8 MB, free: 45.41 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.771e-05/0.2411, allocations: 39.05 kB / 396.9 MB, free: 45.4 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006357/0.2417, allocations: 409.5 kB / 397.3 MB, free: 45.2 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.2418, allocations: 1.719 kB / 397.3 MB, free: 45.2 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.183e-05/0.2418, allocations: 19.09 kB / 397.3 MB, free: 45.18 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.31e-05/0.2418, allocations: 9.031 kB / 397.3 MB, free: 45.18 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005505/0.2424, allocations: 303.9 kB / 397.6 MB, free: 45.09 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00202/0.2444, allocations: 1.598 MB / 399.2 MB, free: 43.99 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003472/0.2448, allocations: 208.4 kB / 399.4 MB, free: 43.89 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001535/0.2449, allocations: 99.77 kB / 399.5 MB, free: 43.83 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.211e-05/0.245, allocations: 10.73 kB / 399.5 MB, free: 43.82 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.245, allocations: 35.98 kB / 399.5 MB, free: 43.78 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 1.323e-06/0.245, allocations: 0 / 399.5 MB, free: 43.78 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.000576/0.2456, allocations: 324.6 kB / 399.9 MB, free: 43.61 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.444e-05/0.2456, allocations: 62.58 kB / 399.9 MB, free: 43.54 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004322/0.2461, allocations: 468.4 kB / 400.4 MB, free: 43.26 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.2461, allocations: 25.7 kB / 400.4 MB, free: 43.23 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/0.2462, allocations: 267.6 kB / 400.7 MB, free: 42.99 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.423e-05/0.2463, allocations: 76.28 kB / 400.7 MB, free: 42.92 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.794e-05/0.2464, allocations: 73.66 kB / 400.8 MB, free: 42.87 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.45e-05/0.2465, allocations: 353.7 kB / 401.2 MB, free: 42.53 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000172/0.2466, allocations: 101.7 kB / 401.3 MB, free: 42.48 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002151/0.2469, allocations: 228 kB / 401.5 MB, free: 42.26 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001414/0.2483, allocations: 0.5825 MB / 402.1 MB, free: 41.85 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.2483, allocations: 1.188 kB / 402.1 MB, free: 41.85 MB / 318.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.000591/0.2489, allocations: 404.8 kB / 402.5 MB, free: 41.64 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.2489, allocations: 6.594 kB / 402.5 MB, free: 41.64 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.2489, allocations: 8.359 kB / 402.5 MB, free: 41.63 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.525e-05/0.249, allocations: 6.719 kB / 402.5 MB, free: 41.63 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003423/0.2493, allocations: 88.41 kB / 402.6 MB, free: 41.61 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/0.2493, allocations: 9.484 kB / 402.6 MB, free: 41.61 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001615/0.2495, allocations: 41.44 kB / 402.6 MB, free: 41.58 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.734e-05/0.2495, allocations: 17.97 kB / 402.6 MB, free: 41.58 MB / 318.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: 19 * Number of states: 0 () * Number of discrete variables: 4 (controller2.TS_in,controller1.TS_in,controller2.ATreq_in,controller1.ATreq_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 44 * 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.0002178/0.2498, allocations: 215.9 kB / 402.8 MB, free: 41.39 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.356e-05/0.2498, allocations: 42.09 kB / 402.9 MB, free: 41.37 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005274/0.2504, allocations: 302.4 kB / 403.2 MB, free: 41.2 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.2504, allocations: 3.25 kB / 403.2 MB, free: 41.2 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.2504, allocations: 3.984 kB / 403.2 MB, free: 41.2 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.2504, allocations: 0 / 403.2 MB, free: 41.2 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003915/0.2508, allocations: 415.5 kB / 403.6 MB, free: 40.84 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2508, allocations: 0 / 403.6 MB, free: 40.84 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003245/0.2511, allocations: 71.08 kB / 403.7 MB, free: 40.82 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.2511, allocations: 5.344 kB / 403.7 MB, free: 40.82 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.876e-05/0.2512, allocations: 2.875 kB / 403.7 MB, free: 40.82 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.2512, allocations: 1.375 kB / 403.7 MB, free: 40.82 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2512, allocations: 0 / 403.7 MB, free: 40.82 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006228/0.2518, allocations: 495 kB / 404.2 MB, free: 40.5 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.614e-05/0.2519, allocations: 122.2 kB / 404.3 MB, free: 40.38 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.116e-05/0.2519, allocations: 10.19 kB / 404.3 MB, free: 40.37 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.2521, allocations: 7.219 kB / 404.3 MB, free: 40.37 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.526e-05/0.2521, allocations: 19.84 kB / 404.3 MB, free: 40.36 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/0.2522, allocations: 8.469 kB / 404.3 MB, free: 40.35 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000301/0.2525, allocations: 320.4 kB / 404.6 MB, free: 40.16 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2525, allocations: 0 / 404.6 MB, free: 40.16 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003556/0.2528, allocations: 65.03 kB / 404.7 MB, free: 40.14 MB / 318.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 0.0001037/0.2529, allocations: 116.2 kB / 404.8 MB, free: 40.03 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004919/0.2534, allocations: 285.7 kB / 405.1 MB, free: 39.9 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2535, allocations: 1.031 kB / 405.1 MB, free: 39.9 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001765/0.2536, allocations: 113.1 kB / 405.2 MB, free: 39.86 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000369/0.254, allocations: 42.91 kB / 405.2 MB, free: 39.83 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.2551, allocations: 0.8172 MB / 406.1 MB, free: 39.27 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002632/0.2554, allocations: 0.8582 MB / 406.9 MB, free: 38.49 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.918e-05/0.2555, allocations: 36.62 kB / 407 MB, free: 38.48 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2555, allocations: 0 / 407 MB, free: 38.48 MB / 318.1 MB Notification: Performance of Templates: time 0.005898/0.2614, allocations: 4.708 MB / 411.7 MB, free: 34.77 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)