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.008056/0.008056, allocations: 101.8 kB / 15.73 MB, free: 5.969 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.001321/0.001321, allocations: 197 kB / 16.67 MB, free: 5.906 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.613/1.613, allocations: 205.1 MB / 222.6 MB, free: 4.488 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05777/0.05777, allocations: 10.74 MB / 280.6 MB, free: 10.42 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.001326/0.001326, allocations: 60.53 kB / 390.8 MB, free: 5.055 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3528/0.3541, allocations: 49.02 MB / 439.8 MB, free: 5.359 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl): time 0.004091/0.3583, allocations: 2.272 MB / 442.1 MB, free: 3.738 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001571/0.3599, allocations: 0.6497 MB / 442.8 MB, free: 3.285 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002322/0.3601, allocations: 11.28 kB / 442.8 MB, free: 3.281 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002712/0.3604, allocations: 74.52 kB / 442.9 MB, free: 3.227 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001242/0.3605, allocations: 47.61 kB / 442.9 MB, free: 3.191 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007954/0.3613, allocations: 326.5 kB / 443.2 MB, free: 3.008 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008379/0.3622, allocations: 0.6441 MB / 443.9 MB, free: 2.715 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002405/0.3624, allocations: 101.3 kB / 444 MB, free: 2.664 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002745/0.3627, allocations: 206.8 kB / 444.2 MB, free: 2.566 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003146/0.363, allocations: 203.9 kB / 444.4 MB, free: 2.465 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.122e-05/0.3631, allocations: 41.44 kB / 444.4 MB, free: 2.461 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.327e-05/0.3632, allocations: 37.09 kB / 444.4 MB, free: 2.461 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002514/0.3635, allocations: 153.1 kB / 444.6 MB, free: 2.387 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002064/0.3637, allocations: 199.7 kB / 444.8 MB, free: 2.238 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006023/0.3643, allocations: 477.6 kB / 445.3 MB, free: 2.031 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3643, allocations: 0 / 445.3 MB, free: 2.031 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3643, allocations: 0 / 445.3 MB, free: 2.031 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.574e-05/0.3644, allocations: 1 kB / 445.3 MB, free: 2.031 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.001223/0.3656, allocations: 0.7393 MB / 446 MB, free: 1.445 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.3656, allocations: 14.25 kB / 446 MB, free: 1.441 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/0.3658, allocations: 53.38 kB / 446.1 MB, free: 1.414 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006341/0.3664, allocations: 439.7 kB / 446.5 MB, free: 1.09 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.746e-05/0.3664, allocations: 25.94 kB / 446.5 MB, free: 1.078 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.077e-05/0.3665, allocations: 38.72 kB / 446.6 MB, free: 1.062 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007909/0.3673, allocations: 409.2 kB / 447 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/0.3674, allocations: 6.125 kB / 447 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.785e-05/0.3674, allocations: 15.34 kB / 447 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.463e-05/0.3674, allocations: 8.781 kB / 447 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006486/0.3681, allocations: 309.1 kB / 447.3 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002375/0.3705, allocations: 1.589 MB / 448.9 MB, free: 15.44 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004155/0.3709, allocations: 200.6 kB / 449.1 MB, free: 15.33 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001919/0.3711, allocations: 98.61 kB / 449.2 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.683e-05/0.3711, allocations: 10.62 kB / 449.2 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.717e-05/0.3712, allocations: 31.78 kB / 449.2 MB, free: 15.23 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.593e-06/0.3712, allocations: 0 / 449.2 MB, free: 15.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.0007319/0.3719, allocations: 329.2 kB / 449.5 MB, free: 15.05 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.372, allocations: 53.84 kB / 449.6 MB, free: 14.99 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005674/0.3726, allocations: 469.1 kB / 450 MB, free: 14.7 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.3726, allocations: 29.7 kB / 450.1 MB, free: 14.67 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000193/0.3728, allocations: 267.4 kB / 450.3 MB, free: 14.43 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.23e-05/0.3729, allocations: 72.28 kB / 450.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.373, allocations: 74.52 kB / 450.5 MB, free: 14.31 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.3732, allocations: 353.3 kB / 450.8 MB, free: 13.97 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001945/0.3734, allocations: 92.55 kB / 450.9 MB, free: 13.93 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002742/0.3737, allocations: 224 kB / 451.1 MB, free: 13.71 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001593/0.3753, allocations: 0.5827 MB / 451.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.3753, allocations: 1.375 kB / 451.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0007431/0.376, allocations: 411.1 kB / 452.1 MB, free: 13.08 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.871e-05/0.3761, allocations: 6.406 kB / 452.1 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.102e-05/0.3761, allocations: 4.219 kB / 452.1 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.086e-05/0.3761, allocations: 10.94 kB / 452.1 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003969/0.3765, allocations: 87.64 kB / 452.2 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.799e-05/0.3766, allocations: 5.812 kB / 452.2 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001915/0.3768, allocations: 49.92 kB / 452.3 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.373e-05/0.3768, allocations: 13.62 kB / 452.3 MB, free: 13.02 MB / 334.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.0003112/0.3771, allocations: 214.3 kB / 452.5 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.04e-05/0.3772, allocations: 37.28 kB / 452.5 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006572/0.3779, allocations: 307.7 kB / 452.8 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.3779, allocations: 3.219 kB / 452.8 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.3779, allocations: 0 / 452.8 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.3779, allocations: 1.312 kB / 452.8 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005334/0.3784, allocations: 414 kB / 453.2 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.3784, allocations: 0 / 453.2 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003507/0.3788, allocations: 72.33 kB / 453.3 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.3788, allocations: 1.188 kB / 453.3 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/0.3788, allocations: 6.438 kB / 453.3 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.746e-06/0.3789, allocations: 5.125 kB / 453.3 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3789, allocations: 0 / 453.3 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007935/0.3797, allocations: 0.4902 MB / 453.8 MB, free: 11.94 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.3798, allocations: 122.6 kB / 453.9 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.723e-05/0.3798, allocations: 10.12 kB / 453.9 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.38, allocations: 12.27 kB / 454 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.368e-05/0.3801, allocations: 11.61 kB / 454 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-05/0.3801, allocations: 8.938 kB / 454 MB, free: 11.79 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003992/0.3805, allocations: 319.8 kB / 454.3 MB, free: 11.59 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3805, allocations: 0 / 454.3 MB, free: 11.59 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003825/0.3809, allocations: 65.56 kB / 454.4 MB, free: 11.57 MB / 334.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.00012/0.381, allocations: 115 kB / 454.5 MB, free: 11.47 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005448/0.3816, allocations: 262.2 kB / 454.7 MB, free: 11.36 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3816, allocations: 1.125 kB / 454.7 MB, free: 11.36 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002141/0.3818, allocations: 112.9 kB / 454.8 MB, free: 11.31 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004137/0.3822, allocations: 40.78 kB / 454.9 MB, free: 11.29 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.3836, allocations: 0.756 MB / 455.6 MB, free: 10.78 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006204/0.3843, allocations: 0.8585 MB / 456.5 MB, free: 9.996 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000209/0.3845, allocations: 74.17 kB / 456.6 MB, free: 9.965 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.3846, allocations: 34.59 kB / 456.6 MB, free: 9.953 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3846, allocations: 0 / 456.6 MB, free: 9.953 MB / 334.1 MB Notification: Performance of Templates: time 0.008028/0.3926, allocations: 2.56 MB / 459.2 MB, free: 8.73 MB / 334.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)