Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.IEESGO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.001287/0.001287, allocations: 174.5 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.286/1.286, allocations: 221.4 MB / 234.6 MB, free: 14.43 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000896/0.0008965, allocations: 89.94 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4875/0.4875, allocations: 78.9 MB / 415.4 MB, free: 10.28 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.929e-05/2.931e-05, allocations: 4 kB / 492.8 MB, free: 13.12 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4342/0.4342, allocations: 69.5 MB / 0.5491 GB, free: 19.62 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1576/0.5918, allocations: 112.3 MB / 0.6587 GB, free: 3.355 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002622/0.5921, allocations: 87.95 kB / 0.6588 GB, free: 3.27 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4814/1.073, allocations: 45.22 MB / 0.703 GB, free: 105.3 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.424e-06/1.074, allocations: 0 / 0.703 GB, free: 105.3 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000192/1.074, allocations: 38.16 kB / 0.703 GB, free: 105.3 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: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.007609/1.081, allocations: 2.233 MB / 0.7052 GB, free: 103.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.394e-05/1.081, allocations: 13.53 kB / 0.7052 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005125/1.087, allocations: 0.7841 MB / 0.706 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003371/1.09, allocations: 1.145 MB / 0.7071 GB, free: 102.6 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006092/1.091, allocations: 0.5794 MB / 0.7077 GB, free: 101.9 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005553/1.091, allocations: 119.8 kB / 0.7078 GB, free: 101.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003451/1.095, allocations: 1.373 MB / 0.7091 GB, free: 100.4 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.735e-05/1.095, allocations: 4 kB / 0.7091 GB, free: 100.4 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001987/1.095, allocations: 51.98 kB / 0.7092 GB, free: 100.4 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.23e-05/1.095, allocations: 28 kB / 0.7092 GB, free: 100.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002423/1.097, allocations: 1.258 MB / 0.7104 GB, free: 99.06 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.01186/1.109, allocations: 5.685 MB / 0.716 GB, free: 93.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007965/1.117, allocations: 3.308 MB / 0.7192 GB, free: 89.75 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00142/1.119, allocations: 0.7853 MB / 0.72 GB, free: 88.96 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000205/1.119, allocations: 21.06 kB / 0.72 GB, free: 88.95 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001699/1.121, allocations: 0.951 MB / 0.7209 GB, free: 87.97 MB / 490.7 MB Notification: Performance of pre-optimization done (n=139): time 7.183e-06/1.121, allocations: 0 / 0.7209 GB, free: 87.97 MB / 490.7 MB Notification: Performance of matching and sorting (n=139): time 0.01488/1.136, allocations: 5.045 MB / 0.7259 GB, free: 82.91 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.527e-05/1.136, allocations: 179.5 kB / 0.726 GB, free: 82.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002932/1.139, allocations: 1.349 MB / 0.7273 GB, free: 81.35 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005755/1.139, allocations: 49.7 kB / 0.7274 GB, free: 81.29 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005914/1.14, allocations: 0.7022 MB / 0.7281 GB, free: 80.59 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000907/1.141, allocations: 498.6 kB / 0.7286 GB, free: 80.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002139/1.141, allocations: 36.06 kB / 0.7286 GB, free: 80.07 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001659/1.141, allocations: 357.9 kB / 0.7289 GB, free: 79.71 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001258/1.142, allocations: 0.6601 MB / 0.7296 GB, free: 79.05 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001281/1.144, allocations: 0.8364 MB / 0.7304 GB, free: 78.16 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001374/1.145, allocations: 0.7495 MB / 0.7311 GB, free: 77.41 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.01e-05/1.145, allocations: 0 / 0.7311 GB, free: 77.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004984/1.15, allocations: 2.367 MB / 0.7334 GB, free: 75.03 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003381/1.15, allocations: 1.479 MB / 0.7349 GB, free: 73.42 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/1.15, allocations: 8 kB / 0.7349 GB, free: 73.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007393/1.158, allocations: 2.44 MB / 0.7373 GB, free: 70.97 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/1.159, allocations: 219.6 kB / 0.7375 GB, free: 70.76 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004435/1.163, allocations: 2.456 MB / 0.7399 GB, free: 68.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002572/1.166, allocations: 298.5 kB / 0.7402 GB, free: 67.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002535/1.166, allocations: 55.98 kB / 0.7402 GB, free: 67.93 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/1.166, allocations: 5.719 kB / 0.7402 GB, free: 67.92 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003815/1.17, allocations: 2.176 MB / 0.7423 GB, free: 65.74 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/1.17, allocations: 4 kB / 0.7423 GB, free: 65.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007286/1.178, allocations: 2.436 MB / 0.7447 GB, free: 63.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/1.179, allocations: 219.7 kB / 0.7449 GB, free: 63.08 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00449/1.183, allocations: 2.437 MB / 0.7473 GB, free: 60.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002541/1.186, allocations: 282.7 kB / 0.7476 GB, free: 60.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002482/1.186, allocations: 55.92 kB / 0.7476 GB, free: 60.29 MB / 490.7 MB 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 (118): * Single equations (assignments): 116 * 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.0004307/1.186, allocations: 176.8 kB / 0.7478 GB, free: 60.11 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005823/1.187, allocations: 181.8 kB / 0.748 GB, free: 59.93 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01435/1.201, allocations: 5.202 MB / 0.7531 GB, free: 54.71 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.44e-05/1.201, allocations: 12 kB / 0.7531 GB, free: 54.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.347e-05/1.202, allocations: 8 kB / 0.7531 GB, free: 54.69 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.502e-05/1.202, allocations: 7.922 kB / 0.7531 GB, free: 54.68 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 postOpt removeSimpleEquations (simulation): time 0.02129/1.223, allocations: 7.741 MB / 0.7606 GB, free: 46.83 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.688e-05/1.223, allocations: 0 / 0.7606 GB, free: 46.83 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001251/1.224, allocations: 179.8 kB / 0.7608 GB, free: 46.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006536/1.231, allocations: 2.009 MB / 0.7628 GB, free: 44.64 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004424/1.231, allocations: 35.98 kB / 0.7628 GB, free: 44.61 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01718/1.248, allocations: 7.859 MB / 0.7705 GB, free: 36.61 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/1.248, allocations: 0 / 0.7705 GB, free: 36.61 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01699/1.265, allocations: 6.282 MB / 0.7766 GB, free: 30.28 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008932/1.266, allocations: 310.6 kB / 0.7769 GB, free: 29.95 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007832/1.267, allocations: 28 kB / 0.7769 GB, free: 29.93 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002497/1.27, allocations: 207.8 kB / 0.7771 GB, free: 29.72 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001246/1.271, allocations: 273.2 kB / 0.7774 GB, free: 29.45 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003074/1.271, allocations: 36 kB / 0.7774 GB, free: 29.42 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002296/1.274, allocations: 1.044 MB / 0.7785 GB, free: 28.38 MB / 490.7 MB Notification: Performance of sort global known variables: time 3e-07/1.274, allocations: 0 / 0.7785 GB, free: 28.38 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004259/1.278, allocations: 0.8385 MB / 0.7793 GB, free: 27.54 MB / 490.7 MB 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.0006775/1.279, allocations: 182.7 kB / 0.7795 GB, free: 27.36 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0131/1.292, allocations: 4.42 MB / 0.7838 GB, free: 22.92 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-05/1.292, allocations: 4 kB / 0.7838 GB, free: 22.91 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005859/1.298, allocations: 1.947 MB / 0.7857 GB, free: 20.95 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001903/1.3, allocations: 145.7 kB / 0.7858 GB, free: 20.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006312/1.306, allocations: 2.77 MB / 0.7885 GB, free: 18 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007567/1.307, allocations: 1.349 MB / 0.7898 GB, free: 16.61 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001689/1.308, allocations: 278.9 kB / 0.7901 GB, free: 16.33 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003064/1.309, allocations: 75.42 kB / 0.7902 GB, free: 16.26 MB / 490.7 MB Notification: Performance of SimCode: time 9.42e-07/1.309, allocations: 0 / 0.7902 GB, free: 16.26 MB / 490.7 MB Notification: Performance of Templates: time 0.05852/1.367, allocations: 35.32 MB / 0.8247 GB, free: 12.96 MB / 0.5105 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe 2>&1)