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.001127/0.00113, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.88/1.88, allocations: 222.9 MB / 239 MB, free: 4.684 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.001485/0.001485, allocations: 196.4 kB / 289.3 MB, free: 2.434 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5643/0.5643, allocations: 91.89 MB / 431.3 MB, free: 9.352 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002429/0.002429, allocations: 72.12 kB / 0.5014 GB, free: 8.008 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4122/0.4146, allocations: 71.27 MB / 0.571 GB, free: 36.5 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS): time 0.007902/0.4226, allocations: 8.615 MB / 0.5794 GB, free: 31.27 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005377/0.428, allocations: 2.701 MB / 0.582 GB, free: 29.38 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001287/0.4293, allocations: 15.06 kB / 0.582 GB, free: 29.38 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009533/0.4303, allocations: 271.5 kB / 0.5823 GB, free: 29.26 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002546/0.4329, allocations: 1.002 MB / 0.5833 GB, free: 28.62 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001383/0.4343, allocations: 0.6953 MB / 0.584 GB, free: 28.26 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002112/0.4364, allocations: 2.282 MB / 0.5862 GB, free: 27.15 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005601/0.437, allocations: 412.1 kB / 0.5866 GB, free: 26.95 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001161/0.4382, allocations: 0.9157 MB / 0.5875 GB, free: 26.5 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00111/0.4393, allocations: 1.15 MB / 0.5886 GB, free: 25.95 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003051/0.4396, allocations: 184.9 kB / 0.5888 GB, free: 25.95 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007833/0.4404, allocations: 424.3 kB / 0.5892 GB, free: 25.88 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003305/0.4407, allocations: 471.2 kB / 0.5896 GB, free: 25.58 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007061/0.4414, allocations: 0.921 MB / 0.5905 GB, free: 24.96 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001978/0.4434, allocations: 2.306 MB / 0.5928 GB, free: 23.95 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.4434, allocations: 0 / 0.5928 GB, free: 23.95 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.4434, allocations: 1.125 kB / 0.5928 GB, free: 23.95 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.962e-05/0.4435, allocations: 0 / 0.5928 GB, free: 23.95 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.01284/0.4563, allocations: 3.635 MB / 0.5963 GB, free: 22.44 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.4564, allocations: 13.22 kB / 0.5963 GB, free: 22.43 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004741/0.4611, allocations: 0.7501 MB / 0.5971 GB, free: 22.27 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00235/0.4635, allocations: 1.169 MB / 0.5982 GB, free: 21.54 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003755/0.4639, allocations: 428 kB / 0.5986 GB, free: 21.14 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002596/0.4642, allocations: 111 kB / 0.5987 GB, free: 21.11 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003103/0.4673, allocations: 1.442 MB / 0.6001 GB, free: 20.55 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.648e-05/0.4673, allocations: 0 / 0.6001 GB, free: 20.55 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001338/0.4675, allocations: 40.39 kB / 0.6002 GB, free: 20.52 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.834e-05/0.4675, allocations: 27.12 kB / 0.6002 GB, free: 20.52 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003069/0.4706, allocations: 1.376 MB / 0.6016 GB, free: 20.06 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.009782/0.4804, allocations: 4.989 MB / 0.6064 GB, free: 17.19 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008777/0.4892, allocations: 2.958 MB / 0.6093 GB, free: 16 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002209/0.4914, allocations: 0.9286 MB / 0.6102 GB, free: 15.63 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001557/0.4916, allocations: 23.47 kB / 0.6102 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00242/0.494, allocations: 1.079 MB / 0.6113 GB, free: 15.22 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 3.296e-06/0.494, allocations: 0 / 0.6113 GB, free: 15.22 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.04008/0.5341, allocations: 9.446 MB / 0.6205 GB, free: 11.51 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.214e-05/0.5342, allocations: 145.5 kB / 0.6207 GB, free: 11.34 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002181/0.5364, allocations: 1.488 MB / 0.6221 GB, free: 9.84 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003704/0.5368, allocations: 53.7 kB / 0.6222 GB, free: 9.781 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003448/0.5372, allocations: 0.6083 MB / 0.6228 GB, free: 9.168 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004209/0.5376, allocations: 457.5 kB / 0.6232 GB, free: 8.715 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000559/0.5382, allocations: 331.4 kB / 0.6235 GB, free: 8.387 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.439e-05/0.5382, allocations: 305.1 kB / 0.6238 GB, free: 8.086 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001861/0.5401, allocations: 0.9925 MB / 0.6248 GB, free: 7.09 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0019/0.542, allocations: 1.187 MB / 0.6259 GB, free: 5.855 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003578/0.5456, allocations: 2.105 MB / 0.628 GB, free: 3.707 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.03e-05/0.5456, allocations: 4 kB / 0.628 GB, free: 3.703 MB / 430.1 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.01159/0.5572, allocations: 4.369 MB / 0.6323 GB, free: 15.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.964e-05/0.5573, allocations: 11.94 kB / 0.6323 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/0.5573, allocations: 4 kB / 0.6323 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009669/0.567, allocations: 2.648 MB / 0.6349 GB, free: 12.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001839/0.5689, allocations: 311.5 kB / 0.6352 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006596/0.5755, allocations: 2.703 MB / 0.6378 GB, free: 9.613 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003685/0.5792, allocations: 274.2 kB / 0.6381 GB, free: 9.344 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000303/0.5795, allocations: 59.98 kB / 0.6381 GB, free: 9.285 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003063/0.5826, allocations: 1.199 MB / 0.6393 GB, free: 8.078 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00242/0.5851, allocations: 1.171 MB / 0.6404 GB, free: 6.863 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004354/0.5894, allocations: 2.097 MB / 0.6425 GB, free: 4.723 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.022e-05/0.5895, allocations: 0 / 0.6425 GB, free: 4.723 MB / 446.1 MB Notification: Performance of matching and sorting (n=232) (initialization_lambda0): time 0.01294/0.6024, allocations: 4.354 MB / 0.6467 GB, free: 360 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.6025, allocations: 4 kB / 0.6467 GB, free: 356 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.6025, allocations: 4 kB / 0.6467 GB, free: 352 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009243/0.6118, allocations: 2.655 MB / 0.6493 GB, free: 13.69 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001743/0.6135, allocations: 303.6 kB / 0.6496 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006487/0.62, allocations: 2.691 MB / 0.6522 GB, free: 10.67 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003231/0.6233, allocations: 242.6 kB / 0.6525 GB, free: 10.43 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002482/0.6236, allocations: 63.98 kB / 0.6525 GB, free: 10.37 MB / 462.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.000492/0.6241, allocations: 265.3 kB / 0.6528 GB, free: 10.11 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004646/0.6246, allocations: 169.9 kB / 0.6529 GB, free: 9.938 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02216/0.6467, allocations: 4.82 MB / 0.6577 GB, free: 5.098 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.972e-05/0.6468, allocations: 12 kB / 0.6577 GB, free: 5.086 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/0.6468, allocations: 0 / 0.6577 GB, free: 5.086 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.148e-05/0.6469, allocations: 7.969 kB / 0.6577 GB, free: 5.078 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 postOpt removeSimpleEquations (simulation): time 0.03587/0.6828, allocations: 6.985 MB / 0.6645 GB, free: 13.96 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.592e-05/0.6829, allocations: 0 / 0.6645 GB, free: 13.96 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001832/0.6847, allocations: 147.8 kB / 0.6646 GB, free: 13.81 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0139/0.6986, allocations: 2.146 MB / 0.6667 GB, free: 11.66 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004753/0.6992, allocations: 35.92 kB / 0.6668 GB, free: 11.62 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03073/0.7299, allocations: 10.08 MB / 0.6766 GB, free: 1.391 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.73, allocations: 4 kB / 0.6766 GB, free: 1.387 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0182/0.7482, allocations: 6.005 MB / 0.6825 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008515/0.7491, allocations: 274.7 kB / 0.6827 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000304/0.7494, allocations: 24 kB / 0.6828 GB, free: 11.03 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00172/0.7511, allocations: 151.8 kB / 0.6829 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008762/0.752, allocations: 269.3 kB / 0.6832 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001077/0.7521, allocations: 32 kB / 0.6832 GB, free: 10.59 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001627/0.7538, allocations: 1.01 MB / 0.6842 GB, free: 9.582 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.7538, allocations: 0 / 0.6842 GB, free: 9.582 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002485/0.7563, allocations: 0.8544 MB / 0.685 GB, free: 8.727 MB / 494.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.0003907/0.7567, allocations: 152 kB / 0.6852 GB, free: 8.57 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01584/0.7725, allocations: 4.939 MB / 0.69 GB, free: 3.641 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/0.7726, allocations: 8.062 kB / 0.69 GB, free: 3.633 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006094/0.7787, allocations: 1.938 MB / 0.6919 GB, free: 1.68 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001499/0.7802, allocations: 156.3 kB / 0.692 GB, free: 1.527 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005925/0.7861, allocations: 3.676 MB / 0.6956 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007391/0.7869, allocations: 1.245 MB / 0.6968 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009931/0.7879, allocations: 190.1 kB / 0.697 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003812/0.7883, allocations: 103.5 kB / 0.6971 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of SimCode: time 1.021e-06/0.7883, allocations: 3.938 kB / 0.6971 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of Templates: time 0.04815/0.8364, allocations: 35.09 MB / 0.7314 GB, free: 9.184 MB / 0.5294 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)