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.001975/0.001975, allocations: 112.2 kB / 16.37 MB, free: 5.953 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.002337/0.002337, allocations: 190.2 kB / 17.3 MB, free: 5.578 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.578/1.578, 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.0574/0.0574, allocations: 10.75 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.001433/0.001433, allocations: 67.91 kB / 342 MB, free: 4.445 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3183, allocations: 49.01 MB / 391 MB, free: 49.92 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl): time 0.003926/0.3223, allocations: 2.277 MB / 393.3 MB, free: 48.32 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001498/0.3238, allocations: 0.6384 MB / 393.9 MB, free: 47.88 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001931/0.324, allocations: 14.75 kB / 393.9 MB, free: 47.87 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002464/0.3243, allocations: 70.44 kB / 394 MB, free: 47.82 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001138/0.3244, allocations: 47.38 kB / 394 MB, free: 47.79 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00111/0.3256, allocations: 327.4 kB / 394.4 MB, free: 47.61 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0011/0.3267, allocations: 0.6487 MB / 395 MB, free: 47.3 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002859/0.327, allocations: 100.5 kB / 395.1 MB, free: 47.25 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003257/0.3273, allocations: 208.1 kB / 395.3 MB, free: 47.15 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003553/0.3277, allocations: 198.3 kB / 395.5 MB, free: 47.05 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.109e-05/0.3278, allocations: 37.06 kB / 395.5 MB, free: 47.05 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.465e-05/0.3278, allocations: 36.94 kB / 395.6 MB, free: 47.05 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002069/0.3281, allocations: 149.7 kB / 395.7 MB, free: 46.98 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001793/0.3282, allocations: 198.8 kB / 395.9 MB, free: 46.84 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006692/0.3289, allocations: 476 kB / 396.4 MB, free: 46.63 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.3289, allocations: 4 kB / 396.4 MB, free: 46.62 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.748e-06/0.3289, allocations: 0 / 396.4 MB, free: 46.62 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.329, allocations: 3.938 kB / 396.4 MB, free: 46.62 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.001413/0.3304, allocations: 0.7451 MB / 397.1 MB, free: 46.04 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.717e-05/0.3304, allocations: 17.83 kB / 397.2 MB, free: 46.03 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001065/0.3306, allocations: 53.91 kB / 397.2 MB, free: 46 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007896/0.3314, allocations: 430.8 kB / 397.6 MB, free: 45.68 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.196e-05/0.3314, allocations: 26.03 kB / 397.7 MB, free: 45.67 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.3315, allocations: 35.48 kB / 397.7 MB, free: 45.66 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008339/0.3324, allocations: 409.8 kB / 398.1 MB, free: 45.46 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.436e-05/0.3324, allocations: 5.531 kB / 398.1 MB, free: 45.46 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.471e-05/0.3324, allocations: 15.47 kB / 398.1 MB, free: 45.45 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.5e-05/0.3325, allocations: 12.44 kB / 398.1 MB, free: 45.44 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006666/0.3331, allocations: 309.2 kB / 398.4 MB, free: 45.34 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002639/0.3358, allocations: 1.597 MB / 400 MB, free: 44.12 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003284/0.3361, allocations: 197.4 kB / 400.2 MB, free: 44.01 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001701/0.3363, allocations: 95.41 kB / 400.3 MB, free: 43.96 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.129e-05/0.3364, allocations: 7.25 kB / 400.3 MB, free: 43.96 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.3364, allocations: 39.64 kB / 400.4 MB, free: 43.91 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 2.004e-06/0.3364, allocations: 0 / 400.4 MB, free: 43.91 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.0007141/0.3371, allocations: 332.4 kB / 400.7 MB, free: 43.73 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.3372, allocations: 57.7 kB / 400.7 MB, free: 43.66 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005385/0.3377, allocations: 464.5 kB / 401.2 MB, free: 43.39 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.3377, allocations: 30.73 kB / 401.2 MB, free: 43.35 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001674/0.3379, allocations: 263.9 kB / 401.5 MB, free: 43.12 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.219e-05/0.338, allocations: 76.09 kB / 401.6 MB, free: 43.05 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.3381, allocations: 73.72 kB / 401.6 MB, free: 43 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.3382, allocations: 357.8 kB / 402 MB, free: 42.65 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001839/0.3384, allocations: 93.33 kB / 402.1 MB, free: 42.61 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002634/0.3387, allocations: 227.4 kB / 402.3 MB, free: 42.39 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00153/0.3402, allocations: 0.5847 MB / 402.9 MB, free: 41.98 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.3402, allocations: 0 / 402.9 MB, free: 41.98 MB / 318.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006656/0.3409, allocations: 401.1 kB / 403.3 MB, free: 41.77 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.3409, allocations: 7.094 kB / 403.3 MB, free: 41.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.341, allocations: 8.438 kB / 403.3 MB, free: 41.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.707e-05/0.341, allocations: 6.438 kB / 403.3 MB, free: 41.77 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003692/0.3414, allocations: 91.86 kB / 403.4 MB, free: 41.75 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.49e-05/0.3414, allocations: 9.578 kB / 403.4 MB, free: 41.74 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000178/0.3416, allocations: 41.97 kB / 403.4 MB, free: 41.71 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.175e-05/0.3416, allocations: 13.28 kB / 403.4 MB, free: 41.71 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.000264/0.3419, allocations: 219.7 kB / 403.7 MB, free: 41.53 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.91e-05/0.342, allocations: 41.66 kB / 403.7 MB, free: 41.5 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005615/0.3425, allocations: 306.1 kB / 404 MB, free: 41.33 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.3425, allocations: 2.594 kB / 404 MB, free: 41.33 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.3426, allocations: 1.125 kB / 404 MB, free: 41.33 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.3426, allocations: 3.984 kB / 404 MB, free: 41.32 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004472/0.343, allocations: 414.7 kB / 404.4 MB, free: 40.97 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.343, allocations: 1.125 kB / 404.4 MB, free: 40.97 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003604/0.3434, allocations: 62.31 kB / 404.5 MB, free: 40.96 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.3434, allocations: 1.156 kB / 404.5 MB, free: 40.96 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.253e-05/0.3434, allocations: 11.36 kB / 404.5 MB, free: 40.95 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.3435, allocations: 1.125 kB / 404.5 MB, free: 40.95 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3435, allocations: 7.938 kB / 404.5 MB, free: 40.94 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007177/0.3442, allocations: 490.1 kB / 405 MB, free: 40.63 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.946e-05/0.3443, allocations: 127.4 kB / 405.1 MB, free: 40.5 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.456e-05/0.3443, allocations: 10.28 kB / 405.1 MB, free: 40.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.3445, allocations: 7.062 kB / 405.1 MB, free: 40.49 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.212e-05/0.3446, allocations: 20.47 kB / 405.1 MB, free: 40.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.3446, allocations: 7.531 kB / 405.1 MB, free: 40.48 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003243/0.3449, allocations: 316.3 kB / 405.4 MB, free: 40.29 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.3449, allocations: 1 kB / 405.4 MB, free: 40.29 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003736/0.3453, allocations: 69.56 kB / 405.5 MB, free: 40.26 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.0001133/0.3454, allocations: 98 kB / 405.6 MB, free: 40.17 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004843/0.3459, allocations: 271.5 kB / 405.9 MB, free: 40.05 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.3459, allocations: 0 / 405.9 MB, free: 40.05 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001864/0.3461, allocations: 116.4 kB / 406 MB, free: 40 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003878/0.3465, allocations: 45.59 kB / 406 MB, free: 39.98 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.3477, allocations: 0.761 MB / 406.8 MB, free: 39.47 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000348/0.3481, allocations: 0.858 MB / 407.7 MB, free: 38.69 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002051/0.3483, allocations: 71.11 kB / 407.7 MB, free: 38.66 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.979e-05/0.3484, allocations: 30.12 kB / 407.7 MB, free: 38.65 MB / 318.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3484, allocations: 4 kB / 407.8 MB, free: 38.64 MB / 318.1 MB Notification: Performance of Templates: time 0.006519/0.3549, allocations: 2.481 MB / 410.2 MB, free: 36.88 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 cvode -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl.pipe 2>&1)