Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_dev_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS") translateModel(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.001146/0.001146, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.279/1.279, allocations: 223.2 MB / 238.9 MB, free: 5.469 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.001169/0.001169, allocations: 185 kB / 290.2 MB, free: 2.156 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4541/0.4541, allocations: 79.45 MB / 420.7 MB, free: 3.922 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003838/0.0003838, allocations: 12 kB / 0.489 GB, free: 5.582 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1431, allocations: 69.51 MB / 0.5569 GB, free: 8 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS): time 0.2298/0.3729, allocations: 7.221 MB / 0.5639 GB, free: 37.01 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005288/0.3782, allocations: 2.612 MB / 0.5665 GB, free: 36.56 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001324/0.3796, allocations: 11.94 kB / 0.5665 GB, free: 36.56 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008362/0.3804, allocations: 240.2 kB / 0.5667 GB, free: 36.46 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002529/0.383, allocations: 1.003 MB / 0.5677 GB, free: 35.85 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001368/0.3844, allocations: 0.6003 MB / 0.5683 GB, free: 35.59 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002248/0.3866, allocations: 1.393 MB / 0.5697 GB, free: 34.84 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004746/0.3871, allocations: 340.7 kB / 0.57 GB, free: 34.71 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009069/0.388, allocations: 0.7798 MB / 0.5707 GB, free: 34.38 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008636/0.3889, allocations: 0.9936 MB / 0.5717 GB, free: 33.96 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001766/0.3891, allocations: 91.25 kB / 0.5718 GB, free: 33.96 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005678/0.3897, allocations: 291 kB / 0.5721 GB, free: 33.9 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002615/0.3899, allocations: 361.1 kB / 0.5724 GB, free: 33.71 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000211/0.3901, allocations: 291.1 kB / 0.5727 GB, free: 33.52 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001134/0.3913, allocations: 1.686 MB / 0.5743 GB, free: 33.05 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.3913, allocations: 0 / 0.5743 GB, free: 33.05 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3913, allocations: 1.406 kB / 0.5743 GB, free: 33.05 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.694e-05/0.3913, allocations: 0 / 0.5743 GB, free: 33.05 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.011/0.4023, allocations: 3.418 MB / 0.5777 GB, free: 31.8 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.4024, allocations: 11.78 kB / 0.5777 GB, free: 31.8 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004668/0.4071, allocations: 0.7643 MB / 0.5784 GB, free: 31.63 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002444/0.4095, allocations: 1.122 MB / 0.5795 GB, free: 30.95 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004689/0.41, allocations: 437 kB / 0.5799 GB, free: 30.56 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003066/0.4103, allocations: 111.3 kB / 0.5801 GB, free: 30.52 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002781/0.4131, allocations: 1.516 MB / 0.5815 GB, free: 29.95 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/0.4132, allocations: 3.953 kB / 0.5815 GB, free: 29.95 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001215/0.4133, allocations: 40.33 kB / 0.5816 GB, free: 29.92 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.103e-05/0.4133, allocations: 21.97 kB / 0.5816 GB, free: 29.92 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002822/0.4161, allocations: 1.466 MB / 0.583 GB, free: 29.45 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.008646/0.4248, allocations: 5.197 MB / 0.5881 GB, free: 26.46 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008725/0.4335, allocations: 3.543 MB / 0.5916 GB, free: 25.21 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002705/0.4339, allocations: 21.69 kB / 0.5916 GB, free: 25.2 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002528/0.4364, allocations: 1.155 MB / 0.5927 GB, free: 24.79 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 4.92e-06/0.4364, allocations: 0 / 0.5927 GB, free: 24.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.0432/0.4796, allocations: 11.38 MB / 0.6038 GB, free: 22.92 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.496e-05/0.4797, allocations: 142.8 kB / 0.604 GB, free: 22.76 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003683/0.4834, allocations: 1.478 MB / 0.6054 GB, free: 22.18 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004248/0.4839, allocations: 52.14 kB / 0.6055 GB, free: 22.13 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006029/0.4845, allocations: 0.6079 MB / 0.606 GB, free: 21.65 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007913/0.4853, allocations: 458.2 kB / 0.6065 GB, free: 21.29 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003834/0.4857, allocations: 39.81 kB / 0.6065 GB, free: 21.26 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001835/0.4859, allocations: 377.1 kB / 0.6069 GB, free: 20.92 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002717/0.4886, allocations: 1.061 MB / 0.6079 GB, free: 20.55 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002718/0.4914, allocations: 1.262 MB / 0.6091 GB, free: 20 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002631/0.494, allocations: 1.138 MB / 0.6103 GB, free: 19.53 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.043e-05/0.494, allocations: 0 / 0.6103 GB, free: 19.53 MB / 430.1 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.0179/0.5119, allocations: 6.423 MB / 0.6165 GB, free: 15.42 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003087/0.5123, allocations: 1.343 MB / 0.6178 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.089e-05/0.5123, allocations: 4 kB / 0.6178 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008922/0.5213, allocations: 3.028 MB / 0.6208 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001598/0.5229, allocations: 316.1 kB / 0.6211 GB, free: 10.65 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005997/0.5289, allocations: 3.007 MB / 0.624 GB, free: 7.625 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002741/0.5317, allocations: 322.3 kB / 0.6244 GB, free: 7.309 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000296/0.532, allocations: 59.98 kB / 0.6244 GB, free: 7.25 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.532, allocations: 4 kB / 0.6244 GB, free: 7.246 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01586/0.5479, allocations: 6.223 MB / 0.6305 GB, free: 1.016 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.796e-05/0.548, allocations: 8.641 kB / 0.6305 GB, free: 1.008 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00929/0.5573, allocations: 3.026 MB / 0.6335 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001628/0.5589, allocations: 299.6 kB / 0.6337 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006746/0.5657, allocations: 2.992 MB / 0.6367 GB, free: 10.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002687/0.5684, allocations: 294.5 kB / 0.6369 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003359/0.5688, allocations: 69.78 kB / 0.637 GB, free: 10.32 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 ($whenCondition1,$whenCondition2) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {30 26} Notification: Performance of prepare postOptimizeDAE: time 0.001085/0.5699, allocations: 384.8 kB / 0.6374 GB, free: 9.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006128/0.5705, allocations: 161.9 kB / 0.6375 GB, free: 9.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0172/0.5877, allocations: 5.863 MB / 0.6433 GB, free: 3.887 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.85e-05/0.5878, allocations: 16.69 kB / 0.6433 GB, free: 3.871 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.274e-05/0.5878, allocations: 7.922 kB / 0.6433 GB, free: 3.863 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.738e-05/0.5879, allocations: 3.984 kB / 0.6433 GB, free: 3.859 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.0209/0.6088, allocations: 8.086 MB / 0.6512 GB, free: 11.62 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.806e-05/0.6088, allocations: 0 / 0.6512 GB, free: 11.62 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009661/0.6098, allocations: 156.3 kB / 0.6513 GB, free: 11.47 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007816/0.6176, allocations: 2.503 MB / 0.6538 GB, free: 8.957 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002675/0.6179, allocations: 31.98 kB / 0.6538 GB, free: 8.926 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02633/0.6443, allocations: 10.89 MB / 0.6644 GB, free: 13.9 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.6443, allocations: 3.938 kB / 0.6644 GB, free: 13.89 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02059/0.6649, allocations: 7.155 MB / 0.6714 GB, free: 6.695 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001056/0.666, allocations: 282.7 kB / 0.6717 GB, free: 6.398 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006306/0.6667, allocations: 28 kB / 0.6717 GB, free: 6.371 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002301/0.669, allocations: 204.3 kB / 0.6719 GB, free: 6.172 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001026/0.6701, allocations: 264 kB / 0.6722 GB, free: 5.918 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002058/0.6703, allocations: 32 kB / 0.6722 GB, free: 5.887 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001987/0.6723, allocations: 1.002 MB / 0.6732 GB, free: 4.887 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6723, allocations: 0 / 0.6732 GB, free: 4.887 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003074/0.6754, allocations: 0.8505 MB / 0.674 GB, free: 4.035 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003968/0.6758, allocations: 148.4 kB / 0.6742 GB, free: 3.879 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01634/0.6921, allocations: 5.471 MB / 0.6795 GB, free: 14.41 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/0.6922, allocations: 4.062 kB / 0.6795 GB, free: 14.41 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006544/0.6987, allocations: 2.189 MB / 0.6816 GB, free: 12.21 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/0.6999, allocations: 125.3 kB / 0.6818 GB, free: 12.09 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006394/0.7063, allocations: 3.701 MB / 0.6854 GB, free: 8.426 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00105/0.7073, allocations: 1.28 MB / 0.6866 GB, free: 7.117 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009486/0.7083, allocations: 189.4 kB / 0.6868 GB, free: 6.938 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003892/0.7087, allocations: 99.41 kB / 0.6869 GB, free: 6.84 MB / 494.1 MB Notification: Performance of SimCode: time 5.41e-07/0.7087, allocations: 0 / 0.6869 GB, free: 6.84 MB / 494.1 MB Notification: Performance of Templates: time 0.0476/0.7563, allocations: 31.26 MB / 0.7174 GB, free: 7.727 MB / 0.5137 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.pipe 2>&1)