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.001161/0.001161, allocations: 110.1 kB / 16.37 MB, free: 5.539 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.375/1.375, allocations: 222.9 MB / 240 MB, free: 4.547 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.001296/0.001296, allocations: 192.4 kB / 290.3 MB, free: 2.273 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4489/0.4489, allocations: 78.53 MB / 419 MB, free: 3.113 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001607/0.001607, allocations: 79.88 kB / 498.9 MB, free: 5.621 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1221, allocations: 68.19 MB / 0.5538 GB, free: 1.395 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS): time 0.2413/0.3635, allocations: 8.251 MB / 0.5619 GB, free: 35.46 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004668/0.3682, allocations: 2.662 MB / 0.5644 GB, free: 34.76 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008323/0.3691, allocations: 14.09 kB / 0.5645 GB, free: 34.76 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008494/0.3699, allocations: 328.3 kB / 0.5648 GB, free: 34.75 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002408/0.3724, allocations: 1.213 MB / 0.566 GB, free: 34.29 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001393/0.3738, allocations: 0.7564 MB / 0.5667 GB, free: 34.21 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002015/0.3758, allocations: 2.447 MB / 0.5691 GB, free: 33.76 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004763/0.3763, allocations: 404.2 kB / 0.5695 GB, free: 33.68 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007666/0.3771, allocations: 0.9197 MB / 0.5704 GB, free: 33.46 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000953/0.378, allocations: 1.162 MB / 0.5715 GB, free: 33.18 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002258/0.3783, allocations: 184.4 kB / 0.5717 GB, free: 33.18 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006224/0.3789, allocations: 416.2 kB / 0.5721 GB, free: 33.17 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003278/0.3792, allocations: 478.8 kB / 0.5725 GB, free: 33.06 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006032/0.3798, allocations: 0.9168 MB / 0.5734 GB, free: 32.75 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001703/0.3816, allocations: 2.343 MB / 0.5757 GB, free: 32.13 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.279e-06/0.3816, allocations: 0.5312 kB / 0.5757 GB, free: 32.13 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3816, allocations: 0 / 0.5757 GB, free: 32.13 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.809e-05/0.3816, allocations: 0.5312 kB / 0.5757 GB, free: 32.13 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.01228/0.3939, allocations: 3.838 MB / 0.5795 GB, free: 30.65 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.3939, allocations: 11.16 kB / 0.5795 GB, free: 30.65 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004219/0.3982, allocations: 0.7503 MB / 0.5802 GB, free: 30.48 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001925/0.4001, allocations: 1.18 MB / 0.5814 GB, free: 29.74 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003544/0.4005, allocations: 428.8 kB / 0.5818 GB, free: 29.35 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001939/0.4007, allocations: 108.1 kB / 0.5819 GB, free: 29.32 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002526/0.4032, allocations: 1.451 MB / 0.5833 GB, free: 28.75 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/0.4032, allocations: 2.016 kB / 0.5833 GB, free: 28.75 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001099/0.4034, allocations: 36.62 kB / 0.5833 GB, free: 28.73 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.816e-05/0.4034, allocations: 26.97 kB / 0.5834 GB, free: 28.72 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002875/0.4063, allocations: 1.38 MB / 0.5847 GB, free: 28.27 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.007634/0.4139, allocations: 4.957 MB / 0.5895 GB, free: 25.42 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008007/0.4219, allocations: 2.962 MB / 0.5924 GB, free: 24.24 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002066/0.424, allocations: 0.9282 MB / 0.5933 GB, free: 23.87 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001513/0.4242, allocations: 22.81 kB / 0.5934 GB, free: 23.87 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002235/0.4264, allocations: 1.081 MB / 0.5944 GB, free: 23.46 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 3.827e-06/0.4265, allocations: 0 / 0.5944 GB, free: 23.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.03983/0.4663, allocations: 9.45 MB / 0.6037 GB, free: 21.79 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.784e-05/0.4664, allocations: 142.6 kB / 0.6038 GB, free: 21.63 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003157/0.4696, allocations: 1.487 MB / 0.6052 GB, free: 20.89 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003961/0.47, allocations: 51.92 kB / 0.6053 GB, free: 20.84 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005202/0.4705, allocations: 0.6043 MB / 0.6059 GB, free: 20.31 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006253/0.4712, allocations: 463.6 kB / 0.6063 GB, free: 19.91 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001131/0.4723, allocations: 339.8 kB / 0.6066 GB, free: 19.71 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.654e-05/0.4724, allocations: 301.1 kB / 0.6069 GB, free: 19.41 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002322/0.4747, allocations: 0.9919 MB / 0.6079 GB, free: 18.91 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002346/0.4771, allocations: 1.189 MB / 0.6091 GB, free: 18.21 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004266/0.4813, allocations: 2.102 MB / 0.6111 GB, free: 17.06 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-05/0.4814, allocations: 2.125 kB / 0.6111 GB, free: 17.06 MB / 430.1 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.01205/0.4934, allocations: 4.37 MB / 0.6154 GB, free: 14.9 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.013e-05/0.4935, allocations: 15.06 kB / 0.6154 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/0.4935, allocations: 3.062 kB / 0.6154 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008398/0.5019, allocations: 2.641 MB / 0.618 GB, free: 12.6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001593/0.5035, allocations: 315.5 kB / 0.6183 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005997/0.5095, allocations: 2.686 MB / 0.6209 GB, free: 9.586 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002757/0.5123, allocations: 270.9 kB / 0.6212 GB, free: 9.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002943/0.5126, allocations: 63.97 kB / 0.6212 GB, free: 9.258 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002493/0.5151, allocations: 1.199 MB / 0.6224 GB, free: 8.055 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002002/0.5172, allocations: 1.179 MB / 0.6235 GB, free: 6.828 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003676/0.5208, allocations: 2.085 MB / 0.6256 GB, free: 4.699 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.211e-06/0.5209, allocations: 2.438 kB / 0.6256 GB, free: 4.699 MB / 430.1 MB Notification: Performance of matching and sorting (n=232) (initialization_lambda0): time 0.01081/0.5317, allocations: 4.354 MB / 0.6298 GB, free: 340 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.5317, allocations: 8.625 kB / 0.6298 GB, free: 332 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.5317, allocations: 4 kB / 0.6298 GB, free: 328 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008685/0.5404, allocations: 2.642 MB / 0.6324 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00165/0.5421, allocations: 307.6 kB / 0.6327 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006211/0.5483, allocations: 2.692 MB / 0.6354 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00258/0.5509, allocations: 246.6 kB / 0.6356 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003109/0.5513, allocations: 59.98 kB / 0.6356 GB, free: 10.36 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.0005586/0.5518, allocations: 271.9 kB / 0.6359 GB, free: 10.08 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005584/0.5524, allocations: 161.9 kB / 0.6361 GB, free: 9.922 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0157/0.5681, allocations: 4.816 MB / 0.6408 GB, free: 5.086 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.846e-05/0.5682, allocations: 16 kB / 0.6408 GB, free: 5.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.5682, allocations: 0.5 kB / 0.6408 GB, free: 5.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.779e-05/0.5682, allocations: 12.86 kB / 0.6408 GB, free: 5.059 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.02026/0.5885, allocations: 6.965 MB / 0.6476 GB, free: 13.95 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.615e-05/0.5885, allocations: 0.5 kB / 0.6476 GB, free: 13.95 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/0.5896, allocations: 155.8 kB / 0.6477 GB, free: 13.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007632/0.5972, allocations: 2.139 MB / 0.6498 GB, free: 11.66 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003201/0.5976, allocations: 33.05 kB / 0.6499 GB, free: 11.62 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02604/0.6236, allocations: 10.06 MB / 0.6597 GB, free: 1.418 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.6237, allocations: 4 kB / 0.6597 GB, free: 1.414 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01875/0.6424, allocations: 6.01 MB / 0.6656 GB, free: 11.38 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007109/0.6432, allocations: 279.5 kB / 0.6658 GB, free: 11.08 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005996/0.6438, allocations: 24 kB / 0.6659 GB, free: 11.06 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002077/0.6459, allocations: 152.9 kB / 0.666 GB, free: 10.91 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000903/0.6468, allocations: 263.1 kB / 0.6662 GB, free: 10.66 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002001/0.647, allocations: 35.98 kB / 0.6663 GB, free: 10.62 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002013/0.649, allocations: 1.01 MB / 0.6673 GB, free: 9.613 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.649, allocations: 3.938 kB / 0.6673 GB, free: 9.609 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003066/0.6521, allocations: 0.8505 MB / 0.6681 GB, free: 8.758 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.0004267/0.6526, allocations: 155.1 kB / 0.6683 GB, free: 8.594 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01567/0.6682, allocations: 4.881 MB / 0.673 GB, free: 3.727 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.6683, allocations: 0 / 0.673 GB, free: 3.727 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00632/0.6746, allocations: 1.943 MB / 0.6749 GB, free: 1.766 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001786/0.6764, allocations: 158 kB / 0.6751 GB, free: 1.617 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006572/0.683, allocations: 3.117 MB / 0.6781 GB, free: 14.54 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009811/0.684, allocations: 1.246 MB / 0.6793 GB, free: 13.26 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001002/0.6851, allocations: 193.9 kB / 0.6795 GB, free: 13.07 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004789/0.6855, allocations: 95.42 kB / 0.6796 GB, free: 12.98 MB / 494.1 MB Notification: Performance of SimCode: time 1.062e-06/0.6856, allocations: 0 / 0.6796 GB, free: 12.98 MB / 494.1 MB Notification: Performance of Templates: time 0.06032/0.7459, allocations: 36.4 MB / 0.7152 GB, free: 8.73 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 gbode -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.pipe 2>&1)