Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.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.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001331/0.001331, 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.341/1.341, allocations: 221.5 MB / 229.6 MB, free: 7.586 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.0008824/0.0008824, allocations: 90.88 kB / 280.5 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4471/0.4471, allocations: 78.11 MB / 409.4 MB, free: 6.465 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.78e-05/1.779e-05, allocations: 7.938 kB / 485 MB, free: 12.42 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1149, allocations: 69.35 MB / 0.5413 GB, free: 6.945 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3587/0.4736, allocations: 99.79 MB / 0.6388 GB, free: 15.93 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002694/0.4739, allocations: 76.8 kB / 0.6388 GB, free: 15.85 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1696/0.6435, allocations: 67 MB / 0.7043 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.282e-06/0.6435, allocations: 0 / 0.7043 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001619/0.6437, allocations: 59.94 kB / 0.7043 GB, free: 12.67 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 519 * Number of variables: 519 Notification: Performance of Generate backend data structure: time 0.01154/0.6553, allocations: 4.057 MB / 0.7083 GB, free: 8.527 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.6553, allocations: 8.594 kB / 0.7083 GB, free: 8.52 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009943/0.6653, allocations: 1.596 MB / 0.7099 GB, free: 6.918 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003773/0.6691, allocations: 1.662 MB / 0.7115 GB, free: 5.191 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005738/0.6697, allocations: 0.6125 MB / 0.7121 GB, free: 4.477 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003493/0.67, allocations: 131.9 kB / 0.7122 GB, free: 4.348 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003827/0.6739, allocations: 2.23 MB / 0.7144 GB, free: 2.109 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003868/0.6777, allocations: 2.3 MB / 0.7166 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.066e-05/0.6778, allocations: 0 / 0.7166 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002073/0.678, allocations: 0 / 0.7166 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.084e-05/0.6781, allocations: 48 kB / 0.7167 GB, free: 15.68 MB / 0.5261 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.01815/0.6962, allocations: 9.783 MB / 0.7262 GB, free: 5.48 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009006/0.7052, allocations: 3.974 MB / 0.7301 GB, free: 1.371 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002285/0.7076, allocations: 1.477 MB / 0.7316 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002794/0.7078, allocations: 49.81 kB / 0.7316 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.105e-05/0.7079, allocations: 64.45 kB / 0.7317 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=244): time 4.909e-06/0.7079, allocations: 4.734 kB / 0.7317 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of matching and sorting (n=244): time 0.03717/0.7451, allocations: 12.1 MB / 0.7435 GB, free: 3.648 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001287/0.7453, allocations: 235.6 kB / 0.7437 GB, free: 3.367 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002854/0.7481, allocations: 1.74 MB / 0.7454 GB, free: 1.621 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0006459/0.7488, allocations: 25.7 kB / 0.7454 GB, free: 1.59 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000889/0.7497, allocations: 1.2 MB / 0.7466 GB, free: 388 kB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001035/0.7507, allocations: 0.8158 MB / 0.7474 GB, free: 15.55 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001783/0.7509, allocations: 0 / 0.7474 GB, free: 15.55 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000175/0.7511, allocations: 395.2 kB / 0.7478 GB, free: 15.16 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00201/0.7531, allocations: 1.196 MB / 0.749 GB, free: 13.96 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002132/0.7553, allocations: 1.5 MB / 0.7504 GB, free: 12.36 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002076/0.7573, allocations: 1.317 MB / 0.7517 GB, free: 11.01 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.765e-06/0.7574, allocations: 0 / 0.7517 GB, free: 11.01 MB / 0.5573 GB Notification: Performance of matching and sorting (n=300) (initialization): time 0.3141/1.071, allocations: 12.21 MB / 0.7636 GB, free: 111.1 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004989/1.072, allocations: 2.88 MB / 0.7664 GB, free: 108.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.646e-05/1.072, allocations: 5.844 kB / 0.7664 GB, free: 108.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01535/1.087, allocations: 4.935 MB / 0.7713 GB, free: 108.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00199/1.089, allocations: 369.2 kB / 0.7716 GB, free: 108.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03607/1.125, allocations: 18.51 MB / 0.7897 GB, free: 105.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003889/1.129, allocations: 478.1 kB / 0.7901 GB, free: 105.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002906/1.13, allocations: 89.89 kB / 0.7902 GB, free: 105.4 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/1.13, allocations: 3.312 kB / 0.7902 GB, free: 105.4 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03714/1.167, allocations: 11.89 MB / 0.8018 GB, free: 105.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-05/1.167, allocations: 7.375 kB / 0.8018 GB, free: 105.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01659/1.184, allocations: 4.945 MB / 0.8067 GB, free: 105 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002014/1.186, allocations: 356.4 kB / 0.807 GB, free: 105 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03795/1.224, allocations: 18.51 MB / 0.8251 GB, free: 98.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003785/1.227, allocations: 453.8 kB / 0.8255 GB, free: 98.91 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002307/1.228, allocations: 89.58 kB / 0.8256 GB, free: 98.89 MB / 0.5573 GB Warning: Assuming fixed start value for the following 6 variables: Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Syn2.delta:VARIABLE(start = Syn2.delta0 unit = "rad" ) "Rotor angle" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(start = order2.delta0 unit = "rad" ) "Rotor angle" type: Real order3_2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (211): * Single equations (assignments): 205 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {63 26} Notification: Performance of prepare postOptimizeDAE: time 0.0006753/1.228, allocations: 209.9 kB / 0.8258 GB, free: 98.72 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005409/1.229, allocations: 293.5 kB / 0.8261 GB, free: 98.57 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03425/1.263, allocations: 12.38 MB / 0.8382 GB, free: 96.15 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.746e-05/1.263, allocations: 26.28 kB / 0.8382 GB, free: 96.15 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-05/1.263, allocations: 22.12 kB / 0.8382 GB, free: 96.15 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.541e-05/1.263, allocations: 21.78 kB / 0.8382 GB, free: 96.14 MB / 0.5573 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.03853/1.302, allocations: 15.93 MB / 0.8538 GB, free: 91.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.85e-05/1.302, allocations: 3.969 kB / 0.8538 GB, free: 91.89 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001733/1.304, allocations: 279.2 kB / 0.8541 GB, free: 91.88 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01377/1.317, allocations: 4.767 MB / 0.8587 GB, free: 91.01 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004555/1.318, allocations: 19.97 kB / 0.8588 GB, free: 91 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0305/1.348, allocations: 15.19 MB / 0.8736 GB, free: 80.02 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/1.348, allocations: 0 / 0.8736 GB, free: 80.02 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03766/1.386, allocations: 14.35 MB / 0.8876 GB, free: 68.33 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001105/1.387, allocations: 418.2 kB / 0.888 GB, free: 67.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004558/1.388, allocations: 8.656 kB / 0.888 GB, free: 67.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002959/1.391, allocations: 358 kB / 0.8884 GB, free: 67.7 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00174/1.392, allocations: 0.5518 MB / 0.8889 GB, free: 67.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001853/1.393, allocations: 64.73 kB / 0.889 GB, free: 67.34 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001616/1.394, allocations: 1.295 MB / 0.8902 GB, free: 66.14 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.6e-07/1.394, allocations: 0 / 0.8902 GB, free: 66.14 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0048/1.399, allocations: 1.627 MB / 0.8918 GB, free: 64.59 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,Syn2.e2q,Syn2.e2d,Exc1.firstOrder.y,Exc1.firstOrder2.y,Exc1.transferFunction.x_scaled[1],Exc1.transferFunction.x_scaled[2],Exc2.firstOrder.y,Exc2.firstOrder2.y,Exc2.transferFunction.x_scaled[1],Exc2.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (165): * Single equations (assignments): 162 * Array equations: 0 * Algorithm blocks: 2 * 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: 1 {(63,8.1%) 25} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000444/1.4, allocations: 160.7 kB / 0.892 GB, free: 64.46 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02554/1.425, allocations: 10.02 MB / 0.9017 GB, free: 55.35 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.694e-06/1.425, allocations: 0 / 0.9017 GB, free: 55.35 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01062/1.436, allocations: 3.984 MB / 0.9056 GB, free: 51.82 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002045/1.438, allocations: 200.4 kB / 0.9058 GB, free: 51.64 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00713/1.445, allocations: 4.254 MB / 0.91 GB, free: 47.8 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001112/1.446, allocations: 1.904 MB / 0.9118 GB, free: 46.32 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.00184/1.448, allocations: 457 kB / 0.9123 GB, free: 46.02 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004327/1.448, allocations: 118.4 kB / 0.9124 GB, free: 45.91 MB / 0.5573 GB Notification: Performance of SimCode: time 1.032e-06/1.448, allocations: 0 / 0.9124 GB, free: 45.91 MB / 0.5573 GB Notification: Performance of Templates: time 0.3583/1.807, allocations: 71.74 MB / 0.9824 GB, free: 127.7 MB / 0.573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe 2>&1)