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.001625/0.001625, allocations: 115 kB / 16.42 MB, free: 6.48 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.001837/0.001837, allocations: 186.6 kB / 17.35 MB, free: 5.746 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.287/1.287, allocations: 205.1 MB / 223.2 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.06088/0.06089, 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.001449/0.001449, allocations: 73.17 kB / 391.5 MB, free: 46.01 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06356/0.06502, allocations: 49.02 MB / 440.5 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl): time 0.002466/0.06752, allocations: 2.27 MB / 442.8 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009794/0.06851, allocations: 0.6427 MB / 443.4 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001681/0.06869, allocations: 15.88 kB / 443.5 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001973/0.06889, allocations: 75.31 kB / 443.5 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001047/0.06901, allocations: 47.55 kB / 443.6 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005905/0.06961, allocations: 323.4 kB / 443.9 MB, free: 460 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004752/0.0701, allocations: 0.6521 MB / 444.6 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001819/0.07029, allocations: 102.3 kB / 444.7 MB, free: 15.69 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002156/0.07051, allocations: 219.2 kB / 444.9 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002404/0.07076, allocations: 202.9 kB / 445.1 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.281e-05/0.07083, allocations: 36 kB / 445.1 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.031e-05/0.0709, allocations: 36 kB / 445.1 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001464/0.07105, allocations: 143.6 kB / 445.3 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000162/0.07122, allocations: 202.7 kB / 445.5 MB, free: 14.87 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004208/0.07165, allocations: 477.9 kB / 445.9 MB, free: 14.4 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.07166, allocations: 4 kB / 445.9 MB, free: 14.39 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.07167, allocations: 0 / 445.9 MB, free: 14.39 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.07168, allocations: 0 / 445.9 MB, free: 14.39 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.001034/0.07272, allocations: 0.763 MB / 446.7 MB, free: 13.57 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.07276, allocations: 11.89 kB / 446.7 MB, free: 13.56 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.971e-05/0.07285, allocations: 52.61 kB / 446.8 MB, free: 13.51 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005131/0.07337, allocations: 430.3 kB / 447.2 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.541e-05/0.0734, allocations: 29.03 kB / 447.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.835e-05/0.07347, allocations: 36.38 kB / 447.3 MB, free: 12.99 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006049/0.07408, allocations: 408.1 kB / 447.7 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/0.07411, allocations: 8.125 kB / 447.7 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.186e-05/0.07415, allocations: 27.88 kB / 447.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.07416, allocations: 8 kB / 447.7 MB, free: 12.53 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005401/0.07471, allocations: 302.4 kB / 448 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001994/0.07671, allocations: 1.604 MB / 449.6 MB, free: 10.53 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003101/0.07703, allocations: 190 kB / 449.8 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000163/0.07721, allocations: 100.8 kB / 449.9 MB, free: 10.24 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.077e-05/0.07725, allocations: 3.938 kB / 449.9 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.07728, allocations: 38.56 kB / 449.9 MB, free: 10.19 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.543e-06/0.07729, allocations: 7.938 kB / 449.9 MB, free: 10.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.0006005/0.07789, allocations: 321.6 kB / 450.2 MB, free: 9.859 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.466e-05/0.07793, allocations: 51.41 kB / 450.3 MB, free: 9.797 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004659/0.0784, allocations: 473.8 kB / 450.8 MB, free: 9.324 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.07843, allocations: 29.7 kB / 450.8 MB, free: 9.289 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001719/0.07861, allocations: 272.2 kB / 451 MB, free: 9.016 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.131e-05/0.07867, allocations: 75.38 kB / 451.1 MB, free: 8.941 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.94e-05/0.07876, allocations: 77.97 kB / 451.2 MB, free: 8.859 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.0789, allocations: 354.8 kB / 451.5 MB, free: 8.504 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001822/0.07909, allocations: 92.27 kB / 451.6 MB, free: 8.414 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002444/0.07934, allocations: 228.7 kB / 451.9 MB, free: 8.133 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001493/0.08084, allocations: 0.57 MB / 452.4 MB, free: 7.504 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.08086, allocations: 11.98 kB / 452.4 MB, free: 7.492 MB / 334.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006054/0.08147, allocations: 405.3 kB / 452.8 MB, free: 7.09 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.0815, allocations: 14.06 kB / 452.8 MB, free: 7.078 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.08152, allocations: 4 kB / 452.9 MB, free: 7.074 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.08153, allocations: 7.938 kB / 452.9 MB, free: 7.066 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003686/0.08191, allocations: 87.89 kB / 452.9 MB, free: 6.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.361e-05/0.08193, allocations: 11.94 kB / 453 MB, free: 6.969 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001701/0.08211, allocations: 47.59 kB / 453 MB, free: 6.922 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.528e-05/0.08214, allocations: 20 kB / 453 MB, free: 6.902 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.0002152/0.08237, allocations: 214.5 kB / 453.2 MB, free: 6.684 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.972e-05/0.08243, allocations: 39.72 kB / 453.3 MB, free: 6.645 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005628/0.083, allocations: 317.3 kB / 453.6 MB, free: 6.328 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.08302, allocations: 0 / 453.6 MB, free: 6.328 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.08302, allocations: 3.938 kB / 453.6 MB, free: 6.324 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.501e-05/0.08311, allocations: 124.8 kB / 453.7 MB, free: 6.184 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.185e-05/0.08316, allocations: 7.938 kB / 453.7 MB, free: 6.176 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.08332, allocations: 11.98 kB / 453.7 MB, free: 6.164 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.74e-05/0.08337, allocations: 15.98 kB / 453.7 MB, free: 6.148 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000748/0.08413, allocations: 364.6 kB / 454.1 MB, free: 5.785 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000706/0.08484, allocations: 0.5685 MB / 454.7 MB, free: 5.199 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001862/0.08504, allocations: 116.5 kB / 454.8 MB, free: 5.086 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003097/0.08536, allocations: 323 kB / 455.1 MB, free: 4.77 MB / 334.1 MB Notification: Performance of Backend: time 3.1e-07/0.08537, allocations: 0 / 455.1 MB, free: 4.77 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005798/0.08595, allocations: 251.1 kB / 455.3 MB, free: 4.52 MB / 334.1 MB Notification: Performance of SimCode: time 0.001173/0.08714, allocations: 1.23 MB / 456.6 MB, free: 3.234 MB / 334.1 MB Notification: Performance of Templates: time 0.006808/0.09396, allocations: 3.123 MB / 459.7 MB, free: 152 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)