Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.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.PSSE.ES.SCRX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001309/0.001309, allocations: 169 kB / 7.645 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.589/1.589, allocations: 205.3 MB / 213.4 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000926/0.000926, allocations: 82.7 kB / 261.4 MB, free: 1.617 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.07405/0.07405, allocations: 12.6 MB / 321.9 MB, free: 15.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4653/0.4653, allocations: 78.05 MB / 450.8 MB, free: 8.906 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.153e-05/1.154e-05, allocations: 2.281 kB / 0.5147 GB, free: 41.95 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.135, allocations: 69.33 MB / 0.5824 GB, free: 328 kB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1424/0.2774, allocations: 111.6 MB / 0.6914 GB, free: 0.5547 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002336/0.2777, allocations: 87.95 kB / 0.6915 GB, free: 480 kB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3592/0.6369, allocations: 40.46 MB / 0.731 GB, free: 82.09 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.637, allocations: 0 / 0.731 GB, free: 82.09 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001577/0.6371, allocations: 28 kB / 0.731 GB, free: 82.06 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.006357/0.6435, allocations: 2.047 MB / 0.733 GB, free: 79.98 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.6435, allocations: 8.031 kB / 0.733 GB, free: 79.97 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003531/0.6471, allocations: 0.552 MB / 0.7336 GB, free: 79.41 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002592/0.6497, allocations: 0.9898 MB / 0.7345 GB, free: 78.4 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000428/0.6501, allocations: 396.7 kB / 0.7349 GB, free: 77.95 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004489/0.6506, allocations: 63.98 kB / 0.735 GB, free: 77.88 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002369/0.653, allocations: 1.078 MB / 0.736 GB, free: 76.8 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00214/0.6552, allocations: 1.077 MB / 0.7371 GB, free: 75.71 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.365e-05/0.6552, allocations: 4 kB / 0.7371 GB, free: 75.71 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001254/0.6553, allocations: 4 kB / 0.7371 GB, free: 75.7 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.607e-05/0.6554, allocations: 24 kB / 0.7371 GB, free: 75.68 MB / 474.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.009449/0.6648, allocations: 4.75 MB / 0.7417 GB, free: 70.72 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006915/0.6718, allocations: 3.08 MB / 0.7448 GB, free: 67.5 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00116/0.6729, allocations: 0.6899 MB / 0.7454 GB, free: 66.8 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001739/0.6731, allocations: 25.28 kB / 0.7454 GB, free: 66.78 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001407/0.6746, allocations: 0.8311 MB / 0.7463 GB, free: 65.93 MB / 474.7 MB Notification: Performance of pre-optimization done (n=125): time 3.186e-06/0.6746, allocations: 0.9375 kB / 0.7463 GB, free: 65.93 MB / 474.7 MB Notification: Performance of matching and sorting (n=125): time 0.01385/0.6884, allocations: 4.821 MB / 0.751 GB, free: 61.09 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.6885, allocations: 124.1 kB / 0.7511 GB, free: 60.94 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002196/0.6907, allocations: 1.042 MB / 0.7521 GB, free: 59.89 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003439/0.6911, allocations: 29.64 kB / 0.7521 GB, free: 59.85 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004606/0.6916, allocations: 0.6355 MB / 0.7528 GB, free: 59.21 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006712/0.6922, allocations: 437.6 kB / 0.7532 GB, free: 58.77 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002098/0.6925, allocations: 0 / 0.7532 GB, free: 58.77 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.6926, allocations: 349.9 kB / 0.7535 GB, free: 58.43 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001078/0.6937, allocations: 0.5533 MB / 0.754 GB, free: 57.88 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001081/0.6948, allocations: 0.7162 MB / 0.7547 GB, free: 57.11 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001181/0.696, allocations: 0.6193 MB / 0.7553 GB, free: 56.5 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/0.696, allocations: 4 kB / 0.7554 GB, free: 56.49 MB / 474.7 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.003917/0.6999, allocations: 2.017 MB / 0.7573 GB, free: 54.46 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.7, allocations: 6.812 kB / 0.7573 GB, free: 54.46 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.7, allocations: 4 kB / 0.7573 GB, free: 54.45 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007423/0.7074, allocations: 2.503 MB / 0.7598 GB, free: 51.95 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007318/0.7082, allocations: 147.8 kB / 0.7599 GB, free: 51.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005047/0.7132, allocations: 2.743 MB / 0.7626 GB, free: 49.03 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002132/0.7154, allocations: 226.8 kB / 0.7628 GB, free: 48.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002076/0.7156, allocations: 43.98 kB / 0.7629 GB, free: 48.76 MB / 474.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: sCRX.ECOMP0:VARIABLE(fixed = false protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (sCRX.booleanConstant.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 85 * 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 {34 41} Notification: Performance of prepare postOptimizeDAE: time 0.0003817/0.716, allocations: 120.8 kB / 0.763 GB, free: 48.64 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005562/0.7166, allocations: 158 kB / 0.7631 GB, free: 48.48 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01325/0.7298, allocations: 4.948 MB / 0.768 GB, free: 43.51 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.992e-05/0.7299, allocations: 12 kB / 0.768 GB, free: 43.5 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/0.7299, allocations: 7.984 kB / 0.768 GB, free: 43.49 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.222e-05/0.73, allocations: 7.984 kB / 0.768 GB, free: 43.48 MB / 474.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 postOpt removeSimpleEquations (simulation): time 0.01716/0.7471, allocations: 6.881 MB / 0.7747 GB, free: 36.48 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-05/0.7472, allocations: 0 / 0.7747 GB, free: 36.48 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009742/0.7482, allocations: 135.8 kB / 0.7748 GB, free: 36.35 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005761/0.7539, allocations: 1.994 MB / 0.7768 GB, free: 34.35 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002911/0.7543, allocations: 11.94 kB / 0.7768 GB, free: 34.34 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01588/0.7702, allocations: 7.713 MB / 0.7843 GB, free: 26.51 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.062e-06/0.7702, allocations: 0 / 0.7843 GB, free: 26.51 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01542/0.7856, allocations: 5.975 MB / 0.7902 GB, free: 20.48 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007889/0.7865, allocations: 266.8 kB / 0.7904 GB, free: 20.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006043/0.7871, allocations: 8 kB / 0.7904 GB, free: 20.19 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002011/0.7891, allocations: 160 kB / 0.7906 GB, free: 20.04 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000826/0.79, allocations: 261.2 kB / 0.7908 GB, free: 19.78 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001765/0.7901, allocations: 35.98 kB / 0.7909 GB, free: 19.75 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001403/0.7916, allocations: 0.793 MB / 0.7916 GB, free: 18.95 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.81e-07/0.7916, allocations: 4 kB / 0.7916 GB, free: 18.95 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001945/0.7935, allocations: 459.2 kB / 0.7921 GB, free: 18.5 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,sCRX.imLeadLag.TF.x_scaled[1],sCRX.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 81 * 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.0004304/0.794, allocations: 155 kB / 0.7922 GB, free: 18.34 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006413/0.8004, allocations: 2.276 MB / 0.7944 GB, free: 16.06 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.8004, allocations: 0 / 0.7944 GB, free: 16.06 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005029/0.8054, allocations: 1.823 MB / 0.7962 GB, free: 14.23 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001283/0.8067, allocations: 105.1 kB / 0.7963 GB, free: 14.12 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004647/0.8114, allocations: 2.294 MB / 0.7986 GB, free: 11.79 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000965/0.8124, allocations: 1.258 MB / 0.7998 GB, free: 10.5 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0007531/0.8132, allocations: 120.3 kB / 0.7999 GB, free: 10.38 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004747/0.8136, allocations: 75.42 kB / 0.8 GB, free: 10.3 MB / 474.7 MB Notification: Performance of SimCode: time 2.4e-07/0.8137, allocations: 0 / 0.8 GB, free: 10.3 MB / 474.7 MB Notification: Performance of Templates: time 0.0393/0.853, allocations: 22.75 MB / 0.8222 GB, free: 3.562 MB / 490.7 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe 2>&1)