Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_dev_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS") translateModel(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.001112/0.001112, allocations: 183.2 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.223/1.223, allocations: 222.9 MB / 239.7 MB, free: 11 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.0009646/0.0009646, allocations: 109.7 kB / 289.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4157/0.4157, allocations: 78.49 MB / 418.5 MB, free: 8.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 63.91 kB / 497.4 MB, free: 10.7 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2454, allocations: 68.12 MB / 0.5523 GB, free: 20.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS): time 0.006186/0.2517, allocations: 8.59 MB / 0.5607 GB, free: 11.59 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004294/0.256, allocations: 2.722 MB / 0.5634 GB, free: 8.863 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007204/0.2567, allocations: 16 kB / 0.5634 GB, free: 8.848 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006325/0.2574, allocations: 262.4 kB / 0.5636 GB, free: 8.59 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002091/0.2595, allocations: 1.095 MB / 0.5647 GB, free: 7.496 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001164/0.2607, allocations: 0.7008 MB / 0.5654 GB, free: 6.801 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001519/0.2622, allocations: 2.33 MB / 0.5677 GB, free: 4.461 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004166/0.2626, allocations: 368.2 kB / 0.568 GB, free: 4.078 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000603/0.2632, allocations: 0.8246 MB / 0.5688 GB, free: 3.25 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008199/0.2641, allocations: 1.089 MB / 0.5699 GB, free: 2.156 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001899/0.2643, allocations: 104 kB / 0.57 GB, free: 2.055 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005245/0.2648, allocations: 335.7 kB / 0.5703 GB, free: 1.727 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000256/0.2651, allocations: 406.2 kB / 0.5707 GB, free: 1.328 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000505/0.2656, allocations: 0.8387 MB / 0.5715 GB, free: 496 kB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001699/0.2673, allocations: 2.254 MB / 0.5737 GB, free: 14.22 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.2673, allocations: 0 / 0.5737 GB, free: 14.22 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.2673, allocations: 3.938 kB / 0.5737 GB, free: 14.22 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.924e-05/0.2673, allocations: 0 / 0.5737 GB, free: 14.22 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.01372/0.2811, allocations: 3.839 MB / 0.5775 GB, free: 10.32 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.2811, allocations: 8.031 kB / 0.5775 GB, free: 10.31 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004475/0.2856, allocations: 0.751 MB / 0.5782 GB, free: 9.559 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002269/0.2879, allocations: 1.183 MB / 0.5793 GB, free: 8.324 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004318/0.2883, allocations: 420.7 kB / 0.5797 GB, free: 7.844 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002045/0.2886, allocations: 108 kB / 0.5799 GB, free: 7.738 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002852/0.2914, allocations: 1.452 MB / 0.5813 GB, free: 6.266 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.2915, allocations: 4 kB / 0.5813 GB, free: 6.262 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001213/0.2916, allocations: 40 kB / 0.5813 GB, free: 6.223 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.708e-05/0.2916, allocations: 20 kB / 0.5813 GB, free: 6.203 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003029/0.2946, allocations: 1.378 MB / 0.5827 GB, free: 4.824 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.008514/0.3032, allocations: 4.994 MB / 0.5876 GB, free: 15.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008746/0.3119, allocations: 2.957 MB / 0.5904 GB, free: 12.53 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001933/0.3139, allocations: 0.9269 MB / 0.5913 GB, free: 11.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001467/0.314, allocations: 28.97 kB / 0.5914 GB, free: 11.56 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002194/0.3162, allocations: 1.073 MB / 0.5924 GB, free: 10.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=126): time 3.096e-06/0.3163, allocations: 4 kB / 0.5924 GB, free: 10.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=126): time 0.04064/0.3569, allocations: 9.445 MB / 0.6017 GB, free: 0.9766 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.985e-05/0.357, allocations: 145.5 kB / 0.6018 GB, free: 0.8008 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002314/0.3593, allocations: 1.488 MB / 0.6032 GB, free: 15.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002526/0.3596, allocations: 53.77 kB / 0.6033 GB, free: 15.24 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004278/0.36, allocations: 0.6121 MB / 0.6039 GB, free: 14.63 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004553/0.3605, allocations: 453.5 kB / 0.6043 GB, free: 14.18 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006196/0.3611, allocations: 335.4 kB / 0.6046 GB, free: 13.85 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.3612, allocations: 301.1 kB / 0.6049 GB, free: 13.55 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002204/0.3635, allocations: 0.9925 MB / 0.6059 GB, free: 12.55 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002321/0.3658, allocations: 1.187 MB / 0.6071 GB, free: 11.32 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004266/0.3701, allocations: 2.101 MB / 0.6091 GB, free: 9.176 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.3701, allocations: 0 / 0.6091 GB, free: 9.176 MB / 426.7 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.0126/0.3827, allocations: 4.377 MB / 0.6134 GB, free: 4.785 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.3827, allocations: 14.28 kB / 0.6134 GB, free: 4.773 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.3827, allocations: 0 / 0.6134 GB, free: 4.773 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009257/0.392, allocations: 2.64 MB / 0.616 GB, free: 2.125 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001466/0.3935, allocations: 311.5 kB / 0.6163 GB, free: 1.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006158/0.3997, allocations: 2.703 MB / 0.6189 GB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002279/0.402, allocations: 266.3 kB / 0.6192 GB, free: 14.83 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001593/0.4021, allocations: 63.98 kB / 0.6192 GB, free: 14.77 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002513/0.4046, allocations: 1.199 MB / 0.6204 GB, free: 13.57 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002235/0.4069, allocations: 1.171 MB / 0.6215 GB, free: 12.34 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004102/0.411, allocations: 2.089 MB / 0.6236 GB, free: 10.21 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.929e-06/0.411, allocations: 7.938 kB / 0.6236 GB, free: 10.21 MB / 442.7 MB Notification: Performance of matching and sorting (n=232) (initialization_lambda0): time 0.01286/0.4239, allocations: 4.35 MB / 0.6278 GB, free: 5.844 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.4239, allocations: 8 kB / 0.6278 GB, free: 5.836 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.424, allocations: 4 kB / 0.6278 GB, free: 5.832 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009404/0.4334, allocations: 2.651 MB / 0.6304 GB, free: 3.176 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001531/0.4349, allocations: 303.6 kB / 0.6307 GB, free: 2.879 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006416/0.4413, allocations: 2.691 MB / 0.6334 GB, free: 164 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002384/0.4438, allocations: 242.6 kB / 0.6336 GB, free: 15.92 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001674/0.4439, allocations: 63.98 kB / 0.6336 GB, free: 15.86 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.0003876/0.4443, allocations: 262 kB / 0.6339 GB, free: 15.6 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002794/0.4446, allocations: 165.9 kB / 0.6341 GB, free: 15.43 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01659/0.4612, allocations: 4.819 MB / 0.6388 GB, free: 10.59 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.511e-05/0.4613, allocations: 12 kB / 0.6388 GB, free: 10.57 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.4613, allocations: 8 kB / 0.6388 GB, free: 10.57 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-05/0.4613, allocations: 7.969 kB / 0.6388 GB, free: 10.56 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.01943/0.4807, allocations: 6.985 MB / 0.6456 GB, free: 3.434 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.311e-05/0.4808, allocations: 0 / 0.6456 GB, free: 3.434 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009324/0.4817, allocations: 143.8 kB / 0.6457 GB, free: 3.293 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007803/0.4895, allocations: 2.142 MB / 0.6478 GB, free: 1.148 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002159/0.4898, allocations: 27.98 kB / 0.6479 GB, free: 1.121 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02484/0.5146, allocations: 9.19 MB / 0.6568 GB, free: 7.789 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.5147, allocations: 0 / 0.6568 GB, free: 7.789 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.331/0.8456, allocations: 40.83 MB / 0.6967 GB, free: 106 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002934/0.846, allocations: 277.5 kB / 0.697 GB, free: 105.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002084/0.8462, allocations: 29.2 kB / 0.697 GB, free: 105.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001661/0.8479, allocations: 150.6 kB / 0.6971 GB, free: 105.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007406/0.8486, allocations: 261.1 kB / 0.6974 GB, free: 105.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.772e-05/0.8487, allocations: 35.5 kB / 0.6974 GB, free: 105.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001316/0.85, allocations: 1.007 MB / 0.6984 GB, free: 105.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.8501, allocations: 0 / 0.6984 GB, free: 105.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002966/0.853, allocations: 1.367 MB / 0.6997 GB, free: 105.2 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.0003247/0.8534, allocations: 171.9 kB / 0.6999 GB, free: 105.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01387/0.8672, allocations: 4.83 MB / 0.7046 GB, free: 103.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.8673, allocations: 3.875 kB / 0.7046 GB, free: 103.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005603/0.8729, allocations: 1.899 MB / 0.7065 GB, free: 102 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.8739, allocations: 149.2 kB / 0.7066 GB, free: 101.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009689/0.8836, allocations: 5.371 MB / 0.7119 GB, free: 97.16 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005265/0.8842, allocations: 1.3 MB / 0.7131 GB, free: 96.04 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008607/0.8851, allocations: 203.8 kB / 0.7133 GB, free: 95.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004038/0.8855, allocations: 103.1 kB / 0.7134 GB, free: 95.8 MB / 490.7 MB Notification: Performance of SimCode: time 6.32e-07/0.8855, allocations: 0 / 0.7134 GB, free: 95.8 MB / 490.7 MB Notification: Performance of Templates: time 0.05113/0.9366, allocations: 48.09 MB / 0.7604 GB, free: 48.61 MB / 490.7 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.pipe 2>&1)