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.001095/0.001095, allocations: 111.3 kB / 16.42 MB, free: 6.488 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.001219/0.001219, allocations: 185.7 kB / 17.35 MB, free: 5.758 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.367/1.367, 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.05828/0.05828, allocations: 10.74 MB / 281.3 MB, free: 1.293 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.001389/0.001389, allocations: 69.7 kB / 391.5 MB, free: 45.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08064/0.08204, allocations: 49.03 MB / 440.5 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl): time 0.00264/0.08471, allocations: 2.263 MB / 442.8 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009367/0.08566, allocations: 0.6505 MB / 443.4 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001349/0.08581, allocations: 15.88 kB / 443.5 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001967/0.08601, allocations: 71.31 kB / 443.5 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001002/0.08612, allocations: 43.55 kB / 443.6 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005758/0.08671, allocations: 331.4 kB / 443.9 MB, free: 460 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004953/0.08722, allocations: 0.6482 MB / 444.5 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002011/0.08743, allocations: 106.3 kB / 444.6 MB, free: 15.69 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000224/0.08766, allocations: 211.2 kB / 444.9 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002454/0.08792, allocations: 206.9 kB / 445.1 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.088e-05/0.088, allocations: 40 kB / 445.1 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.438e-05/0.08806, allocations: 36 kB / 445.1 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001477/0.08821, allocations: 139.6 kB / 445.3 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001735/0.08839, allocations: 206.7 kB / 445.5 MB, free: 14.87 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004168/0.08881, allocations: 462.4 kB / 445.9 MB, free: 14.41 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.08883, allocations: 4 kB / 445.9 MB, free: 14.41 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.08883, allocations: 4 kB / 445.9 MB, free: 14.41 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.331e-06/0.08885, allocations: 0 / 445.9 MB, free: 14.41 MB / 334.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.00111/0.08996, allocations: 0.7433 MB / 446.7 MB, free: 13.61 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.09001, allocations: 19.89 kB / 446.7 MB, free: 13.59 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.726e-05/0.0901, allocations: 56.22 kB / 446.7 MB, free: 13.54 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005753/0.09069, allocations: 429.9 kB / 447.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.896e-05/0.09073, allocations: 29.03 kB / 447.2 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.261e-05/0.0908, allocations: 40.28 kB / 447.2 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006583/0.09146, allocations: 404.1 kB / 447.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.09149, allocations: 8.125 kB / 447.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.537e-05/0.09153, allocations: 15.94 kB / 447.7 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.09155, allocations: 11.98 kB / 447.7 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005607/0.09211, allocations: 306.4 kB / 448 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002124/0.09425, allocations: 1.588 MB / 449.6 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003241/0.09458, allocations: 198.5 kB / 449.7 MB, free: 10.37 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001707/0.09476, allocations: 96.8 kB / 449.8 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.904e-05/0.0948, allocations: 7.938 kB / 449.8 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.09483, allocations: 34.56 kB / 449.9 MB, free: 10.22 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.543e-06/0.09484, allocations: 0 / 449.9 MB, free: 10.22 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.000638/0.09548, allocations: 333.2 kB / 450.2 MB, free: 9.891 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.621e-05/0.09552, allocations: 55.41 kB / 450.3 MB, free: 9.824 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004769/0.096, allocations: 469.8 kB / 450.7 MB, free: 9.355 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.09603, allocations: 29.7 kB / 450.7 MB, free: 9.32 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001795/0.09622, allocations: 267.8 kB / 451 MB, free: 9.051 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.257e-05/0.09629, allocations: 74.91 kB / 451.1 MB, free: 8.977 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.049e-05/0.09638, allocations: 70.02 kB / 451.2 MB, free: 8.902 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.09655, allocations: 354.8 kB / 451.5 MB, free: 8.547 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001956/0.09675, allocations: 92.27 kB / 451.6 MB, free: 8.457 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000291/0.09705, allocations: 232.7 kB / 451.8 MB, free: 8.172 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001608/0.09866, allocations: 0.5738 MB / 452.4 MB, free: 7.539 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/0.09868, allocations: 0 / 452.4 MB, free: 7.539 MB / 334.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006251/0.09931, allocations: 408.6 kB / 452.8 MB, free: 7.133 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.09934, allocations: 6.594 kB / 452.8 MB, free: 7.129 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.09935, allocations: 4 kB / 452.8 MB, free: 7.125 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.09937, allocations: 12 kB / 452.8 MB, free: 7.113 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003592/0.09974, allocations: 87.83 kB / 452.9 MB, free: 7.027 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.09976, allocations: 11.98 kB / 452.9 MB, free: 7.016 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000177/0.09994, allocations: 39.59 kB / 452.9 MB, free: 6.977 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.609e-05/0.09998, allocations: 19.98 kB / 453 MB, free: 6.957 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.0002476/0.1002, allocations: 210.5 kB / 453.2 MB, free: 6.742 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.379e-05/0.1003, allocations: 43.44 kB / 453.2 MB, free: 6.699 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005695/0.1009, allocations: 313.2 kB / 453.5 MB, free: 6.387 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.1009, allocations: 7.938 kB / 453.5 MB, free: 6.379 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1009, allocations: 3.938 kB / 453.5 MB, free: 6.375 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.101, allocations: 120.5 kB / 453.7 MB, free: 6.238 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.466e-05/0.1011, allocations: 11.94 kB / 453.7 MB, free: 6.227 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.1012, allocations: 11.98 kB / 453.7 MB, free: 6.215 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.458e-05/0.1013, allocations: 11.98 kB / 453.7 MB, free: 6.203 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007637/0.1021, allocations: 368.6 kB / 454 MB, free: 5.836 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007558/0.1028, allocations: 0.5604 MB / 454.6 MB, free: 5.258 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001871/0.103, allocations: 108.5 kB / 454.7 MB, free: 5.152 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003348/0.1034, allocations: 327 kB / 455 MB, free: 4.832 MB / 334.1 MB Notification: Performance of Backend: time 5.71e-07/0.1034, allocations: 8 kB / 455 MB, free: 4.824 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000598/0.104, allocations: 250.1 kB / 455.3 MB, free: 4.574 MB / 334.1 MB Notification: Performance of SimCode: time 0.001244/0.1052, allocations: 1.209 MB / 456.5 MB, free: 3.312 MB / 334.1 MB Notification: Performance of Templates: time 0.006902/0.1121, allocations: 3.136 MB / 459.6 MB, free: 224 kB / 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)