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.007894/0.007894, allocations: 103.1 kB / 15.73 MB, free: 6.484 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.356/1.356, allocations: 222.9 MB / 239.4 MB, free: 4.52 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.001288/0.001288, allocations: 192.5 kB / 289.7 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4553/0.4553, allocations: 78.52 MB / 418.4 MB, free: 3.164 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 75.88 kB / 0.5536 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3256, allocations: 68.17 MB / 0.6202 GB, free: 9.613 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS): time 0.006868/0.3325, allocations: 8.257 MB / 0.6283 GB, free: 1.914 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005195/0.3377, allocations: 2.657 MB / 0.6309 GB, free: 15.25 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001489/0.3392, allocations: 12 kB / 0.6309 GB, free: 15.24 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001426/0.3407, allocations: 337.2 kB / 0.6312 GB, free: 14.91 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00406/0.3448, allocations: 1.222 MB / 0.6324 GB, free: 13.68 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002349/0.3472, allocations: 0.7486 MB / 0.6331 GB, free: 12.94 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003582/0.3508, allocations: 2.449 MB / 0.6355 GB, free: 10.48 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008868/0.3517, allocations: 408.4 kB / 0.6359 GB, free: 10.06 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001693/0.3534, allocations: 0.9261 MB / 0.6368 GB, free: 9.133 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00181/0.3552, allocations: 1.159 MB / 0.6379 GB, free: 7.965 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006326/0.3559, allocations: 184 kB / 0.6381 GB, free: 7.785 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001138/0.357, allocations: 407.8 kB / 0.6385 GB, free: 7.387 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006725/0.3577, allocations: 490.1 kB / 0.639 GB, free: 6.906 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00144/0.3592, allocations: 0.9129 MB / 0.6399 GB, free: 5.988 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003099/0.3623, allocations: 2.338 MB / 0.6421 GB, free: 3.645 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.3623, allocations: 4 kB / 0.6421 GB, free: 3.641 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3623, allocations: 0 / 0.6421 GB, free: 3.641 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.153e-05/0.3624, allocations: 0 / 0.6421 GB, free: 3.641 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.01456/0.377, allocations: 3.839 MB / 0.6459 GB, free: 15.74 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.377, allocations: 11.97 kB / 0.6459 GB, free: 15.73 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005046/0.3821, allocations: 0.7588 MB / 0.6466 GB, free: 14.97 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002764/0.3849, allocations: 1.175 MB / 0.6478 GB, free: 13.74 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005014/0.3854, allocations: 432.5 kB / 0.6482 GB, free: 13.25 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003811/0.3858, allocations: 112 kB / 0.6483 GB, free: 13.14 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003365/0.3892, allocations: 1.44 MB / 0.6497 GB, free: 11.68 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.756e-05/0.3892, allocations: 0 / 0.6497 GB, free: 11.68 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001644/0.3894, allocations: 39.98 kB / 0.6498 GB, free: 11.64 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.072e-05/0.3894, allocations: 24 kB / 0.6498 GB, free: 11.62 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003343/0.3928, allocations: 1.378 MB / 0.6511 GB, free: 10.24 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.0104/0.4032, allocations: 4.951 MB / 0.656 GB, free: 5.074 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008779/0.412, allocations: 2.967 MB / 0.6589 GB, free: 1.973 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00228/0.4144, allocations: 0.9279 MB / 0.6598 GB, free: 1.035 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002174/0.4146, allocations: 24.91 kB / 0.6598 GB, free: 1.012 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002604/0.4172, allocations: 1.077 MB / 0.6608 GB, free: 15.91 MB / 478.1 MB Notification: Performance of pre-optimization done (n=126): time 4.278e-06/0.4172, allocations: 0 / 0.6608 GB, free: 15.91 MB / 478.1 MB Notification: Performance of matching and sorting (n=126): time 0.0385/0.4557, allocations: 9.453 MB / 0.6701 GB, free: 6.422 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.059e-05/0.4559, allocations: 145.5 kB / 0.6702 GB, free: 6.246 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00272/0.4586, allocations: 1.484 MB / 0.6717 GB, free: 4.754 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003449/0.459, allocations: 53.7 kB / 0.6717 GB, free: 4.695 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005562/0.4595, allocations: 0.6162 MB / 0.6723 GB, free: 4.074 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006983/0.4603, allocations: 453.5 kB / 0.6727 GB, free: 3.625 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009158/0.4612, allocations: 331.4 kB / 0.6731 GB, free: 3.297 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.185e-05/0.4613, allocations: 301.1 kB / 0.6733 GB, free: 3 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002311/0.4636, allocations: 0.9964 MB / 0.6743 GB, free: 2 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002469/0.4661, allocations: 1.19 MB / 0.6755 GB, free: 0.7578 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004716/0.4708, allocations: 2.101 MB / 0.6775 GB, free: 14.62 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.659e-06/0.4709, allocations: 0 / 0.6775 GB, free: 14.62 MB / 494.1 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.01259/0.4835, allocations: 4.373 MB / 0.6818 GB, free: 10.23 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.643e-05/0.4835, allocations: 14.44 kB / 0.6818 GB, free: 10.22 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.668e-05/0.4836, allocations: 4 kB / 0.6818 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009225/0.4928, allocations: 2.64 MB / 0.6844 GB, free: 7.566 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001683/0.4945, allocations: 319.5 kB / 0.6847 GB, free: 7.254 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00676/0.5013, allocations: 2.688 MB / 0.6873 GB, free: 4.539 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002688/0.504, allocations: 266.3 kB / 0.6876 GB, free: 4.277 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003555/0.5044, allocations: 63.98 kB / 0.6876 GB, free: 4.215 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003076/0.5075, allocations: 1.195 MB / 0.6888 GB, free: 3.016 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002618/0.5102, allocations: 1.177 MB / 0.69 GB, free: 1.789 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004941/0.5151, allocations: 2.089 MB / 0.692 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.031e-05/0.5152, allocations: 0 / 0.692 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=232) (initialization_lambda0): time 0.01281/0.528, allocations: 4.35 MB / 0.6962 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.528, allocations: 7.938 kB / 0.6963 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.5281, allocations: 4 kB / 0.6963 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008835/0.5369, allocations: 2.64 MB / 0.6988 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001628/0.5386, allocations: 311.5 kB / 0.6991 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006126/0.5447, allocations: 2.699 MB / 0.7018 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002381/0.5471, allocations: 242.6 kB / 0.702 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002164/0.5474, allocations: 63.98 kB / 0.7021 GB, free: 5.305 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.0004219/0.5478, allocations: 267.9 kB / 0.7023 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000386/0.5482, allocations: 161.9 kB / 0.7025 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01537/0.5636, allocations: 4.823 MB / 0.7072 GB, free: 28 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.349e-05/0.5636, allocations: 16 kB / 0.7072 GB, free: 12 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/0.5636, allocations: 0 / 0.7072 GB, free: 12 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.793e-05/0.5637, allocations: 11.91 kB / 0.7072 GB, free: 0 / 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.01899/0.5827, allocations: 6.968 MB / 0.714 GB, free: 8.895 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.54e-05/0.5827, allocations: 0 / 0.714 GB, free: 8.895 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009754/0.5837, allocations: 151.8 kB / 0.7142 GB, free: 8.746 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007264/0.591, allocations: 2.134 MB / 0.7162 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003332/0.5914, allocations: 31.98 kB / 0.7163 GB, free: 6.578 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02508/0.6165, allocations: 10.07 MB / 0.7261 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.6165, allocations: 3.938 kB / 0.7261 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01788/0.6344, allocations: 6.006 MB / 0.732 GB, free: 6.309 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005791/0.635, allocations: 274.7 kB / 0.7322 GB, free: 6.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002914/0.6353, allocations: 28 kB / 0.7323 GB, free: 5.992 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001641/0.6369, allocations: 151.8 kB / 0.7324 GB, free: 5.844 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000803/0.6377, allocations: 261.3 kB / 0.7327 GB, free: 5.586 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001105/0.6379, allocations: 35.98 kB / 0.7327 GB, free: 5.551 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001675/0.6395, allocations: 1.018 MB / 0.7337 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.61e-07/0.6396, allocations: 0 / 0.7337 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002288/0.6419, allocations: 0.8505 MB / 0.7345 GB, free: 3.684 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.0003733/0.6422, allocations: 155.8 kB / 0.7347 GB, free: 3.523 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01513/0.6574, allocations: 4.881 MB / 0.7394 GB, free: 14.64 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.6574, allocations: 0.875 kB / 0.7394 GB, free: 14.64 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005954/0.6634, allocations: 1.946 MB / 0.7413 GB, free: 12.69 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001239/0.6646, allocations: 163.7 kB / 0.7415 GB, free: 12.53 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005507/0.6702, allocations: 3.107 MB / 0.7445 GB, free: 9.391 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000746/0.6709, allocations: 1.241 MB / 0.7457 GB, free: 8.121 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007956/0.6718, allocations: 198 kB / 0.7459 GB, free: 7.926 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003654/0.6721, allocations: 99.41 kB / 0.746 GB, free: 7.828 MB / 0.545 GB Notification: Performance of SimCode: time 6.92e-07/0.6721, allocations: 4 kB / 0.746 GB, free: 7.824 MB / 0.545 GB Notification: Performance of Templates: time 0.2947/0.9668, allocations: 36.72 MB / 0.7819 GB, free: 135.9 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)