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.006846/0.006853, allocations: 104.4 kB / 15.73 MB, free: 6.473 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.311/1.311, allocations: 222.9 MB / 239.4 MB, free: 4.543 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.001245/0.001245, allocations: 192.5 kB / 289.7 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4283/0.4283, allocations: 78.53 MB / 418.4 MB, free: 3.137 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 80.09 kB / 0.5536 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2812/0.2827, allocations: 68.17 MB / 0.6202 GB, free: 9.699 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS): time 0.007094/0.2898, allocations: 8.258 MB / 0.6283 GB, free: 1.93 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00448/0.2943, allocations: 2.657 MB / 0.6309 GB, free: 15.27 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006697/0.295, allocations: 16 kB / 0.6309 GB, free: 15.25 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008454/0.2959, allocations: 333.2 kB / 0.6312 GB, free: 14.92 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002987/0.2989, allocations: 1.272 MB / 0.6324 GB, free: 13.65 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00161/0.3005, allocations: 0.7529 MB / 0.6332 GB, free: 12.9 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002515/0.3031, allocations: 2.447 MB / 0.6356 GB, free: 10.45 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005321/0.3036, allocations: 404.4 kB / 0.6359 GB, free: 10.03 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009667/0.3046, allocations: 0.9339 MB / 0.6369 GB, free: 9.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001166/0.3058, allocations: 1.163 MB / 0.638 GB, free: 7.918 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002383/0.306, allocations: 184 kB / 0.6382 GB, free: 7.738 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006452/0.3067, allocations: 411.8 kB / 0.6386 GB, free: 7.336 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003852/0.3071, allocations: 486.1 kB / 0.639 GB, free: 6.859 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000737/0.3078, allocations: 0.9129 MB / 0.6399 GB, free: 5.941 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002095/0.3099, allocations: 2.334 MB / 0.6422 GB, free: 3.602 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3099, allocations: 0 / 0.6422 GB, free: 3.602 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3099, allocations: 0 / 0.6422 GB, free: 3.602 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.126e-05/0.31, allocations: 0 / 0.6422 GB, free: 3.602 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.013/0.323, allocations: 3.847 MB / 0.646 GB, free: 15.7 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.323, allocations: 8.031 kB / 0.646 GB, free: 15.69 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004381/0.3274, allocations: 0.7549 MB / 0.6467 GB, free: 14.93 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002317/0.3297, allocations: 1.172 MB / 0.6478 GB, free: 13.71 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004604/0.3302, allocations: 432.6 kB / 0.6483 GB, free: 13.21 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000258/0.3305, allocations: 107.9 kB / 0.6484 GB, free: 13.11 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003059/0.3336, allocations: 1.448 MB / 0.6498 GB, free: 11.64 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.479e-05/0.3336, allocations: 0 / 0.6498 GB, free: 11.64 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001239/0.3337, allocations: 40 kB / 0.6498 GB, free: 11.6 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.802e-05/0.3338, allocations: 24 kB / 0.6498 GB, free: 11.58 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003022/0.3368, allocations: 1.378 MB / 0.6512 GB, free: 10.2 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.009479/0.3463, allocations: 4.959 MB / 0.656 GB, free: 5.027 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008088/0.3544, allocations: 2.963 MB / 0.6589 GB, free: 1.93 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002022/0.3565, allocations: 0.9279 MB / 0.6598 GB, free: 0.9922 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001468/0.3566, allocations: 24.92 kB / 0.6598 GB, free: 0.9688 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00218/0.3588, allocations: 1.077 MB / 0.6609 GB, free: 15.87 MB / 478.1 MB Notification: Performance of pre-optimization done (n=126): time 3.066e-06/0.3588, allocations: 0 / 0.6609 GB, free: 15.87 MB / 478.1 MB Notification: Performance of matching and sorting (n=126): time 0.03677/0.3956, allocations: 9.449 MB / 0.6701 GB, free: 6.383 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.345e-05/0.3957, allocations: 149.4 kB / 0.6703 GB, free: 6.203 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002408/0.3981, allocations: 1.488 MB / 0.6717 GB, free: 4.707 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002799/0.3984, allocations: 49.7 kB / 0.6718 GB, free: 4.652 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004664/0.3989, allocations: 0.6122 MB / 0.6724 GB, free: 4.035 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005157/0.3994, allocations: 457.5 kB / 0.6728 GB, free: 3.582 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006231/0.4001, allocations: 331.4 kB / 0.6731 GB, free: 3.254 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.268e-05/0.4002, allocations: 301.1 kB / 0.6734 GB, free: 2.957 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002124/0.4023, allocations: 1 MB / 0.6744 GB, free: 1.953 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002255/0.4046, allocations: 1.183 MB / 0.6755 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004313/0.4089, allocations: 2.109 MB / 0.6776 GB, free: 14.57 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.769e-06/0.4089, allocations: 0 / 0.6776 GB, free: 14.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.01184/0.4208, allocations: 4.373 MB / 0.6819 GB, free: 10.18 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.966e-05/0.4208, allocations: 11.94 kB / 0.6819 GB, free: 10.17 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/0.4208, allocations: 0 / 0.6819 GB, free: 10.17 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008966/0.4298, allocations: 2.647 MB / 0.6845 GB, free: 7.516 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001649/0.4315, allocations: 311.5 kB / 0.6848 GB, free: 7.211 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006034/0.4376, allocations: 2.696 MB / 0.6874 GB, free: 4.488 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002354/0.4399, allocations: 262.3 kB / 0.6876 GB, free: 4.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001687/0.4401, allocations: 63.98 kB / 0.6877 GB, free: 4.168 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002533/0.4426, allocations: 1.195 MB / 0.6889 GB, free: 2.969 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002193/0.4449, allocations: 1.171 MB / 0.69 GB, free: 1.746 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004141/0.449, allocations: 2.089 MB / 0.6921 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.769e-06/0.449, allocations: 0 / 0.6921 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of matching and sorting (n=232) (initialization_lambda0): time 0.01176/0.4608, allocations: 4.35 MB / 0.6963 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.4608, allocations: 8 kB / 0.6963 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.4608, allocations: 7.938 kB / 0.6963 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00848/0.4693, allocations: 2.64 MB / 0.6989 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001537/0.4709, allocations: 311.6 kB / 0.6992 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00594/0.4768, allocations: 2.699 MB / 0.7018 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002317/0.4792, allocations: 238.6 kB / 0.7021 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00016/0.4794, allocations: 67.97 kB / 0.7021 GB, free: 5.258 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.0004137/0.4798, allocations: 263.9 kB / 0.7024 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002989/0.4801, allocations: 161.9 kB / 0.7025 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01512/0.4952, allocations: 4.819 MB / 0.7072 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.561e-05/0.4952, allocations: 12 kB / 0.7072 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.4953, allocations: 0 / 0.7072 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.831e-05/0.4953, allocations: 11.92 kB / 0.7073 GB, free: 15.96 MB / 0.5137 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.01814/0.5134, allocations: 6.976 MB / 0.7141 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.364e-05/0.5135, allocations: 4 kB / 0.7141 GB, free: 8.848 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009057/0.5144, allocations: 143.8 kB / 0.7142 GB, free: 8.707 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007109/0.5215, allocations: 2.142 MB / 0.7163 GB, free: 6.562 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002029/0.5217, allocations: 28 kB / 0.7163 GB, free: 6.535 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02448/0.5462, allocations: 10.07 MB / 0.7262 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.5463, allocations: 3.938 kB / 0.7262 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01763/0.5639, allocations: 6.006 MB / 0.732 GB, free: 6.266 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005536/0.5645, allocations: 278.7 kB / 0.7323 GB, free: 5.973 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002345/0.5647, allocations: 20 kB / 0.7323 GB, free: 5.953 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001574/0.5663, allocations: 163.8 kB / 0.7325 GB, free: 5.793 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008184/0.5672, allocations: 253.3 kB / 0.7327 GB, free: 5.543 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001143/0.5673, allocations: 39.98 kB / 0.7328 GB, free: 5.504 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001628/0.5689, allocations: 1.006 MB / 0.7337 GB, free: 4.5 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.9e-07/0.5689, allocations: 0 / 0.7337 GB, free: 4.5 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002079/0.571, allocations: 0.8583 MB / 0.7346 GB, free: 3.641 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.0003133/0.5713, allocations: 151.1 kB / 0.7347 GB, free: 3.484 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01439/0.5857, allocations: 4.893 MB / 0.7395 GB, free: 14.59 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.5858, allocations: 0 / 0.7395 GB, free: 14.59 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005888/0.5917, allocations: 1.946 MB / 0.7414 GB, free: 12.64 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/0.5929, allocations: 151.5 kB / 0.7415 GB, free: 12.49 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005371/0.5982, allocations: 3.118 MB / 0.7446 GB, free: 9.344 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007604/0.599, allocations: 1.245 MB / 0.7458 GB, free: 8.07 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007735/0.5998, allocations: 194.1 kB / 0.746 GB, free: 7.879 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003561/0.6002, allocations: 99.41 kB / 0.7461 GB, free: 7.781 MB / 0.545 GB Notification: Performance of SimCode: time 9.42e-07/0.6002, allocations: 0 / 0.7461 GB, free: 7.781 MB / 0.545 GB Notification: Performance of Templates: time 0.2912/0.8914, allocations: 36.73 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)