Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.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.PSSE.TG.IEESGO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.IEESGO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009326/0.0009327, allocations: 180.9 kB / 7.651 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.242/1.242, allocations: 221.5 MB / 229.6 MB, free: 7.594 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.0007783/0.0007783, allocations: 95.8 kB / 280.5 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4473/0.4473, allocations: 78.12 MB / 409.4 MB, free: 6.449 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.07e-05/2.047e-05, allocations: 11.94 kB / 485 MB, free: 12.41 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1284, allocations: 69.36 MB / 0.5413 GB, free: 6.938 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3718/0.5002, allocations: 110.9 MB / 0.6497 GB, free: 4.789 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002578/0.5006, allocations: 87.94 kB / 0.6497 GB, free: 4.703 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1285/0.6291, allocations: 47.16 MB / 0.6958 GB, free: 5.539 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.814e-06/0.6291, allocations: 0 / 0.6958 GB, free: 5.539 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001751/0.6293, allocations: 39.94 kB / 0.6958 GB, free: 5.5 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: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.006822/0.6361, allocations: 2.23 MB / 0.698 GB, free: 3.211 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.6362, allocations: 8.031 kB / 0.698 GB, free: 3.203 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003471/0.6396, allocations: 0.5757 MB / 0.6986 GB, free: 2.625 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002383/0.642, allocations: 1.086 MB / 0.6996 GB, free: 1.488 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006238/0.6427, allocations: 0.5248 MB / 0.7002 GB, free: 0.8633 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003662/0.6431, allocations: 79.84 kB / 0.7002 GB, free: 0.7852 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002635/0.6457, allocations: 1.195 MB / 0.7014 GB, free: 15.59 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002417/0.6481, allocations: 1.201 MB / 0.7026 GB, free: 14.34 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.809e-05/0.6482, allocations: 0.8438 kB / 0.7026 GB, free: 14.34 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001339/0.6483, allocations: 4 kB / 0.7026 GB, free: 14.34 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.129e-05/0.6484, allocations: 24 kB / 0.7026 GB, free: 14.32 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 preOpt removeSimpleEquations (simulation): time 0.01078/0.6591, allocations: 5.368 MB / 0.7078 GB, free: 8.734 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007826/0.667, allocations: 3.264 MB / 0.711 GB, free: 5.336 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001074/0.6681, allocations: 0.7419 MB / 0.7117 GB, free: 4.586 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001392/0.6682, allocations: 21.3 kB / 0.7118 GB, free: 4.566 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001426/0.6697, allocations: 0.9094 MB / 0.7127 GB, free: 3.629 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=139): time 4.979e-06/0.6697, allocations: 0.75 kB / 0.7127 GB, free: 3.629 MB / 0.5105 GB Notification: Performance of matching and sorting (n=139): time 0.01496/0.6846, allocations: 4.953 MB / 0.7175 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.372e-05/0.6847, allocations: 175.5 kB / 0.7177 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001931/0.6867, allocations: 1.136 MB / 0.7188 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001509/0.6868, allocations: 25.7 kB / 0.7188 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00053/0.6874, allocations: 0.7105 MB / 0.7195 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004815/0.6879, allocations: 484.9 kB / 0.72 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.688, allocations: 0 / 0.72 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.6881, allocations: 358.7 kB / 0.7203 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00101/0.6892, allocations: 0.6211 MB / 0.7209 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00114/0.6903, allocations: 0.809 MB / 0.7217 GB, free: 10.24 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001202/0.6915, allocations: 0.6893 MB / 0.7224 GB, free: 9.559 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.6915, allocations: 3.938 kB / 0.7224 GB, free: 9.555 MB / 0.5261 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.003889/0.6954, allocations: 2.189 MB / 0.7245 GB, free: 7.352 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006843/0.6961, allocations: 1.477 MB / 0.7259 GB, free: 5.742 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/0.6961, allocations: 5.125 kB / 0.726 GB, free: 5.738 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007277/0.7034, allocations: 2.308 MB / 0.7282 GB, free: 3.43 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008877/0.7043, allocations: 215.7 kB / 0.7284 GB, free: 3.219 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004633/0.709, allocations: 2.622 MB / 0.731 GB, free: 0.5742 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002094/0.7111, allocations: 258.6 kB / 0.7312 GB, free: 328 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001473/0.7112, allocations: 55.97 kB / 0.7313 GB, free: 272 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.7113, allocations: 7.953 kB / 0.7313 GB, free: 264 kB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003586/0.7149, allocations: 1.981 MB / 0.7332 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.7149, allocations: 4 kB / 0.7332 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007243/0.7221, allocations: 2.3 MB / 0.7355 GB, free: 11.96 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009884/0.7231, allocations: 213.3 kB / 0.7357 GB, free: 11.76 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004842/0.728, allocations: 2.627 MB / 0.7382 GB, free: 9.105 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002316/0.7303, allocations: 242.8 kB / 0.7385 GB, free: 8.867 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001955/0.7305, allocations: 55.97 kB / 0.7385 GB, free: 8.812 MB / 0.5417 GB 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 (116): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 1 * 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 {29 43} Notification: Performance of prepare postOptimizeDAE: time 0.0004022/0.7309, allocations: 122.8 kB / 0.7386 GB, free: 8.688 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005658/0.7315, allocations: 173.8 kB / 0.7388 GB, free: 8.516 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01493/0.7465, allocations: 5.08 MB / 0.7438 GB, free: 3.41 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.085e-05/0.7465, allocations: 16 kB / 0.7438 GB, free: 3.395 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.7465, allocations: 4 kB / 0.7438 GB, free: 3.391 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.219e-05/0.7466, allocations: 7.922 kB / 0.7438 GB, free: 3.383 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.01867/0.7652, allocations: 7.437 MB / 0.7511 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.486e-05/0.7653, allocations: 4 kB / 0.7511 GB, free: 11.81 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0012/0.7665, allocations: 183.2 kB / 0.7512 GB, free: 11.64 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006412/0.7729, allocations: 1.986 MB / 0.7532 GB, free: 9.648 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002718/0.7732, allocations: 17.2 kB / 0.7532 GB, free: 9.633 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0169/0.7901, allocations: 7.718 MB / 0.7607 GB, free: 1.797 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.465e-06/0.7902, allocations: 7.953 kB / 0.7607 GB, free: 1.789 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2877/1.078, allocations: 6.148 MB / 0.7667 GB, free: 135.5 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006261/1.079, allocations: 293.7 kB / 0.767 GB, free: 135.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002431/1.079, allocations: 7.516 kB / 0.767 GB, free: 135.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001684/1.08, allocations: 186.2 kB / 0.7672 GB, free: 135.4 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006744/1.081, allocations: 269.8 kB / 0.7675 GB, free: 135.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001014/1.081, allocations: 38.34 kB / 0.7675 GB, free: 135.4 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001044/1.082, allocations: 0.8639 MB / 0.7683 GB, free: 135.3 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.71e-07/1.082, allocations: 0 / 0.7683 GB, free: 135.3 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001719/1.084, allocations: 0.7528 MB / 0.7691 GB, free: 135.3 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 15 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENSAL.w,gENSAL.delta,gENSAL.Epq,gENSAL.PSIkd,gENSAL.PSIppq,sCRX.imLeadLag.TF.x_scaled[1],sCRX.simpleLagLim.state,iEESGO.imSimpleLag.state,iEESGO.imLeadLag.TF.x_scaled[1],iEESGO.imSimpleLag1.state,iEESGO.imSimpleLag2.state,iEESGO.imSimpleLag3.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 95 * 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.0003143/1.084, allocations: 161.9 kB / 0.7692 GB, free: 135.2 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01116/1.096, allocations: 4.26 MB / 0.7734 GB, free: 135 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/1.096, allocations: 3.969 kB / 0.7734 GB, free: 135 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004945/1.1, allocations: 1.886 MB / 0.7752 GB, free: 134.8 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007285/1.101, allocations: 124.9 kB / 0.7754 GB, free: 134.8 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004201/1.105, allocations: 2.671 MB / 0.778 GB, free: 134 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006141/1.106, allocations: 1.343 MB / 0.7793 GB, free: 133.3 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001114/1.107, allocations: 276.6 kB / 0.7795 GB, free: 133.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000277/1.107, allocations: 72.3 kB / 0.7796 GB, free: 133.2 MB / 0.5573 GB Notification: Performance of SimCode: time 3e-07/1.107, allocations: 1.625 kB / 0.7796 GB, free: 133.2 MB / 0.5573 GB Notification: Performance of Templates: time 0.05189/1.159, allocations: 31.7 MB / 0.8106 GB, free: 131.9 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.sim & ./OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe 2>&1)