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/Complex 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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/Complex 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 182.9 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.182/1.182, allocations: 222.9 MB / 239.7 MB, free: 10.97 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009684/0.0009683, allocations: 94.89 kB / 289.9 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3963/0.3963, allocations: 78.51 MB / 418.5 MB, free: 8.488 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001136, allocations: 63.89 kB / 497.5 MB, free: 10.23 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2375, allocations: 68.16 MB / 0.5524 GB, free: 19.86 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS): time 0.005805/0.2433, allocations: 8.597 MB / 0.5608 GB, free: 11.21 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003521/0.2468, allocations: 2.72 MB / 0.5635 GB, free: 8.492 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005658/0.2474, allocations: 12 kB / 0.5635 GB, free: 8.48 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00061/0.248, allocations: 258.4 kB / 0.5637 GB, free: 8.227 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001923/0.25, allocations: 1.092 MB / 0.5648 GB, free: 7.137 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001161/0.2512, allocations: 0.7044 MB / 0.5655 GB, free: 6.441 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001519/0.2527, allocations: 2.338 MB / 0.5678 GB, free: 4.094 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003883/0.2531, allocations: 366.3 kB / 0.5681 GB, free: 3.715 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005887/0.2537, allocations: 0.8362 MB / 0.5689 GB, free: 2.875 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007962/0.2545, allocations: 1.085 MB / 0.57 GB, free: 1.785 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001781/0.2547, allocations: 108 kB / 0.5701 GB, free: 1.68 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005278/0.2552, allocations: 323.7 kB / 0.5704 GB, free: 1.363 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000242/0.2555, allocations: 394.2 kB / 0.5708 GB, free: 0.9766 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000463/0.256, allocations: 0.8464 MB / 0.5716 GB, free: 128 kB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001835/0.2578, allocations: 2.25 MB / 0.5738 GB, free: 13.87 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2578, allocations: 0 / 0.5738 GB, free: 13.87 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.2578, allocations: 0 / 0.5738 GB, free: 13.87 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.946e-05/0.2578, allocations: 3.938 kB / 0.5738 GB, free: 13.86 MB / 394.7 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.01337/0.2712, allocations: 3.836 MB / 0.5775 GB, free: 9.969 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.2713, allocations: 11.97 kB / 0.5776 GB, free: 9.957 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004384/0.2757, allocations: 0.7549 MB / 0.5783 GB, free: 9.199 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002207/0.2779, allocations: 1.179 MB / 0.5794 GB, free: 7.969 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004287/0.2783, allocations: 428.5 kB / 0.5799 GB, free: 7.48 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002434/0.2786, allocations: 108 kB / 0.58 GB, free: 7.375 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002834/0.2814, allocations: 1.448 MB / 0.5814 GB, free: 5.906 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.2815, allocations: 0 / 0.5814 GB, free: 5.906 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001236/0.2816, allocations: 40 kB / 0.5814 GB, free: 5.867 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.819e-05/0.2816, allocations: 24 kB / 0.5814 GB, free: 5.844 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002941/0.2846, allocations: 1.382 MB / 0.5828 GB, free: 4.461 MB / 394.7 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.00858/0.2932, allocations: 4.986 MB / 0.5877 GB, free: 15.26 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008174/0.3014, allocations: 2.965 MB / 0.5905 GB, free: 12.16 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00186/0.3032, allocations: 0.923 MB / 0.5914 GB, free: 11.22 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001367/0.3034, allocations: 28.91 kB / 0.5915 GB, free: 11.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002071/0.3055, allocations: 1.073 MB / 0.5925 GB, free: 10.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=126): time 4.288e-06/0.3055, allocations: 7.984 kB / 0.5925 GB, free: 10.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=126): time 0.03706/0.3425, allocations: 9.442 MB / 0.6018 GB, free: 0.6172 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.266e-05/0.3426, allocations: 149.5 kB / 0.6019 GB, free: 448 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002146/0.3448, allocations: 1.48 MB / 0.6033 GB, free: 14.95 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001338/0.3449, allocations: 57.77 kB / 0.6034 GB, free: 14.89 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004394/0.3454, allocations: 0.6045 MB / 0.604 GB, free: 14.28 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004239/0.3458, allocations: 461.4 kB / 0.6044 GB, free: 13.82 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005762/0.3464, allocations: 331.4 kB / 0.6047 GB, free: 13.49 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.432e-05/0.3465, allocations: 305.1 kB / 0.605 GB, free: 13.19 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002018/0.3485, allocations: 0.9924 MB / 0.606 GB, free: 12.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002155/0.3507, allocations: 1.191 MB / 0.6072 GB, free: 10.95 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004014/0.3547, allocations: 2.093 MB / 0.6092 GB, free: 8.82 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.3547, allocations: 4 kB / 0.6092 GB, free: 8.816 MB / 426.7 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.01164/0.3664, allocations: 4.377 MB / 0.6135 GB, free: 4.426 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.3664, allocations: 7.938 kB / 0.6135 GB, free: 4.418 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.3664, allocations: 4 kB / 0.6135 GB, free: 4.414 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008709/0.3752, allocations: 2.647 MB / 0.6161 GB, free: 1.758 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001331/0.3765, allocations: 303.6 kB / 0.6164 GB, free: 1.461 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005943/0.3825, allocations: 2.707 MB / 0.619 GB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002029/0.3845, allocations: 262.3 kB / 0.6193 GB, free: 14.47 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001445/0.3847, allocations: 63.98 kB / 0.6193 GB, free: 14.41 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002356/0.387, allocations: 1.195 MB / 0.6205 GB, free: 13.21 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002085/0.3891, allocations: 1.171 MB / 0.6216 GB, free: 11.98 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003891/0.393, allocations: 2.097 MB / 0.6237 GB, free: 9.848 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.807e-06/0.393, allocations: 0 / 0.6237 GB, free: 9.848 MB / 442.7 MB Notification: Performance of matching and sorting (n=232) (initialization_lambda0): time 0.01161/0.4046, allocations: 4.354 MB / 0.6279 GB, free: 5.484 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.4047, allocations: 4 kB / 0.6279 GB, free: 5.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.4047, allocations: 4 kB / 0.6279 GB, free: 5.477 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008543/0.4132, allocations: 2.636 MB / 0.6305 GB, free: 2.836 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001375/0.4146, allocations: 307.5 kB / 0.6308 GB, free: 2.535 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005875/0.4205, allocations: 2.695 MB / 0.6334 GB, free: 15.81 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002188/0.4227, allocations: 238.6 kB / 0.6337 GB, free: 15.58 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001572/0.4229, allocations: 63.98 kB / 0.6337 GB, free: 15.52 MB / 458.7 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.0003746/0.4233, allocations: 264.9 kB / 0.634 GB, free: 15.25 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002757/0.4235, allocations: 165.9 kB / 0.6341 GB, free: 15.09 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01557/0.4391, allocations: 4.827 MB / 0.6389 GB, free: 10.23 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.875e-05/0.4392, allocations: 19.98 kB / 0.6389 GB, free: 10.21 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.4392, allocations: 0 / 0.6389 GB, free: 10.21 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.9e-05/0.4392, allocations: 7.922 kB / 0.6389 GB, free: 10.2 MB / 458.7 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.01793/0.4572, allocations: 6.985 MB / 0.6457 GB, free: 3.078 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.4572, allocations: 0 / 0.6457 GB, free: 3.078 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007779/0.458, allocations: 143.8 kB / 0.6458 GB, free: 2.938 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007151/0.4651, allocations: 2.146 MB / 0.6479 GB, free: 0.7891 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001097/0.4652, allocations: 24 kB / 0.648 GB, free: 0.7656 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02259/0.4878, allocations: 9.186 MB / 0.6569 GB, free: 7.438 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4879, allocations: 0 / 0.6569 GB, free: 7.438 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3103/0.7982, allocations: 40.83 MB / 0.6968 GB, free: 105.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002674/0.7985, allocations: 276.1 kB / 0.6971 GB, free: 105.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001914/0.7987, allocations: 23.91 kB / 0.6971 GB, free: 105.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001459/0.8002, allocations: 156.1 kB / 0.6972 GB, free: 105.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006944/0.8009, allocations: 253.3 kB / 0.6975 GB, free: 105.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.862e-05/0.801, allocations: 35.62 kB / 0.6975 GB, free: 105.6 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001203/0.8022, allocations: 1.012 MB / 0.6985 GB, free: 105.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.8022, allocations: 0 / 0.6985 GB, free: 105.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0024/0.8046, allocations: 1.373 MB / 0.6998 GB, free: 105.1 MB / 490.7 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.0002908/0.8049, allocations: 169.1 kB / 0.7 GB, free: 105 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01269/0.8176, allocations: 4.827 MB / 0.7047 GB, free: 103.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.8176, allocations: 0 / 0.7047 GB, free: 103.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005104/0.8227, allocations: 1.904 MB / 0.7066 GB, free: 101.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008708/0.8236, allocations: 141.6 kB / 0.7067 GB, free: 101.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0086/0.8322, allocations: 5.365 MB / 0.712 GB, free: 96.8 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004667/0.8327, allocations: 1.301 MB / 0.7132 GB, free: 95.68 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007599/0.8334, allocations: 203.7 kB / 0.7134 GB, free: 95.54 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003668/0.8338, allocations: 103.2 kB / 0.7135 GB, free: 95.45 MB / 490.7 MB Notification: Performance of SimCode: time 4.41e-07/0.8338, allocations: 4 kB / 0.7135 GB, free: 95.44 MB / 490.7 MB Notification: Performance of Templates: time 0.04686/0.8807, allocations: 48.08 MB / 0.7605 GB, free: 47.98 MB / 490.7 MB 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 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.pipe 2>&1)