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.001112/0.001112, allocations: 105.8 kB / 16.37 MB, free: 6.453 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.352/1.352, allocations: 222.9 MB / 240 MB, free: 4.582 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.001275/0.001275, allocations: 196.4 kB / 290.3 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.4539/0.4539, allocations: 78.53 MB / 419 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001472, allocations: 75.89 kB / 498.9 MB, free: 5.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1504, allocations: 68.18 MB / 0.5538 GB, free: 1.5 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS): time 0.2539/0.4043, allocations: 8.252 MB / 0.5619 GB, free: 35.77 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005606/0.41, allocations: 2.662 MB / 0.5645 GB, free: 35.06 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001638/0.4116, allocations: 14.25 kB / 0.5645 GB, free: 35.06 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001107/0.4128, allocations: 328.7 kB / 0.5648 GB, free: 35.05 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003705/0.4165, allocations: 1.217 MB / 0.566 GB, free: 34.6 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001851/0.4184, allocations: 0.7505 MB / 0.5667 GB, free: 34.52 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003943/0.4223, allocations: 2.453 MB / 0.5691 GB, free: 34.07 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007171/0.4231, allocations: 406.1 kB / 0.5695 GB, free: 33.98 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001639/0.4247, allocations: 0.9224 MB / 0.5704 GB, free: 33.77 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001436/0.4262, allocations: 1.155 MB / 0.5715 GB, free: 33.49 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003267/0.4265, allocations: 185.2 kB / 0.5717 GB, free: 33.49 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008386/0.4274, allocations: 410.9 kB / 0.5721 GB, free: 33.48 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003747/0.4278, allocations: 486 kB / 0.5725 GB, free: 33.37 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009157/0.4287, allocations: 0.9152 MB / 0.5734 GB, free: 33.05 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002732/0.4314, allocations: 2.346 MB / 0.5757 GB, free: 32.45 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.4315, allocations: 0.6562 kB / 0.5757 GB, free: 32.45 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4315, allocations: 1.875 kB / 0.5757 GB, free: 32.45 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.703e-05/0.4315, allocations: 0 / 0.5757 GB, free: 32.45 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.01423/0.4458, allocations: 3.83 MB / 0.5795 GB, free: 30.97 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.4458, allocations: 14.66 kB / 0.5795 GB, free: 30.97 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004657/0.4505, allocations: 0.7503 MB / 0.5802 GB, free: 30.8 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002473/0.453, allocations: 1.187 MB / 0.5814 GB, free: 30.05 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003771/0.4534, allocations: 422.4 kB / 0.5818 GB, free: 29.67 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002122/0.4536, allocations: 108 kB / 0.5819 GB, free: 29.63 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002577/0.4562, allocations: 1.449 MB / 0.5833 GB, free: 29.07 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.28e-05/0.4562, allocations: 0 / 0.5833 GB, free: 29.07 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001176/0.4563, allocations: 41.31 kB / 0.5833 GB, free: 29.04 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.853e-05/0.4564, allocations: 21.97 kB / 0.5834 GB, free: 29.04 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002966/0.4593, allocations: 1.379 MB / 0.5847 GB, free: 28.59 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.008567/0.4679, allocations: 4.965 MB / 0.5896 GB, free: 25.73 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007957/0.4759, allocations: 2.96 MB / 0.5924 GB, free: 24.56 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002038/0.478, allocations: 0.9328 MB / 0.5934 GB, free: 24.18 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001489/0.4781, allocations: 20.27 kB / 0.5934 GB, free: 24.18 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002221/0.4804, allocations: 1.085 MB / 0.5944 GB, free: 23.77 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 2.966e-06/0.4804, allocations: 0 / 0.5944 GB, free: 23.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.03797/0.5184, allocations: 9.441 MB / 0.6037 GB, free: 22.06 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.754e-05/0.5185, allocations: 146.9 kB / 0.6038 GB, free: 21.89 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00239/0.5209, allocations: 1.492 MB / 0.6052 GB, free: 21.08 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003136/0.5212, allocations: 50.98 kB / 0.6053 GB, free: 21.03 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000345/0.5215, allocations: 0.6051 MB / 0.6059 GB, free: 20.5 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003831/0.5219, allocations: 463.2 kB / 0.6063 GB, free: 20.09 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006009/0.5225, allocations: 327.6 kB / 0.6066 GB, free: 19.91 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.986e-05/0.5226, allocations: 305.1 kB / 0.6069 GB, free: 19.61 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001984/0.5246, allocations: 0.9912 MB / 0.6079 GB, free: 19.1 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002131/0.5267, allocations: 1.191 MB / 0.6091 GB, free: 18.41 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003887/0.5306, allocations: 2.102 MB / 0.6111 GB, free: 17.26 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.5306, allocations: 5.438 kB / 0.6111 GB, free: 17.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.01126/0.5419, allocations: 4.369 MB / 0.6154 GB, free: 15.09 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/0.542, allocations: 10.91 kB / 0.6154 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.542, allocations: 2.969 kB / 0.6154 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008056/0.5501, allocations: 2.645 MB / 0.618 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001548/0.5516, allocations: 307.6 kB / 0.6183 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005232/0.5569, allocations: 2.698 MB / 0.6209 GB, free: 9.691 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002508/0.5594, allocations: 266.3 kB / 0.6212 GB, free: 9.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001995/0.5596, allocations: 61.23 kB / 0.6212 GB, free: 9.371 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002243/0.5619, allocations: 1.199 MB / 0.6224 GB, free: 8.168 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001822/0.5637, allocations: 1.175 MB / 0.6235 GB, free: 6.945 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003362/0.5671, allocations: 2.097 MB / 0.6256 GB, free: 4.805 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.17e-06/0.5671, allocations: 3.938 kB / 0.6256 GB, free: 4.801 MB / 430.1 MB Notification: Performance of matching and sorting (n=232) (initialization_lambda0): time 0.0104/0.5775, allocations: 4.35 MB / 0.6298 GB, free: 448 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.5775, allocations: 8 kB / 0.6299 GB, free: 440 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.5776, allocations: 0 / 0.6299 GB, free: 440 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008655/0.5862, allocations: 2.641 MB / 0.6324 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0016/0.5879, allocations: 311.5 kB / 0.6327 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005936/0.5938, allocations: 2.7 MB / 0.6354 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002438/0.5963, allocations: 238.6 kB / 0.6356 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00021/0.5965, allocations: 63.98 kB / 0.6357 GB, free: 10.46 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.0004347/0.5969, allocations: 256 kB / 0.6359 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003536/0.5973, allocations: 167.4 kB / 0.6361 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01458/0.6119, allocations: 4.828 MB / 0.6408 GB, free: 5.184 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.672e-05/0.6119, allocations: 12 kB / 0.6408 GB, free: 5.172 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.968e-06/0.6119, allocations: 0.75 kB / 0.6408 GB, free: 5.172 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.953e-05/0.612, allocations: 7.969 kB / 0.6408 GB, free: 5.164 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.01829/0.6303, allocations: 6.975 MB / 0.6476 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/0.6303, allocations: 0 / 0.6476 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000989/0.6313, allocations: 148.3 kB / 0.6477 GB, free: 13.91 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007116/0.6384, allocations: 2.138 MB / 0.6498 GB, free: 11.76 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002723/0.6387, allocations: 32.97 kB / 0.6499 GB, free: 11.73 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02497/0.6637, allocations: 10.06 MB / 0.6597 GB, free: 1.523 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.6638, allocations: 0.5469 kB / 0.6597 GB, free: 1.523 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01911/0.6829, allocations: 6.01 MB / 0.6656 GB, free: 11.48 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008283/0.6838, allocations: 278.6 kB / 0.6658 GB, free: 11.19 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003454/0.6841, allocations: 28.11 kB / 0.6659 GB, free: 11.16 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001655/0.6858, allocations: 158.1 kB / 0.666 GB, free: 11.01 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008393/0.6866, allocations: 257.4 kB / 0.6663 GB, free: 10.76 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000116/0.6868, allocations: 35.98 kB / 0.6663 GB, free: 10.73 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001715/0.6885, allocations: 1.014 MB / 0.6673 GB, free: 9.715 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6885, allocations: 0 / 0.6673 GB, free: 9.715 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002292/0.6908, allocations: 0.8505 MB / 0.6681 GB, free: 8.863 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.0003491/0.6911, allocations: 147.7 kB / 0.6682 GB, free: 8.707 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01539/0.7065, allocations: 4.891 MB / 0.673 GB, free: 3.832 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.694e-06/0.7066, allocations: 4.312 kB / 0.673 GB, free: 3.828 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006382/0.713, allocations: 1.938 MB / 0.6749 GB, free: 1.871 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001411/0.7144, allocations: 152.1 kB / 0.6751 GB, free: 1.723 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005909/0.7204, allocations: 3.115 MB / 0.6781 GB, free: 14.64 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008326/0.7212, allocations: 1.245 MB / 0.6793 GB, free: 13.37 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008691/0.7221, allocations: 187.7 kB / 0.6795 GB, free: 13.19 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003598/0.7225, allocations: 103.4 kB / 0.6796 GB, free: 13.09 MB / 494.1 MB Notification: Performance of SimCode: time 8.41e-07/0.7225, allocations: 0 / 0.6796 GB, free: 13.09 MB / 494.1 MB Notification: Performance of Templates: time 0.05694/0.7794, allocations: 36.42 MB / 0.7152 GB, free: 8.832 MB / 0.5137 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 -s cvode -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.pipe 2>&1)