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.001583/0.001584, allocations: 108.5 kB / 16.41 MB, free: 6.492 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.441/1.441, allocations: 222.9 MB / 240.1 MB, free: 4.578 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.001547/0.001547, allocations: 192.4 kB / 290.4 MB, free: 2.293 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4604/0.4604, allocations: 78.52 MB / 419.1 MB, free: 3.156 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001685/0.001686, allocations: 83.88 kB / 0.5543 GB, free: 1.031 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3377/0.3394, allocations: 68.16 MB / 0.6209 GB, free: 9.77 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS): time 0.006625/0.3461, allocations: 8.261 MB / 0.6289 GB, free: 2.004 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005292/0.3514, allocations: 2.661 MB / 0.6315 GB, free: 15.34 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001515/0.353, allocations: 12 kB / 0.6315 GB, free: 15.32 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001294/0.3543, allocations: 333.2 kB / 0.6319 GB, free: 15 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003988/0.3584, allocations: 1.222 MB / 0.633 GB, free: 13.77 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002038/0.3604, allocations: 0.7565 MB / 0.6338 GB, free: 13.02 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003707/0.3641, allocations: 2.443 MB / 0.6362 GB, free: 10.57 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000841/0.365, allocations: 408.4 kB / 0.6366 GB, free: 10.15 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001613/0.3666, allocations: 0.9261 MB / 0.6375 GB, free: 9.219 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001898/0.3685, allocations: 1.159 MB / 0.6386 GB, free: 8.051 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006796/0.3692, allocations: 188 kB / 0.6388 GB, free: 7.867 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001238/0.3705, allocations: 407.8 kB / 0.6392 GB, free: 7.469 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004802/0.371, allocations: 486.1 kB / 0.6396 GB, free: 6.992 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009788/0.372, allocations: 0.9207 MB / 0.6405 GB, free: 6.066 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00269/0.3747, allocations: 2.334 MB / 0.6428 GB, free: 3.727 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3747, allocations: 4 kB / 0.6428 GB, free: 3.723 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3747, allocations: 0 / 0.6428 GB, free: 3.723 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.761e-05/0.3747, allocations: 0 / 0.6428 GB, free: 3.723 MB / 446.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.01461/0.3893, allocations: 3.843 MB / 0.6466 GB, free: 15.82 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.3894, allocations: 8.031 kB / 0.6466 GB, free: 15.81 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004795/0.3942, allocations: 0.7549 MB / 0.6473 GB, free: 15.05 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00223/0.3965, allocations: 1.175 MB / 0.6485 GB, free: 13.83 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004615/0.3969, allocations: 424.7 kB / 0.6489 GB, free: 13.34 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002323/0.3972, allocations: 115.9 kB / 0.649 GB, free: 13.23 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003055/0.4002, allocations: 1.44 MB / 0.6504 GB, free: 11.77 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/0.4003, allocations: 4 kB / 0.6504 GB, free: 11.77 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001313/0.4004, allocations: 36 kB / 0.6504 GB, free: 11.73 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.085e-05/0.4004, allocations: 20 kB / 0.6504 GB, free: 11.71 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003141/0.4036, allocations: 1.386 MB / 0.6518 GB, free: 10.32 MB / 462.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.009096/0.4127, allocations: 4.955 MB / 0.6566 GB, free: 5.156 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008934/0.4217, allocations: 2.959 MB / 0.6595 GB, free: 2.062 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002195/0.4239, allocations: 0.9357 MB / 0.6604 GB, free: 1.117 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001228/0.424, allocations: 20.98 kB / 0.6605 GB, free: 1.098 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00233/0.4264, allocations: 1.073 MB / 0.6615 GB, free: 0 / 462.1 MB Notification: Performance of pre-optimization done (n=126): time 2.209e-05/0.4264, allocations: 64 / 0.6615 GB, free: 16 MB / 478.1 MB Notification: Performance of matching and sorting (n=126): time 0.0412/0.4676, allocations: 9.461 MB / 0.6707 GB, free: 6.5 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/0.4678, allocations: 141.5 kB / 0.6709 GB, free: 6.328 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002578/0.4704, allocations: 1.492 MB / 0.6723 GB, free: 4.828 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003665/0.4707, allocations: 49.7 kB / 0.6724 GB, free: 4.773 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005064/0.4713, allocations: 0.6083 MB / 0.673 GB, free: 4.16 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000543/0.4718, allocations: 461.5 kB / 0.6734 GB, free: 3.703 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006297/0.4724, allocations: 331.4 kB / 0.6737 GB, free: 3.375 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.4725, allocations: 301.1 kB / 0.674 GB, free: 3.078 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002267/0.4748, allocations: 0.9925 MB / 0.675 GB, free: 2.082 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002451/0.4773, allocations: 1.19 MB / 0.6762 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004545/0.4818, allocations: 2.105 MB / 0.6782 GB, free: 14.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.4819, allocations: 4 kB / 0.6782 GB, free: 14.69 MB / 494.1 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.01322/0.4951, allocations: 4.369 MB / 0.6825 GB, free: 10.31 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.959e-05/0.4952, allocations: 7.938 kB / 0.6825 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/0.4952, allocations: 4 kB / 0.6825 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009771/0.505, allocations: 2.64 MB / 0.6851 GB, free: 7.648 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00173/0.5067, allocations: 315.5 kB / 0.6854 GB, free: 7.344 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006743/0.5135, allocations: 2.692 MB / 0.688 GB, free: 4.625 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002653/0.5162, allocations: 270.3 kB / 0.6883 GB, free: 4.359 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001908/0.5164, allocations: 59.98 kB / 0.6883 GB, free: 4.301 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002732/0.5191, allocations: 1.195 MB / 0.6895 GB, free: 3.102 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002416/0.5216, allocations: 1.175 MB / 0.6906 GB, free: 1.875 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004417/0.526, allocations: 2.089 MB / 0.6927 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.152e-06/0.526, allocations: 3.938 kB / 0.6927 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=232) (initialization_lambda0): time 0.01294/0.539, allocations: 4.35 MB / 0.6969 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/0.539, allocations: 11.94 kB / 0.6969 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.5391, allocations: 4 kB / 0.6969 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009647/0.5487, allocations: 2.636 MB / 0.6995 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001708/0.5505, allocations: 311.6 kB / 0.6998 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006788/0.5573, allocations: 2.699 MB / 0.7024 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002649/0.56, allocations: 246.6 kB / 0.7027 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002028/0.5602, allocations: 59.98 kB / 0.7027 GB, free: 5.387 MB / 0.4981 GB 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.0004962/0.5607, allocations: 263.9 kB / 0.703 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003603/0.561, allocations: 161.9 kB / 0.7031 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01695/0.578, allocations: 4.823 MB / 0.7078 GB, free: 116 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.479e-05/0.5781, allocations: 15.98 kB / 0.7079 GB, free: 100 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.779e-06/0.5781, allocations: 0 / 0.7079 GB, free: 100 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.406e-05/0.5781, allocations: 11.97 kB / 0.7079 GB, free: 88 kB / 0.4981 GB 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.01989/0.598, allocations: 6.972 MB / 0.7147 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-05/0.5981, allocations: 0 / 0.7147 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001005/0.5991, allocations: 151.8 kB / 0.7148 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007775/0.6069, allocations: 2.138 MB / 0.7169 GB, free: 6.688 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002505/0.6072, allocations: 28 kB / 0.7169 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02673/0.6339, allocations: 10.07 MB / 0.7268 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.359e-06/0.634, allocations: 4 kB / 0.7268 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01971/0.6537, allocations: 6.006 MB / 0.7326 GB, free: 6.395 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007253/0.6545, allocations: 278.7 kB / 0.7329 GB, free: 6.102 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002911/0.6548, allocations: 24 kB / 0.7329 GB, free: 6.078 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001757/0.6565, allocations: 151.8 kB / 0.7331 GB, free: 5.93 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008955/0.6574, allocations: 265.3 kB / 0.7333 GB, free: 5.668 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001053/0.6575, allocations: 35.98 kB / 0.7334 GB, free: 5.633 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001827/0.6594, allocations: 1.01 MB / 0.7343 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6594, allocations: 0 / 0.7343 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002499/0.6619, allocations: 0.8505 MB / 0.7352 GB, free: 3.773 MB / 0.5294 GB 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.0004239/0.6623, allocations: 159.8 kB / 0.7353 GB, free: 3.609 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01645/0.6788, allocations: 4.881 MB / 0.7401 GB, free: 14.73 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/0.6788, allocations: 4.125 kB / 0.7401 GB, free: 14.73 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006485/0.6853, allocations: 1.934 MB / 0.742 GB, free: 12.78 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001549/0.6869, allocations: 165.6 kB / 0.7421 GB, free: 12.62 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006113/0.693, allocations: 3.162 MB / 0.7452 GB, free: 9.426 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009153/0.694, allocations: 1.241 MB / 0.7464 GB, free: 8.156 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005633/0.6946, allocations: 107.4 kB / 0.7466 GB, free: 8.051 MB / 0.545 GB Notification: Performance of SimCode: time 7.91e-07/0.6946, allocations: 3.938 kB / 0.7466 GB, free: 8.047 MB / 0.545 GB Notification: Performance of Templates: time 0.366/1.061, allocations: 26.67 MB / 0.7726 GB, free: 137.2 MB / 0.5606 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 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.pipe 2>&1)