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/Complex 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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/Complex 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 173.5 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 221.5 MB / 229.6 MB, free: 7.57 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008548/0.0008548, allocations: 99.17 kB / 280.5 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5147/0.5148, allocations: 78.94 MB / 410.2 MB, free: 5.984 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.336e-05/1.34e-05, allocations: 4 kB / 485.9 MB, free: 11.52 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1521, allocations: 69.51 MB / 0.5424 GB, free: 5.902 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4536/0.6057, allocations: 110.7 MB / 0.6505 GB, free: 3.414 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002397/0.606, allocations: 89.41 kB / 0.6506 GB, free: 3.328 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1224/0.7283, allocations: 40.98 MB / 0.6906 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.703e-06/0.7284, allocations: 0.75 kB / 0.6906 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001186/0.7285, allocations: 31.94 kB / 0.6907 GB, free: 10.33 MB / 0.4948 GB 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.007794/0.7363, allocations: 2.085 MB / 0.6927 GB, free: 8.195 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.7364, allocations: 8.031 kB / 0.6927 GB, free: 8.188 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006455/0.7428, allocations: 0.6754 MB / 0.6934 GB, free: 7.512 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003128/0.746, allocations: 1.054 MB / 0.6944 GB, free: 6.406 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005813/0.7466, allocations: 396.7 kB / 0.6948 GB, free: 5.953 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003126/0.7469, allocations: 63.95 kB / 0.6948 GB, free: 5.891 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003343/0.7503, allocations: 1.095 MB / 0.6959 GB, free: 4.797 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002938/0.7532, allocations: 1.093 MB / 0.697 GB, free: 3.684 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.434e-05/0.7533, allocations: 0 / 0.697 GB, free: 3.684 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001379/0.7534, allocations: 0 / 0.697 GB, free: 3.684 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.512e-05/0.7534, allocations: 24 kB / 0.697 GB, free: 3.66 MB / 0.4948 GB Warning: The model contains alias variables with conflicting start and/or 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.0126/0.766, allocations: 4.831 MB / 0.7017 GB, free: 14.64 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008609/0.7747, allocations: 3.134 MB / 0.7048 GB, free: 11.36 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001751/0.7765, allocations: 0.7094 MB / 0.7055 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003001/0.7768, allocations: 25.28 kB / 0.7055 GB, free: 10.62 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002233/0.7791, allocations: 0.8461 MB / 0.7063 GB, free: 9.746 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=126): time 4.989e-06/0.7791, allocations: 0 / 0.7063 GB, free: 9.746 MB / 0.5105 GB Notification: Performance of matching and sorting (n=126): time 0.01638/0.7955, allocations: 4.86 MB / 0.7111 GB, free: 4.867 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.728e-05/0.7956, allocations: 149.8 kB / 0.7112 GB, free: 4.691 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002421/0.798, allocations: 1.134 MB / 0.7123 GB, free: 3.551 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003418/0.7984, allocations: 26.98 kB / 0.7123 GB, free: 3.52 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005528/0.7989, allocations: 0.6476 MB / 0.713 GB, free: 2.863 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007381/0.7997, allocations: 429.5 kB / 0.7134 GB, free: 2.438 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000184/0.7999, allocations: 0 / 0.7134 GB, free: 2.438 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.8001, allocations: 353.9 kB / 0.7137 GB, free: 2.086 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001162/0.8012, allocations: 0.5572 MB / 0.7143 GB, free: 1.527 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001273/0.8025, allocations: 0.7124 MB / 0.715 GB, free: 0.7695 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001452/0.804, allocations: 0.6271 MB / 0.7156 GB, free: 144 kB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/0.804, allocations: 4 kB / 0.7156 GB, free: 140 kB / 0.5105 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.004459/0.8085, allocations: 1.954 MB / 0.7175 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005017/0.809, allocations: 1.357 MB / 0.7188 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.809, allocations: 4 kB / 0.7188 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007739/0.8168, allocations: 2.281 MB / 0.721 GB, free: 10.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/0.8178, allocations: 197 kB / 0.7212 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00488/0.8227, allocations: 2.427 MB / 0.7236 GB, free: 7.758 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002409/0.8251, allocations: 242.8 kB / 0.7238 GB, free: 7.52 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001696/0.8253, allocations: 47.92 kB / 0.7239 GB, free: 7.473 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.8253, allocations: 4 kB / 0.7239 GB, free: 7.469 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00361/0.829, allocations: 1.771 MB / 0.7256 GB, free: 5.695 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.829, allocations: 3.984 kB / 0.7256 GB, free: 5.691 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00762/0.8366, allocations: 2.281 MB / 0.7279 GB, free: 3.402 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009817/0.8376, allocations: 190.8 kB / 0.728 GB, free: 3.219 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004913/0.8426, allocations: 2.42 MB / 0.7304 GB, free: 0.7773 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002563/0.8451, allocations: 238.9 kB / 0.7306 GB, free: 0.543 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001716/0.8453, allocations: 43.98 kB / 0.7307 GB, free: 0.5 MB / 0.5261 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 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * 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.0004078/0.8457, allocations: 121.8 kB / 0.7308 GB, free: 384 kB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004122/0.8462, allocations: 167.2 kB / 0.7309 GB, free: 216 kB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01514/0.8613, allocations: 4.98 MB / 0.7358 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.396e-05/0.8614, allocations: 20 kB / 0.7358 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.575e-06/0.8614, allocations: 0 / 0.7358 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.622e-05/0.8614, allocations: 7.969 kB / 0.7358 GB, free: 11.19 MB / 0.5417 GB Warning: The model contains alias variables with conflicting start and/or 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.01843/0.8799, allocations: 7.027 MB / 0.7427 GB, free: 4.043 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-05/0.8799, allocations: 0 / 0.7427 GB, free: 4.043 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001055/0.881, allocations: 151.8 kB / 0.7428 GB, free: 3.895 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006615/0.8876, allocations: 1.986 MB / 0.7448 GB, free: 1.906 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003035/0.8879, allocations: 15.94 kB / 0.7448 GB, free: 1.891 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01797/0.9059, allocations: 7.695 MB / 0.7523 GB, free: 10.07 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.906, allocations: 7.938 kB / 0.7523 GB, free: 10.06 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01798/0.924, allocations: 6.005 MB / 0.7582 GB, free: 4.012 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009227/0.9249, allocations: 290.6 kB / 0.7585 GB, free: 3.707 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003126/0.9253, allocations: 1.219 kB / 0.7585 GB, free: 3.707 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001914/0.9272, allocations: 179.8 kB / 0.7586 GB, free: 3.531 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001155/0.9283, allocations: 261.2 kB / 0.7589 GB, free: 3.273 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001356/0.9285, allocations: 35.98 kB / 0.7589 GB, free: 3.238 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001946/0.9304, allocations: 0.8723 MB / 0.7598 GB, free: 2.367 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6.82e-07/0.9305, allocations: 0 / 0.7598 GB, free: 2.367 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003317/0.9338, allocations: 0.6979 MB / 0.7604 GB, free: 1.668 MB / 0.5573 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 () * 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.0006371/0.9344, allocations: 156.6 kB / 0.7606 GB, free: 1.508 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.3059/1.24, allocations: 3.92 MB / 0.7644 GB, free: 140.1 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.277e-06/1.24, allocations: 0 / 0.7644 GB, free: 140.1 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005464/1.246, allocations: 1.83 MB / 0.7662 GB, free: 139.9 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001268/1.247, allocations: 107.5 kB / 0.7663 GB, free: 139.9 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004666/1.252, allocations: 2.439 MB / 0.7687 GB, free: 139.2 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006801/1.253, allocations: 1.281 MB / 0.7699 GB, free: 138.5 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001284/1.254, allocations: 260.2 kB / 0.7702 GB, free: 138.5 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002423/1.254, allocations: 67.59 kB / 0.7703 GB, free: 138.5 MB / 0.5573 GB Notification: Performance of SimCode: time 4.91e-07/1.254, allocations: 0 / 0.7703 GB, free: 138.5 MB / 0.5573 GB Notification: Performance of Templates: time 0.06494/1.319, allocations: 30.23 MB / 0.7998 GB, free: 137.2 MB / 0.5573 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)