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.000841/0.0008409, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.456/1.456, allocations: 223.3 MB / 239.4 MB, free: 5.492 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.001182/0.001182, allocations: 184.5 kB / 290.6 MB, free: 2.164 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5168/0.5168, allocations: 78.55 MB / 420.3 MB, free: 4.184 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003948/0.0003948, allocations: 8 kB / 0.4887 GB, free: 5.996 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1796/0.18, allocations: 69.37 MB / 0.5564 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS): time 0.3206/0.5007, allocations: 8.077 MB / 0.5643 GB, free: 35.05 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006428/0.5072, allocations: 2.678 MB / 0.5669 GB, free: 34.05 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00213/0.5094, allocations: 14.44 kB / 0.5669 GB, free: 34.05 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00128/0.5107, allocations: 263 kB / 0.5672 GB, free: 33.96 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004076/0.5148, allocations: 1.088 MB / 0.5682 GB, free: 33.51 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001936/0.5167, allocations: 0.6951 MB / 0.5689 GB, free: 33.44 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003466/0.5202, allocations: 2.315 MB / 0.5712 GB, free: 32.99 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007537/0.521, allocations: 355.1 kB / 0.5715 GB, free: 32.91 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001644/0.5226, allocations: 0.795 MB / 0.5723 GB, free: 32.68 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001792/0.5244, allocations: 1.049 MB / 0.5733 GB, free: 32.41 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003812/0.5248, allocations: 93.19 kB / 0.5734 GB, free: 32.41 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009856/0.5258, allocations: 308 kB / 0.5737 GB, free: 32.4 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003521/0.5262, allocations: 378.1 kB / 0.5741 GB, free: 32.29 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008722/0.5271, allocations: 0.8387 MB / 0.5749 GB, free: 31.94 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002708/0.5298, allocations: 2.195 MB / 0.577 GB, free: 31.44 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.5298, allocations: 5.438 kB / 0.577 GB, free: 31.44 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.474e-06/0.5298, allocations: 0.8125 kB / 0.577 GB, free: 31.44 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.388e-05/0.5299, allocations: 0 / 0.577 GB, free: 31.44 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.01373/0.5436, allocations: 3.614 MB / 0.5806 GB, free: 30.36 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.14e-05/0.5437, allocations: 11.97 kB / 0.5806 GB, free: 30.36 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005273/0.549, allocations: 0.7637 MB / 0.5813 GB, free: 30.23 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002962/0.5519, allocations: 1.178 MB / 0.5825 GB, free: 29.76 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004339/0.5524, allocations: 435.3 kB / 0.5829 GB, free: 29.41 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002723/0.5527, allocations: 114.3 kB / 0.583 GB, free: 29.4 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00322/0.5559, allocations: 1.536 MB / 0.5845 GB, free: 28.94 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/0.556, allocations: 3 kB / 0.5845 GB, free: 28.94 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001307/0.5561, allocations: 40.12 kB / 0.5845 GB, free: 28.91 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.818e-05/0.5561, allocations: 23.31 kB / 0.5845 GB, free: 28.91 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003207/0.5593, allocations: 1.47 MB / 0.586 GB, free: 28.44 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.01059/0.5699, allocations: 5.071 MB / 0.5909 GB, free: 25.58 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009888/0.5799, allocations: 3.543 MB / 0.5944 GB, free: 24.33 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002811/0.5827, allocations: 1.017 MB / 0.5954 GB, free: 23.94 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002464/0.583, allocations: 25.47 kB / 0.5954 GB, free: 23.93 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003605/0.5866, allocations: 1.16 MB / 0.5965 GB, free: 23.52 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 8.716e-06/0.5867, allocations: 0.9844 kB / 0.5965 GB, free: 23.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.04996/0.6366, allocations: 11.44 MB / 0.6077 GB, free: 21.62 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.556e-05/0.6368, allocations: 143.1 kB / 0.6079 GB, free: 21.46 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004238/0.641, allocations: 1.493 MB / 0.6093 GB, free: 20.86 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000565/0.6416, allocations: 51.67 kB / 0.6094 GB, free: 20.81 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006614/0.6423, allocations: 0.6158 MB / 0.61 GB, free: 20.27 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008388/0.6431, allocations: 455.5 kB / 0.6104 GB, free: 19.87 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005962/0.6437, allocations: 166.7 kB / 0.6106 GB, free: 19.77 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.816e-05/0.6438, allocations: 306.2 kB / 0.6109 GB, free: 19.46 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002871/0.6467, allocations: 1.07 MB / 0.6119 GB, free: 18.96 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002884/0.6496, allocations: 1.269 MB / 0.6131 GB, free: 18.27 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005564/0.6552, allocations: 2.273 MB / 0.6154 GB, free: 17.09 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.297e-05/0.6552, allocations: 0 / 0.6154 GB, free: 17.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.01354/0.6687, allocations: 5.033 MB / 0.6203 GB, free: 12.04 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001159/0.6689, allocations: 202.6 kB / 0.6205 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.728e-05/0.6689, allocations: 4 kB / 0.6205 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009331/0.6783, allocations: 3.023 MB / 0.6234 GB, free: 8.758 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001672/0.68, allocations: 312.8 kB / 0.6237 GB, free: 8.453 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006516/0.6865, allocations: 3.014 MB / 0.6267 GB, free: 5.422 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003049/0.6896, allocations: 322.2 kB / 0.627 GB, free: 5.105 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003549/0.69, allocations: 63.98 kB / 0.627 GB, free: 5.043 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.69, allocations: 4 kB / 0.627 GB, free: 5.039 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01247/0.7025, allocations: 4.835 MB / 0.6318 GB, free: 204 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.277e-05/0.7025, allocations: 4.547 kB / 0.6318 GB, free: 200 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009691/0.7122, allocations: 3.016 MB / 0.6347 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001699/0.714, allocations: 311.5 kB / 0.635 GB, free: 12.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007137/0.7211, allocations: 2.992 MB / 0.6379 GB, free: 9.852 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002819/0.724, allocations: 291.4 kB / 0.6382 GB, free: 9.566 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003467/0.7243, allocations: 67.92 kB / 0.6383 GB, free: 9.5 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.001134/0.7255, allocations: 387.2 kB / 0.6386 GB, free: 9.113 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006543/0.7262, allocations: 161.9 kB / 0.6388 GB, free: 8.953 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01844/0.7446, allocations: 5.887 MB / 0.6445 GB, free: 3.043 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.399e-05/0.7447, allocations: 12 kB / 0.6445 GB, free: 3.031 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.296e-05/0.7447, allocations: 3.938 kB / 0.6446 GB, free: 3.027 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.04e-05/0.7447, allocations: 7.984 kB / 0.6446 GB, free: 3.02 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.02363/0.7684, allocations: 8.036 MB / 0.6524 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.737e-05/0.7684, allocations: 0.75 kB / 0.6524 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001067/0.7695, allocations: 151.8 kB / 0.6526 GB, free: 10.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00884/0.7784, allocations: 2.516 MB / 0.655 GB, free: 8.184 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003465/0.7788, allocations: 28 kB / 0.655 GB, free: 8.156 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0274/0.8062, allocations: 10.32 MB / 0.6651 GB, free: 13.7 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/0.8062, allocations: 4.484 kB / 0.6651 GB, free: 13.69 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02169/0.8279, allocations: 7.15 MB / 0.6721 GB, free: 6.512 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007699/0.8287, allocations: 283.5 kB / 0.6724 GB, free: 6.215 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006685/0.8294, allocations: 27.98 kB / 0.6724 GB, free: 6.188 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002393/0.8318, allocations: 199.8 kB / 0.6726 GB, free: 5.992 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001033/0.8329, allocations: 257.3 kB / 0.6728 GB, free: 5.738 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002475/0.8331, allocations: 34.34 kB / 0.6729 GB, free: 5.707 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002168/0.8353, allocations: 1.014 MB / 0.6739 GB, free: 4.695 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.8353, allocations: 0 / 0.6739 GB, free: 4.695 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003271/0.8386, allocations: 0.8543 MB / 0.6747 GB, free: 3.84 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.0004388/0.8391, allocations: 147.2 kB / 0.6748 GB, free: 3.688 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01701/0.8561, allocations: 5.484 MB / 0.6802 GB, free: 14.21 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/0.8562, allocations: 0.875 kB / 0.6802 GB, free: 14.21 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007131/0.8633, allocations: 2.195 MB / 0.6823 GB, free: 12.01 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002244/0.8656, allocations: 143 kB / 0.6825 GB, free: 11.87 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00755/0.8732, allocations: 3.829 MB / 0.6862 GB, free: 8.09 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001039/0.8742, allocations: 1.245 MB / 0.6874 GB, free: 6.812 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001415/0.8757, allocations: 197.1 kB / 0.6876 GB, free: 6.625 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00055/0.8762, allocations: 95.36 kB / 0.6877 GB, free: 6.531 MB / 494.1 MB Notification: Performance of SimCode: time 9.31e-07/0.8762, allocations: 0 / 0.6877 GB, free: 6.531 MB / 494.1 MB Notification: Performance of Templates: time 0.05659/0.9328, allocations: 32.31 MB / 0.7192 GB, free: 6.344 MB / 0.5137 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: