Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS") translateModel(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001448/0.001449, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.277/1.277, allocations: 205.2 MB / 218.5 MB, free: 9.223 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007874/0.0007874, allocations: 90.8 kB / 266.6 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.0835/0.0835, allocations: 12.59 MB / 327.3 MB, free: 12.5 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2835/0.2835, allocations: 78.01 MB / 456.1 MB, free: 14.92 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.605e-05/2.607e-05, allocations: 4 kB / 0.5218 GB, free: 23.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1016, allocations: 69.33 MB / 0.5895 GB, free: 2.496 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3549/0.4566, allocations: 112.2 MB / 0.6991 GB, free: 3.32 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002078/0.4569, allocations: 89.33 kB / 0.6992 GB, free: 3.273 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1141/0.5709, allocations: 41.96 MB / 0.7401 GB, free: 15.93 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.571, allocations: 0 / 0.7401 GB, free: 15.93 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.392e-05/0.5711, allocations: 27.94 kB / 0.7402 GB, free: 15.91 MB / 490.7 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.00559/0.5767, allocations: 2.094 MB / 0.7422 GB, free: 13.9 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.5767, allocations: 15.98 kB / 0.7422 GB, free: 13.89 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003299/0.58, allocations: 0.5469 MB / 0.7428 GB, free: 13.38 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001909/0.582, allocations: 1.037 MB / 0.7438 GB, free: 12.54 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004739/0.5824, allocations: 433.2 kB / 0.7442 GB, free: 12.09 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003593/0.5828, allocations: 94.75 kB / 0.7443 GB, free: 12.03 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00234/0.5852, allocations: 1.233 MB / 0.7455 GB, free: 11.22 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.118e-05/0.5852, allocations: 0 / 0.7455 GB, free: 11.22 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001317/0.5853, allocations: 39.94 kB / 0.7455 GB, free: 11.21 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.105e-05/0.5854, allocations: 24 kB / 0.7455 GB, free: 11.19 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002007/0.5874, allocations: 1.145 MB / 0.7467 GB, free: 10.47 MB / 490.7 MB 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.00884/0.5962, allocations: 4.953 MB / 0.7515 GB, free: 6.582 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008258/0.6045, allocations: 3.191 MB / 0.7546 GB, free: 3.73 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001293/0.6058, allocations: 0.7294 MB / 0.7553 GB, free: 3.328 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001511/0.606, allocations: 24.97 kB / 0.7554 GB, free: 3.301 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001377/0.6074, allocations: 0.8883 MB / 0.7562 GB, free: 2.699 MB / 490.7 MB Notification: Performance of pre-optimization done (n=126): time 2.795e-06/0.6074, allocations: 4 kB / 0.7562 GB, free: 2.695 MB / 490.7 MB Notification: Performance of matching and sorting (n=126): time 0.0157/0.6231, allocations: 4.936 MB / 0.761 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.123e-05/0.6232, allocations: 141.5 kB / 0.7612 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001949/0.6252, allocations: 1.199 MB / 0.7624 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002653/0.6255, allocations: 49.7 kB / 0.7624 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005038/0.626, allocations: 0.6363 MB / 0.763 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004899/0.6265, allocations: 457.4 kB / 0.7635 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.795e-05/0.6266, allocations: 24 kB / 0.7635 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.6267, allocations: 361.9 kB / 0.7638 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001086/0.6278, allocations: 0.5846 MB / 0.7644 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001155/0.629, allocations: 0.75 MB / 0.7651 GB, free: 9.691 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00115/0.6301, allocations: 0.6453 MB / 0.7658 GB, free: 9.047 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.6301, allocations: 0 / 0.7658 GB, free: 9.047 MB / 0.4948 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003817/0.634, allocations: 2.064 MB / 0.7678 GB, free: 6.969 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004677/0.6345, allocations: 1.353 MB / 0.7691 GB, free: 5.496 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.6345, allocations: 4 kB / 0.7691 GB, free: 5.492 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00832/0.6428, allocations: 2.515 MB / 0.7716 GB, free: 2.973 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/0.6438, allocations: 203.7 kB / 0.7717 GB, free: 2.773 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004575/0.6484, allocations: 2.253 MB / 0.774 GB, free: 0.4922 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002206/0.6507, allocations: 270.8 kB / 0.7742 GB, free: 232 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001624/0.6508, allocations: 55.91 kB / 0.7743 GB, free: 176 kB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.6509, allocations: 4 kB / 0.7743 GB, free: 172 kB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003475/0.6543, allocations: 1.877 MB / 0.7761 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.6544, allocations: 4 kB / 0.7761 GB, free: 14.28 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008168/0.6625, allocations: 2.519 MB / 0.7786 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009124/0.6635, allocations: 195.7 kB / 0.7787 GB, free: 11.56 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004499/0.668, allocations: 2.257 MB / 0.781 GB, free: 9.277 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002144/0.6702, allocations: 254.9 kB / 0.7812 GB, free: 9.027 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001333/0.6703, allocations: 47.98 kB / 0.7812 GB, free: 8.98 MB / 0.5105 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 (103): * Single equations (assignments): 102 * 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.0003304/0.6706, allocations: 176.7 kB / 0.7814 GB, free: 8.801 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003073/0.671, allocations: 169.9 kB / 0.7816 GB, free: 8.633 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0153/0.6863, allocations: 5.101 MB / 0.7866 GB, free: 3.516 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-05/0.6863, allocations: 12 kB / 0.7866 GB, free: 3.504 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.6863, allocations: 0 / 0.7866 GB, free: 3.504 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.691e-05/0.6864, allocations: 7.969 kB / 0.7866 GB, free: 3.496 MB / 0.5105 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.01812/0.7045, allocations: 7.216 MB / 0.7936 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.959e-06/0.7045, allocations: 0 / 0.7936 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009442/0.7055, allocations: 151.8 kB / 0.7938 GB, free: 12 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006677/0.7122, allocations: 2.013 MB / 0.7957 GB, free: 9.98 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002226/0.7124, allocations: 27.98 kB / 0.7958 GB, free: 9.953 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01814/0.7306, allocations: 7.841 MB / 0.8034 GB, free: 1.969 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.7306, allocations: 4 kB / 0.8034 GB, free: 1.965 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01727/0.7479, allocations: 6.113 MB / 0.8094 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006225/0.7485, allocations: 282.7 kB / 0.8097 GB, free: 11.51 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002613/0.7488, allocations: 24 kB / 0.8097 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001726/0.7505, allocations: 207.8 kB / 0.8099 GB, free: 11.28 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007683/0.7513, allocations: 257.3 kB / 0.8101 GB, free: 11.03 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001118/0.7514, allocations: 32 kB / 0.8102 GB, free: 11 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001363/0.7528, allocations: 0.943 MB / 0.8111 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7528, allocations: 0 / 0.8111 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001865/0.7547, allocations: 0.7567 MB / 0.8118 GB, free: 9.297 MB / 0.5417 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.0003506/0.755, allocations: 179 kB / 0.812 GB, free: 9.113 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01223/0.7673, allocations: 4.042 MB / 0.8159 GB, free: 5.07 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.7673, allocations: 0 / 0.8159 GB, free: 5.07 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.005483/0.7728, allocations: 1.889 MB / 0.8178 GB, free: 3.172 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007479/0.7736, allocations: 135.9 kB / 0.8179 GB, free: 3.039 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004198/0.7778, allocations: 2.511 MB / 0.8204 GB, free: 492 kB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007613/0.7785, allocations: 1.282 MB / 0.8216 GB, free: 15.17 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001108/0.7797, allocations: 261.2 kB / 0.8219 GB, free: 14.91 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002329/0.7799, allocations: 67.42 kB / 0.8219 GB, free: 14.84 MB / 0.5573 GB Notification: Performance of SimCode: time 3.7e-07/0.7799, allocations: 4 kB / 0.8219 GB, free: 14.84 MB / 0.5573 GB Notification: Performance of Templates: time 0.04752/0.8274, allocations: 32.79 MB / 0.8539 GB, free: 14.04 MB / 0.5886 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.pipe 2>&1)