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.001602/0.001603, allocations: 106.5 kB / 16.35 MB, free: 5.824 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.001799/0.001799, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.478/1.478, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05898/0.05898, allocations: 10.73 MB / 281.3 MB, free: 1.297 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.001628/0.001629, allocations: 60.12 kB / 342 MB, free: 4.441 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.2483, allocations: 49.01 MB / 391 MB, free: 50.19 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl): time 0.003396/0.2518, allocations: 2.279 MB / 393.3 MB, free: 48.59 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00124/0.253, allocations: 0.6381 MB / 393.9 MB, free: 48.14 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001547/0.2532, allocations: 22.69 kB / 393.9 MB, free: 48.13 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002246/0.2534, allocations: 67.23 kB / 394 MB, free: 48.08 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001061/0.2536, allocations: 46.27 kB / 394 MB, free: 48.05 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007601/0.2543, allocations: 323.6 kB / 394.4 MB, free: 47.87 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006689/0.255, allocations: 0.6523 MB / 395 MB, free: 47.56 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002076/0.2552, allocations: 99.88 kB / 395.1 MB, free: 47.51 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002185/0.2555, allocations: 201.6 kB / 395.3 MB, free: 47.41 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000248/0.2557, allocations: 213.5 kB / 395.5 MB, free: 47.3 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.038e-05/0.2558, allocations: 37.31 kB / 395.5 MB, free: 47.3 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.91e-05/0.2559, allocations: 37 kB / 395.6 MB, free: 47.3 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001792/0.2561, allocations: 148.3 kB / 395.7 MB, free: 47.23 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001521/0.2562, allocations: 195.9 kB / 395.9 MB, free: 47.09 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000478/0.2567, allocations: 475 kB / 396.4 MB, free: 46.88 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.2567, allocations: 0.5156 kB / 396.4 MB, free: 46.88 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.083e-06/0.2567, allocations: 1.375 kB / 396.4 MB, free: 46.88 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.236e-06/0.2567, allocations: 0 / 396.4 MB, free: 46.88 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.001114/0.2579, allocations: 0.7457 MB / 397.1 MB, free: 46.29 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.2579, allocations: 13.77 kB / 397.1 MB, free: 46.29 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.288e-05/0.258, allocations: 52.5 kB / 397.2 MB, free: 46.26 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005705/0.2586, allocations: 435.1 kB / 397.6 MB, free: 45.94 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.886e-05/0.2586, allocations: 26.91 kB / 397.6 MB, free: 45.93 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.415e-05/0.2587, allocations: 39 kB / 397.7 MB, free: 45.91 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006583/0.2593, allocations: 414 kB / 398.1 MB, free: 45.71 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.2594, allocations: 1.312 kB / 398.1 MB, free: 45.71 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.495e-05/0.2594, allocations: 19.5 kB / 398.1 MB, free: 45.7 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.877e-05/0.2594, allocations: 8.188 kB / 398.1 MB, free: 45.7 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005568/0.26, allocations: 304.8 kB / 398.4 MB, free: 45.6 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001944/0.2619, allocations: 1.595 MB / 400 MB, free: 44.34 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003169/0.2623, allocations: 196.5 kB / 400.2 MB, free: 44.23 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001563/0.2624, allocations: 99.41 kB / 400.3 MB, free: 44.18 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.556e-05/0.2625, allocations: 6.188 kB / 400.3 MB, free: 44.18 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/0.2625, allocations: 40.55 kB / 400.3 MB, free: 44.13 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 1.302e-06/0.2625, allocations: 0 / 400.3 MB, free: 44.13 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.0006084/0.2631, allocations: 324.6 kB / 400.7 MB, free: 43.96 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.589e-05/0.2632, allocations: 58.58 kB / 400.7 MB, free: 43.89 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004296/0.2636, allocations: 468.4 kB / 401.2 MB, free: 43.61 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.2636, allocations: 27.05 kB / 401.2 MB, free: 43.58 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/0.2638, allocations: 267 kB / 401.5 MB, free: 43.34 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.439e-05/0.2638, allocations: 76.72 kB / 401.5 MB, free: 43.27 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.831e-05/0.2639, allocations: 76.89 kB / 401.6 MB, free: 43.22 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.417e-05/0.264, allocations: 349.7 kB / 402 MB, free: 42.88 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001776/0.2642, allocations: 98.02 kB / 402.1 MB, free: 42.83 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002145/0.2644, allocations: 235.1 kB / 402.3 MB, free: 42.61 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001431/0.2658, allocations: 0.5829 MB / 402.9 MB, free: 42.2 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.2659, allocations: 1.281 kB / 402.9 MB, free: 42.2 MB / 318.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005749/0.2664, allocations: 408.9 kB / 403.3 MB, free: 41.98 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.2665, allocations: 8.219 kB / 403.3 MB, free: 41.98 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.2665, allocations: 4.188 kB / 403.3 MB, free: 41.98 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/0.2665, allocations: 6.469 kB / 403.3 MB, free: 41.98 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003618/0.2669, allocations: 83.55 kB / 403.4 MB, free: 41.96 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.575e-05/0.2669, allocations: 10.94 kB / 403.4 MB, free: 41.96 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001674/0.2671, allocations: 48.45 kB / 403.4 MB, free: 41.93 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.708e-05/0.2671, allocations: 13.81 kB / 403.4 MB, free: 41.93 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.0002315/0.2673, allocations: 201.2 kB / 403.6 MB, free: 41.75 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.729e-05/0.2674, allocations: 42.09 kB / 403.7 MB, free: 41.73 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005512/0.268, allocations: 315.2 kB / 404 MB, free: 41.55 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.268, allocations: 2.375 kB / 404 MB, free: 41.55 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.268, allocations: 0 / 404 MB, free: 41.55 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.268, allocations: 5.453 kB / 404 MB, free: 41.54 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003823/0.2684, allocations: 413.7 kB / 404.4 MB, free: 41.19 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2684, allocations: 5.094 kB / 404.4 MB, free: 41.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003346/0.2688, allocations: 58.84 kB / 404.5 MB, free: 41.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.2688, allocations: 1.125 kB / 404.5 MB, free: 41.18 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/0.2688, allocations: 14.2 kB / 404.5 MB, free: 41.16 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.2688, allocations: 1.156 kB / 404.5 MB, free: 41.16 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.2688, allocations: 1.125 kB / 404.5 MB, free: 41.16 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006388/0.2695, allocations: 498.8 kB / 405 MB, free: 40.85 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.558e-05/0.2696, allocations: 118.6 kB / 405.1 MB, free: 40.73 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.144e-05/0.2696, allocations: 9.922 kB / 405.1 MB, free: 40.72 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.2697, allocations: 7.219 kB / 405.1 MB, free: 40.71 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.516e-05/0.2698, allocations: 12.08 kB / 405.1 MB, free: 40.71 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.2698, allocations: 12.14 kB / 405.1 MB, free: 40.7 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002848/0.2701, allocations: 320.1 kB / 405.4 MB, free: 40.51 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.2701, allocations: 1.562 kB / 405.4 MB, free: 40.51 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003535/0.2705, allocations: 63.59 kB / 405.5 MB, free: 40.49 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.0001042/0.2706, allocations: 111.9 kB / 405.6 MB, free: 40.39 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004552/0.2711, allocations: 263.3 kB / 405.9 MB, free: 40.27 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.2711, allocations: 5.25 kB / 405.9 MB, free: 40.27 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001702/0.2712, allocations: 119.2 kB / 406 MB, free: 40.21 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003634/0.2716, allocations: 45.69 kB / 406 MB, free: 40.19 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.2728, allocations: 0.7646 MB / 406.8 MB, free: 39.68 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002996/0.2731, allocations: 0.8493 MB / 407.6 MB, free: 38.91 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000176/0.2733, allocations: 71.2 kB / 407.7 MB, free: 38.88 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.037e-05/0.2733, allocations: 34.47 kB / 407.7 MB, free: 38.86 MB / 318.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2734, allocations: 0 / 407.7 MB, free: 38.86 MB / 318.1 MB Notification: Performance of Templates: time 0.00585/0.2792, allocations: 2.491 MB / 410.2 MB, free: 37.01 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 -s gbode -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl.pipe 2>&1)