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.0009635/0.0009636, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001065/0.001065, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.3/1.3, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05395/0.05395, allocations: 10.73 MB / 281.1 MB, free: 10.55 MB / 238.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.0005239/0.000524, allocations: 12.22 kB / 341.6 MB, free: 23.87 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08322/0.08375, allocations: 50.01 MB / 391.6 MB, free: 5.797 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl): time 0.00229/0.08608, allocations: 1.89 MB / 393.5 MB, free: 3.895 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001032/0.08714, allocations: 0.6196 MB / 394.1 MB, free: 3.273 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001904/0.08735, allocations: 11.94 kB / 394.1 MB, free: 3.262 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001831/0.08755, allocations: 43.64 kB / 394.2 MB, free: 3.219 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001304/0.08769, allocations: 39.83 kB / 394.2 MB, free: 3.18 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006575/0.08835, allocations: 227.5 kB / 394.4 MB, free: 2.957 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004937/0.08886, allocations: 344.2 kB / 394.8 MB, free: 2.617 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001792/0.08905, allocations: 89.73 kB / 394.8 MB, free: 2.52 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002504/0.08931, allocations: 167.2 kB / 395 MB, free: 2.355 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002556/0.08957, allocations: 167.1 kB / 395.2 MB, free: 2.191 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.941e-05/0.08963, allocations: 12 kB / 395.2 MB, free: 2.18 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.237e-05/0.08968, allocations: 12 kB / 395.2 MB, free: 2.168 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001425/0.08983, allocations: 123.5 kB / 395.3 MB, free: 2.047 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.642e-05/0.08992, allocations: 85.45 kB / 395.4 MB, free: 1.957 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000314/0.09024, allocations: 347.5 kB / 395.7 MB, free: 1.617 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.09026, allocations: 0 / 395.7 MB, free: 1.617 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.09027, allocations: 4 kB / 395.7 MB, free: 1.613 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.419e-05/0.09029, allocations: 0 / 395.7 MB, free: 1.613 MB / 286.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.001148/0.09144, allocations: 0.6699 MB / 396.4 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.09149, allocations: 8.031 kB / 396.4 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001461/0.09164, allocations: 55.3 kB / 396.5 MB, free: 0.832 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006354/0.09228, allocations: 397 kB / 396.9 MB, free: 412 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.355e-05/0.09235, allocations: 24.66 kB / 396.9 MB, free: 388 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.215e-05/0.09243, allocations: 39.91 kB / 396.9 MB, free: 348 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006779/0.09311, allocations: 407.5 kB / 397.3 MB, free: 15.92 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.09314, allocations: 0 / 397.3 MB, free: 15.92 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.272e-05/0.09318, allocations: 12 kB / 397.3 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.0932, allocations: 8 kB / 397.3 MB, free: 15.9 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005393/0.09374, allocations: 318.3 kB / 397.7 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002178/0.09593, allocations: 1.6 MB / 399.3 MB, free: 13.9 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000324/0.09628, allocations: 210.4 kB / 399.5 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.974e-05/0.09633, allocations: 0 / 399.5 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.09637, allocations: 34.56 kB / 399.5 MB, free: 13.64 MB / 302.1 MB Notification: Performance of pre-optimization done (n=20): time 2.715e-06/0.09638, allocations: 0 / 399.5 MB, free: 13.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.0006504/0.09703, allocations: 349.2 kB / 399.8 MB, free: 13.29 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/0.09708, allocations: 55.41 kB / 399.9 MB, free: 13.23 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004703/0.09756, allocations: 461.8 kB / 400.3 MB, free: 12.77 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.09759, allocations: 29.7 kB / 400.4 MB, free: 12.73 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00017/0.09777, allocations: 263.8 kB / 400.6 MB, free: 12.47 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.31e-05/0.09783, allocations: 78.91 kB / 400.7 MB, free: 12.39 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.229e-05/0.09785, allocations: 4 kB / 400.7 MB, free: 12.39 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.09799, allocations: 358.8 kB / 401.1 MB, free: 12.03 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001814/0.09817, allocations: 96.27 kB / 401.2 MB, free: 11.93 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002486/0.09843, allocations: 229 kB / 401.4 MB, free: 11.65 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002364/0.09868, allocations: 141.1 kB / 401.5 MB, free: 11.51 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.09869, allocations: 0 / 401.5 MB, free: 11.51 MB / 302.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006022/0.0993, allocations: 412.5 kB / 401.9 MB, free: 11.1 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.09933, allocations: 8 kB / 401.9 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.09934, allocations: 4 kB / 401.9 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.09937, allocations: 12.56 kB / 401.9 MB, free: 11.08 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003456/0.09972, allocations: 95.83 kB / 402 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.09974, allocations: 8 kB / 402 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001723/0.09992, allocations: 39.55 kB / 402.1 MB, free: 10.94 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.588e-05/0.09995, allocations: 23.98 kB / 402.1 MB, free: 10.91 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.P11.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 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002424/0.1002, allocations: 202.6 kB / 402.3 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.642e-05/0.1003, allocations: 35.53 kB / 402.3 MB, free: 10.67 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005521/0.1008, allocations: 321.4 kB / 402.7 MB, free: 10.35 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.1008, allocations: 0 / 402.7 MB, free: 10.35 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1008, allocations: 0 / 402.7 MB, free: 10.35 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1009, allocations: 0 / 402.7 MB, free: 10.35 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004209/0.1013, allocations: 413.2 kB / 403.1 MB, free: 9.898 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.1013, allocations: 0 / 403.1 MB, free: 9.898 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003316/0.1016, allocations: 71.89 kB / 403.1 MB, free: 9.828 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.1017, allocations: 8 kB / 403.1 MB, free: 9.82 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.09e-05/0.1017, allocations: 4 kB / 403.1 MB, free: 9.816 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.1017, allocations: 11.88 kB / 403.1 MB, free: 9.805 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1017, allocations: 0 / 403.1 MB, free: 9.805 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006939/0.1024, allocations: 0.4991 MB / 403.6 MB, free: 9.289 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.554e-05/0.1025, allocations: 112.6 kB / 403.8 MB, free: 9.16 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.26e-05/0.1026, allocations: 8.062 kB / 403.8 MB, free: 9.152 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.1027, allocations: 11.98 kB / 403.8 MB, free: 9.141 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.137e-05/0.1028, allocations: 15.98 kB / 403.8 MB, free: 9.125 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.1028, allocations: 4 kB / 403.8 MB, free: 9.121 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003413/0.1031, allocations: 319.1 kB / 404.1 MB, free: 8.812 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.1031, allocations: 4 kB / 404.1 MB, free: 8.809 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003454/0.1035, allocations: 63.75 kB / 404.2 MB, free: 8.746 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001289/0.1036, allocations: 111.2 kB / 404.3 MB, free: 8.625 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005175/0.1041, allocations: 268.4 kB / 404.5 MB, free: 8.363 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.185e-06/0.1041, allocations: 0 / 404.5 MB, free: 8.363 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002173/0.1044, allocations: 115.9 kB / 404.7 MB, free: 8.25 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/0.1047, allocations: 33.92 kB / 404.7 MB, free: 8.219 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/0.1059, allocations: 0.9033 MB / 405.6 MB, free: 7.289 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004083/0.1063, allocations: 0.8697 MB / 406.5 MB, free: 6.391 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001858/0.1065, allocations: 63.23 kB / 406.5 MB, free: 6.324 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.244e-05/0.1066, allocations: 35.44 kB / 406.6 MB, free: 6.289 MB / 302.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1066, allocations: 0 / 406.6 MB, free: 6.289 MB / 302.1 MB Notification: Performance of Templates: time 0.005932/0.1125, allocations: 2.261 MB / 408.8 MB, free: 4.055 MB / 302.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: