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: translateModel(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS") translateModel(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 103.8 kB / 16.29 MB, free: 6.43 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.298/1.298, allocations: 222.9 MB / 239.9 MB, free: 4.504 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.001201/0.001201, allocations: 192.5 kB / 290.2 MB, free: 2.223 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4418/0.4418, allocations: 78.53 MB / 418.9 MB, free: 3.301 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 79.88 kB / 498.2 MB, free: 6.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1288, allocations: 68.18 MB / 0.5531 GB, free: 2.195 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS): time 0.208/0.3368, allocations: 8.244 MB / 0.5611 GB, free: 34.78 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004877/0.3418, allocations: 2.664 MB / 0.5637 GB, free: 34.08 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001303/0.3431, allocations: 17.84 kB / 0.5637 GB, free: 34.08 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000996/0.3441, allocations: 323.1 kB / 0.564 GB, free: 34.07 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002852/0.347, allocations: 1.217 MB / 0.5652 GB, free: 33.72 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001545/0.3486, allocations: 0.7556 MB / 0.566 GB, free: 33.64 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002339/0.3509, allocations: 2.432 MB / 0.5683 GB, free: 33.19 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005762/0.3515, allocations: 406.4 kB / 0.5687 GB, free: 33.11 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001028/0.3526, allocations: 0.9251 MB / 0.5696 GB, free: 32.89 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001113/0.3537, allocations: 1.156 MB / 0.5708 GB, free: 32.62 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002789/0.354, allocations: 185.7 kB / 0.5709 GB, free: 32.62 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006642/0.3546, allocations: 411.9 kB / 0.5713 GB, free: 32.6 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003171/0.355, allocations: 482.3 kB / 0.5718 GB, free: 32.5 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006716/0.3556, allocations: 0.9212 MB / 0.5727 GB, free: 32.17 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001851/0.3575, allocations: 2.335 MB / 0.575 GB, free: 31.67 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.3575, allocations: 0.625 kB / 0.575 GB, free: 31.67 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3575, allocations: 0 / 0.575 GB, free: 31.67 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.017e-05/0.3576, allocations: 1.969 kB / 0.575 GB, free: 31.67 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.01304/0.3706, allocations: 3.842 MB / 0.5787 GB, free: 30.55 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.3707, allocations: 8.625 kB / 0.5787 GB, free: 30.55 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004506/0.3752, allocations: 0.7495 MB / 0.5795 GB, free: 30.38 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002056/0.3773, allocations: 1.185 MB / 0.5806 GB, free: 29.63 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003391/0.3776, allocations: 425.2 kB / 0.581 GB, free: 29.25 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002149/0.3778, allocations: 109 kB / 0.5811 GB, free: 29.21 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002551/0.3804, allocations: 1.45 MB / 0.5826 GB, free: 28.65 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.393e-05/0.3804, allocations: 0 / 0.5826 GB, free: 28.65 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001252/0.3806, allocations: 40.16 kB / 0.5826 GB, free: 28.62 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.607e-05/0.3806, allocations: 25.44 kB / 0.5826 GB, free: 28.62 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002803/0.3834, allocations: 1.374 MB / 0.584 GB, free: 28.17 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.008106/0.3915, allocations: 4.967 MB / 0.5888 GB, free: 25.32 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00814/0.3997, allocations: 2.959 MB / 0.5917 GB, free: 24.14 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002027/0.4018, allocations: 0.9314 MB / 0.5926 GB, free: 23.77 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001475/0.4019, allocations: 24.45 kB / 0.5926 GB, free: 23.76 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002354/0.4043, allocations: 1.078 MB / 0.5937 GB, free: 23.35 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 4.137e-06/0.4043, allocations: 0 / 0.5937 GB, free: 23.35 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.03935/0.4437, allocations: 9.442 MB / 0.6029 GB, free: 21.69 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.744e-05/0.4438, allocations: 142.1 kB / 0.603 GB, free: 21.53 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002383/0.4462, allocations: 1.498 MB / 0.6045 GB, free: 20.94 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003508/0.4465, allocations: 51.27 kB / 0.6045 GB, free: 20.89 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003851/0.4469, allocations: 0.6072 MB / 0.6051 GB, free: 20.41 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004594/0.4474, allocations: 458.8 kB / 0.6056 GB, free: 20.05 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006252/0.448, allocations: 333.5 kB / 0.6059 GB, free: 19.9 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.658e-05/0.4481, allocations: 301.8 kB / 0.6062 GB, free: 19.6 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002001/0.4501, allocations: 0.994 MB / 0.6072 GB, free: 19.1 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002165/0.4522, allocations: 1.186 MB / 0.6083 GB, free: 18.41 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00406/0.4563, allocations: 2.103 MB / 0.6104 GB, free: 17.26 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.115e-05/0.4564, allocations: 1 kB / 0.6104 GB, free: 17.26 MB / 430.1 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.0118/0.4682, allocations: 4.374 MB / 0.6146 GB, free: 15.09 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.4682, allocations: 11.78 kB / 0.6147 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.4682, allocations: 4.125 kB / 0.6147 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008582/0.4768, allocations: 2.64 MB / 0.6172 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001555/0.4784, allocations: 311.6 kB / 0.6175 GB, free: 12.74 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005503/0.4839, allocations: 2.703 MB / 0.6202 GB, free: 10.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002517/0.4865, allocations: 263 kB / 0.6204 GB, free: 9.758 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002412/0.4868, allocations: 63.98 kB / 0.6205 GB, free: 9.695 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002292/0.4891, allocations: 1.195 MB / 0.6216 GB, free: 8.496 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001893/0.491, allocations: 1.179 MB / 0.6228 GB, free: 7.27 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003565/0.4945, allocations: 2.085 MB / 0.6248 GB, free: 5.141 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.633e-06/0.4946, allocations: 0.7031 kB / 0.6248 GB, free: 5.141 MB / 430.1 MB Notification: Performance of matching and sorting (n=232) (initialization_lambda0): time 0.01102/0.5056, allocations: 4.354 MB / 0.6291 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.5056, allocations: 8 kB / 0.6291 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.5057, allocations: 7.938 kB / 0.6291 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008665/0.5143, allocations: 2.641 MB / 0.6317 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001611/0.516, allocations: 309.8 kB / 0.632 GB, free: 13.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00614/0.5221, allocations: 2.696 MB / 0.6346 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002434/0.5246, allocations: 242.6 kB / 0.6348 GB, free: 10.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002244/0.5248, allocations: 63.98 kB / 0.6349 GB, free: 10.79 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.0004203/0.5253, allocations: 256 kB / 0.6351 GB, free: 10.53 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003899/0.5257, allocations: 169.9 kB / 0.6353 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0158/0.5415, allocations: 4.823 MB / 0.64 GB, free: 5.516 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-05/0.5415, allocations: 12.66 kB / 0.64 GB, free: 5.504 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.5415, allocations: 0 / 0.64 GB, free: 5.504 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.074e-05/0.5416, allocations: 12.66 kB / 0.64 GB, free: 5.492 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.01889/0.5605, allocations: 6.979 MB / 0.6469 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.42e-05/0.5605, allocations: 4 kB / 0.6469 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009685/0.5615, allocations: 143.8 kB / 0.647 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00746/0.569, allocations: 2.14 MB / 0.6491 GB, free: 12.09 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003102/0.5693, allocations: 33.11 kB / 0.6491 GB, free: 12.06 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02476/0.5941, allocations: 10.06 MB / 0.6589 GB, free: 1.848 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.5941, allocations: 4 kB / 0.659 GB, free: 1.844 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01817/0.6123, allocations: 6.006 MB / 0.6648 GB, free: 11.8 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006695/0.613, allocations: 282.7 kB / 0.6651 GB, free: 11.51 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004071/0.6134, allocations: 20 kB / 0.6651 GB, free: 11.49 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001757/0.6152, allocations: 151.8 kB / 0.6653 GB, free: 11.34 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007667/0.616, allocations: 265.4 kB / 0.6655 GB, free: 11.08 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001168/0.6161, allocations: 37.22 kB / 0.6655 GB, free: 11.05 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001586/0.6177, allocations: 1.014 MB / 0.6665 GB, free: 10.04 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6177, allocations: 0 / 0.6665 GB, free: 10.04 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002324/0.6201, allocations: 0.8521 MB / 0.6674 GB, free: 9.184 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.0003406/0.6204, allocations: 155.5 kB / 0.6675 GB, free: 9.027 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01526/0.6357, allocations: 4.89 MB / 0.6723 GB, free: 4.152 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/0.6357, allocations: 0 / 0.6723 GB, free: 4.152 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006148/0.6419, allocations: 1.937 MB / 0.6742 GB, free: 2.199 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001508/0.6434, allocations: 151.3 kB / 0.6743 GB, free: 2.051 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00596/0.6494, allocations: 3.118 MB / 0.6774 GB, free: 14.96 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000823/0.6503, allocations: 1.244 MB / 0.6786 GB, free: 13.69 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008648/0.6512, allocations: 187.4 kB / 0.6788 GB, free: 13.51 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003513/0.6515, allocations: 99.42 kB / 0.6789 GB, free: 13.41 MB / 494.1 MB Notification: Performance of SimCode: time 6.92e-07/0.6515, allocations: 0 / 0.6789 GB, free: 13.41 MB / 494.1 MB Notification: Performance of Templates: time 0.05498/0.7065, allocations: 36.42 MB / 0.7144 GB, free: 9.148 MB / 0.5137 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.makefile (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 & ./OpenIPSL_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.pipe 2>&1)