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.001277/0.001277, allocations: 112.1 kB / 16.41 MB, free: 6.488 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.393/1.393, allocations: 222.9 MB / 240.1 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.001573/0.001573, allocations: 204.4 kB / 290.4 MB, free: 2.293 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5212/0.5212, allocations: 91.9 MB / 432.4 MB, free: 9.211 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 75.97 kB / 0.5734 GB, free: 33.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1654, allocations: 71.29 MB / 0.643 GB, free: 3.629 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS): time 0.008681/0.1741, allocations: 8.281 MB / 0.6511 GB, free: 11.3 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005655/0.1798, allocations: 2.65 MB / 0.6537 GB, free: 8.645 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001382/0.1813, allocations: 20 kB / 0.6537 GB, free: 8.625 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001088/0.1824, allocations: 341.2 kB / 0.654 GB, free: 8.289 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003526/0.186, allocations: 1.13 MB / 0.6551 GB, free: 7.152 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00186/0.1878, allocations: 0.7488 MB / 0.6559 GB, free: 6.41 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003643/0.1915, allocations: 2.297 MB / 0.6581 GB, free: 4.109 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006508/0.1921, allocations: 412.7 kB / 0.6585 GB, free: 3.68 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001359/0.1935, allocations: 0.9144 MB / 0.6594 GB, free: 2.762 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001376/0.1949, allocations: 1.151 MB / 0.6605 GB, free: 1.605 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002904/0.1952, allocations: 188 kB / 0.6607 GB, free: 1.422 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009264/0.1961, allocations: 423.7 kB / 0.6611 GB, free: 1.008 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000439/0.1966, allocations: 470.2 kB / 0.6616 GB, free: 0.5469 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008733/0.1975, allocations: 0.9206 MB / 0.6624 GB, free: 15.62 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002636/0.2001, allocations: 2.32 MB / 0.6647 GB, free: 13.29 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.2001, allocations: 0 / 0.6647 GB, free: 13.29 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.2001, allocations: 0 / 0.6647 GB, free: 13.29 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.183e-05/0.2002, allocations: 4 kB / 0.6647 GB, free: 13.29 MB / 478.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.01285/0.213, allocations: 3.636 MB / 0.6683 GB, free: 9.59 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/0.2131, allocations: 8.031 kB / 0.6683 GB, free: 9.582 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004594/0.2177, allocations: 0.751 MB / 0.669 GB, free: 8.828 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002359/0.2201, allocations: 1.183 MB / 0.6702 GB, free: 7.594 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004551/0.2206, allocations: 424.7 kB / 0.6706 GB, free: 7.113 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002181/0.2208, allocations: 108 kB / 0.6707 GB, free: 7.008 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002905/0.2237, allocations: 1.444 MB / 0.6721 GB, free: 5.539 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.513e-05/0.2237, allocations: 3.938 kB / 0.6721 GB, free: 5.535 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001311/0.2239, allocations: 36 kB / 0.6721 GB, free: 5.5 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.259e-05/0.2239, allocations: 28 kB / 0.6722 GB, free: 5.473 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002936/0.2269, allocations: 1.37 MB / 0.6735 GB, free: 4.102 MB / 478.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.00928/0.2361, allocations: 4.971 MB / 0.6783 GB, free: 14.91 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008441/0.2446, allocations: 2.958 MB / 0.6812 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002097/0.2468, allocations: 0.9323 MB / 0.6821 GB, free: 10.88 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001274/0.2469, allocations: 20.97 kB / 0.6822 GB, free: 10.86 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002115/0.249, allocations: 1.081 MB / 0.6832 GB, free: 9.758 MB / 494.1 MB Notification: Performance of pre-optimization done (n=126): time 3.446e-06/0.249, allocations: 0 / 0.6832 GB, free: 9.758 MB / 494.1 MB Notification: Performance of matching and sorting (n=126): time 0.03822/0.2873, allocations: 9.442 MB / 0.6924 GB, free: 280 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/0.2874, allocations: 141.5 kB / 0.6926 GB, free: 108 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00263/0.2901, allocations: 1.488 MB / 0.694 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000403/0.2905, allocations: 53.7 kB / 0.6941 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004971/0.291, allocations: 0.6082 MB / 0.6947 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005611/0.2915, allocations: 457.4 kB / 0.6951 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006222/0.2922, allocations: 335.4 kB / 0.6954 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.2923, allocations: 305.1 kB / 0.6957 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002084/0.2944, allocations: 0.9925 MB / 0.6967 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002251/0.2967, allocations: 1.198 MB / 0.6979 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004164/0.3008, allocations: 2.101 MB / 0.6999 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.277e-06/0.3009, allocations: 0 / 0.6999 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of matching and sorting (n=232) (initialization): time 0.01233/0.3132, allocations: 4.377 MB / 0.7042 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.366e-05/0.3133, allocations: 11.94 kB / 0.7042 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/0.3133, allocations: 4 kB / 0.7042 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00919/0.3225, allocations: 2.636 MB / 0.7068 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001831/0.3243, allocations: 319.5 kB / 0.7071 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006279/0.3306, allocations: 2.691 MB / 0.7097 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002797/0.3335, allocations: 266.3 kB / 0.71 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001526/0.3336, allocations: 59.98 kB / 0.71 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002711/0.3363, allocations: 1.199 MB / 0.7112 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002267/0.3386, allocations: 1.175 MB / 0.7123 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004206/0.3428, allocations: 2.093 MB / 0.7144 GB, free: 9.5 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.269e-06/0.3429, allocations: 0 / 0.7144 GB, free: 9.5 MB / 0.5137 GB Notification: Performance of matching and sorting (n=232) (initialization_lambda0): time 0.01202/0.3549, allocations: 4.346 MB / 0.7186 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.3549, allocations: 4.938 kB / 0.7186 GB, free: 5.137 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.355, allocations: 4 kB / 0.7186 GB, free: 5.133 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008924/0.3639, allocations: 2.648 MB / 0.7212 GB, free: 2.48 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001661/0.3656, allocations: 307.6 kB / 0.7215 GB, free: 2.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006148/0.3718, allocations: 2.699 MB / 0.7241 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002713/0.3745, allocations: 238.6 kB / 0.7244 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001842/0.3747, allocations: 63.98 kB / 0.7244 GB, free: 15.15 MB / 0.5294 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.0004923/0.3752, allocations: 259.9 kB / 0.7247 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003493/0.3755, allocations: 165.9 kB / 0.7248 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01557/0.3911, allocations: 4.819 MB / 0.7295 GB, free: 9.883 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.012e-05/0.3912, allocations: 19.94 kB / 0.7296 GB, free: 9.863 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.3912, allocations: 0 / 0.7296 GB, free: 9.863 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.2e-05/0.3913, allocations: 7.969 kB / 0.7296 GB, free: 9.855 MB / 0.5294 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.01875/0.41, allocations: 6.968 MB / 0.7364 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/0.41, allocations: 0 / 0.7364 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008888/0.4109, allocations: 155.7 kB / 0.7365 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007081/0.418, allocations: 2.142 MB / 0.7386 GB, free: 468 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001822/0.4182, allocations: 31.98 kB / 0.7386 GB, free: 436 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02411/0.4423, allocations: 10.06 MB / 0.7485 GB, free: 6.219 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.4424, allocations: 0 / 0.7485 GB, free: 6.219 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01775/0.4601, allocations: 6.014 MB / 0.7543 GB, free: 176 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007152/0.4609, allocations: 282.8 kB / 0.7546 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002304/0.4611, allocations: 31.94 kB / 0.7546 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00164/0.4628, allocations: 155.8 kB / 0.7548 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008211/0.4636, allocations: 257.4 kB / 0.755 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.759e-05/0.4637, allocations: 32 kB / 0.7551 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001586/0.4653, allocations: 1.018 MB / 0.7561 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.7e-07/0.4653, allocations: 0 / 0.7561 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002179/0.4675, allocations: 0.8545 MB / 0.7569 GB, free: 13.53 MB / 0.5606 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.0003553/0.4679, allocations: 147 kB / 0.757 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01477/0.4826, allocations: 4.889 MB / 0.7618 GB, free: 8.492 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/0.4827, allocations: 4 kB / 0.7618 GB, free: 8.488 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006108/0.4888, allocations: 1.935 MB / 0.7637 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001466/0.4903, allocations: 157.6 kB / 0.7639 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005625/0.4959, allocations: 3.162 MB / 0.7669 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007533/0.4967, allocations: 1.241 MB / 0.7682 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004266/0.4971, allocations: 107.4 kB / 0.7683 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of SimCode: time 9.62e-07/0.4971, allocations: 0 / 0.7683 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of Templates: time 0.4063/0.9034, allocations: 26.67 MB / 0.7943 GB, free: 108 MB / 0.5606 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)