Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.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/Modelica 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/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_CGMES_ES_ExcSEXS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_CGMES_ES_ExcSEXS",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008802/0.0008802, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.185/1.185, allocations: 223.3 MB / 239.4 MB, free: 5.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009053/0.0009054, allocations: 192.4 kB / 290.6 MB, free: 2.184 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3964/0.3964, allocations: 78.53 MB / 420.3 MB, free: 4.309 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003206/0.0003207, allocations: 12 kB / 0.4888 GB, free: 5.938 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1091, allocations: 69.36 MB / 0.5565 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS): time 0.1805/0.2896, allocations: 8.078 MB / 0.5644 GB, free: 35.02 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004031/0.2937, allocations: 2.679 MB / 0.567 GB, free: 34.01 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001105/0.2948, allocations: 18.19 kB / 0.567 GB, free: 34.01 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006893/0.2955, allocations: 264.2 kB / 0.5673 GB, free: 33.92 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002138/0.2977, allocations: 1.075 MB / 0.5683 GB, free: 33.48 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.2988, allocations: 0.7005 MB / 0.569 GB, free: 33.4 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001469/0.3003, allocations: 2.312 MB / 0.5713 GB, free: 32.95 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003824/0.3007, allocations: 359.5 kB / 0.5716 GB, free: 32.87 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005436/0.3012, allocations: 0.793 MB / 0.5724 GB, free: 32.65 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007568/0.302, allocations: 1.053 MB / 0.5734 GB, free: 32.37 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001515/0.3021, allocations: 91.19 kB / 0.5735 GB, free: 32.37 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004293/0.3026, allocations: 312.7 kB / 0.5738 GB, free: 32.35 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002274/0.3028, allocations: 379.5 kB / 0.5742 GB, free: 32.25 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004547/0.3033, allocations: 0.8443 MB / 0.575 GB, free: 31.89 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001305/0.3046, allocations: 2.191 MB / 0.5771 GB, free: 31.39 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3046, allocations: 1.875 kB / 0.5771 GB, free: 31.39 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3046, allocations: 0 / 0.5771 GB, free: 31.39 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.384e-05/0.3046, allocations: 0 / 0.5771 GB, free: 31.39 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.01093/0.3156, allocations: 3.618 MB / 0.5807 GB, free: 30.32 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.002e-05/0.3156, allocations: 11.91 kB / 0.5807 GB, free: 30.32 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001622/0.3158, allocations: 154.7 kB / 0.5808 GB, free: 30.28 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003928/0.3197, allocations: 0.7609 MB / 0.5816 GB, free: 30.15 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001513/0.3212, allocations: 1.182 MB / 0.5827 GB, free: 29.68 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003291/0.3216, allocations: 436 kB / 0.5831 GB, free: 29.33 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001975/0.3218, allocations: 111.7 kB / 0.5832 GB, free: 29.32 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002428/0.3242, allocations: 1.537 MB / 0.5847 GB, free: 28.77 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.836e-05/0.3242, allocations: 0 / 0.5847 GB, free: 28.77 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001119/0.3244, allocations: 40.41 kB / 0.5848 GB, free: 28.73 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.506e-05/0.3244, allocations: 26.25 kB / 0.5848 GB, free: 28.73 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002704/0.3271, allocations: 1.471 MB / 0.5862 GB, free: 28.27 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006759/0.3339, allocations: 5.063 MB / 0.5912 GB, free: 25.41 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008381/0.3422, allocations: 3.541 MB / 0.5946 GB, free: 24.16 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001779/0.344, allocations: 1.015 MB / 0.5956 GB, free: 23.78 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001039/0.3442, allocations: 28.67 kB / 0.5957 GB, free: 23.77 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002137/0.3463, allocations: 1.162 MB / 0.5968 GB, free: 23.36 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 2.364e-06/0.3463, allocations: 1.406 kB / 0.5968 GB, free: 23.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.03966/0.386, allocations: 11.43 MB / 0.608 GB, free: 21.46 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/0.386, allocations: 151.3 kB / 0.6081 GB, free: 21.3 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002094/0.3881, allocations: 1.493 MB / 0.6096 GB, free: 20.7 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000128/0.3883, allocations: 50.77 kB / 0.6096 GB, free: 20.64 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003251/0.3886, allocations: 0.6122 MB / 0.6102 GB, free: 20.1 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003255/0.389, allocations: 455.9 kB / 0.6106 GB, free: 19.71 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000213/0.3892, allocations: 170.4 kB / 0.6108 GB, free: 19.6 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.435e-05/0.3892, allocations: 306.2 kB / 0.6111 GB, free: 19.3 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002075/0.3913, allocations: 1.062 MB / 0.6121 GB, free: 18.8 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002113/0.3934, allocations: 1.272 MB / 0.6134 GB, free: 18.1 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003962/0.3974, allocations: 2.282 MB / 0.6156 GB, free: 16.88 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.3974, allocations: 0 / 0.6156 GB, free: 16.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.01108/0.4085, allocations: 5.041 MB / 0.6205 GB, free: 11.82 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.929e-05/0.4086, allocations: 194.7 kB / 0.6207 GB, free: 11.58 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.4086, allocations: 2.156 kB / 0.6207 GB, free: 11.58 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008168/0.4167, allocations: 3.028 MB / 0.6237 GB, free: 8.547 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/0.4179, allocations: 316.1 kB / 0.624 GB, free: 8.238 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005386/0.4233, allocations: 3.014 MB / 0.6269 GB, free: 5.207 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001924/0.4253, allocations: 318.2 kB / 0.6272 GB, free: 4.895 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001231/0.4254, allocations: 67.97 kB / 0.6273 GB, free: 4.828 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.921e-06/0.4254, allocations: 4 kB / 0.6273 GB, free: 4.824 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01095/0.4364, allocations: 4.824 MB / 0.632 GB, free: 16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.4364, allocations: 4 kB / 0.632 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008962/0.4454, allocations: 3.012 MB / 0.6349 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001227/0.4466, allocations: 311.5 kB / 0.6352 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00633/0.4529, allocations: 2.996 MB / 0.6382 GB, free: 9.648 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001857/0.4548, allocations: 302.4 kB / 0.6385 GB, free: 9.352 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000135/0.455, allocations: 64.53 kB / 0.6385 GB, free: 9.289 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (177): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(30,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0005651/0.4555, allocations: 373.4 kB / 0.6389 GB, free: 8.914 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002604/0.4558, allocations: 166 kB / 0.639 GB, free: 8.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01716/0.473, allocations: 5.882 MB / 0.6448 GB, free: 2.844 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.473, allocations: 15.94 kB / 0.6448 GB, free: 2.828 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.473, allocations: 0 / 0.6448 GB, free: 2.828 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.414e-05/0.473, allocations: 8.859 kB / 0.6448 GB, free: 2.82 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01924/0.4923, allocations: 8.037 MB / 0.6526 GB, free: 10.65 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.4923, allocations: 0 / 0.6526 GB, free: 10.65 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008021/0.4931, allocations: 151.8 kB / 0.6528 GB, free: 10.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007606/0.5007, allocations: 2.512 MB / 0.6552 GB, free: 7.988 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001082/0.5008, allocations: 32.8 kB / 0.6553 GB, free: 7.957 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0242/0.525, allocations: 10.32 MB / 0.6654 GB, free: 13.49 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.5251, allocations: 3.938 kB / 0.6654 GB, free: 13.48 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01888/0.5439, allocations: 7.149 MB / 0.6723 GB, free: 6.309 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003305/0.5443, allocations: 278.7 kB / 0.6726 GB, free: 6.016 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002113/0.5445, allocations: 29.12 kB / 0.6726 GB, free: 5.988 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001621/0.5461, allocations: 204.9 kB / 0.6728 GB, free: 5.789 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006232/0.5468, allocations: 249.3 kB / 0.6731 GB, free: 5.543 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-05/0.5469, allocations: 39.98 kB / 0.6731 GB, free: 5.504 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001522/0.5484, allocations: 1.01 MB / 0.6741 GB, free: 4.496 MB / 478.1 MB Notification: Performance of sort global known variables: time 2e-07/0.5484, allocations: 0 / 0.6741 GB, free: 4.496 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001742/0.5501, allocations: 0.8582 MB / 0.6749 GB, free: 3.637 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 12 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,sEXS.simpleLagLim.state,sEXS.leadLag.TF.x_scaled[1],sEXS.transferFunction.x_scaled[1]) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0194/0.5696, allocations: 7.75 MB / 0.6825 GB, free: 11.84 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01512/0.5847, allocations: 5.477 MB / 0.6878 GB, free: 6.379 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.5847, allocations: 0 / 0.6878 GB, free: 6.379 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006058/0.5908, allocations: 2.197 MB / 0.69 GB, free: 4.176 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.5918, allocations: 146.8 kB / 0.6901 GB, free: 4.031 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04534/0.6372, allocations: 22.97 MB / 0.7126 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007141/0.6379, allocations: 1.245 MB / 0.7138 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007091/0.6386, allocations: 184.8 kB / 0.714 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000773/0.6394, allocations: 0.6219 MB / 0.7146 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of SimCode: time 4.21e-07/0.6394, allocations: 0 / 0.7146 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06418/0.7036, allocations: 45.59 MB / 0.7591 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001548/0.7037, allocations: 212 kB / 0.7593 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.663/3.367, allocations: 0 / 0.7593 GB, free: 12.62 MB / 0.5606 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_CGMES_ES_ExcSEXS_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_CGMES_ES_ExcSEXS.fmu > OpenIPSL_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.pipe 2>&1)