Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_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.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00124/0.001241, allocations: 173.9 kB / 7.648 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.208/1.208, allocations: 221.5 MB / 229.6 MB, free: 3.18 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.0008954/0.0008953, allocations: 95.98 kB / 280.5 MB, free: 1.156 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4492/0.4492, allocations: 78.12 MB / 409.4 MB, free: 15.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.343e-05/1.347e-05, allocations: 4 kB / 485 MB, free: 4.176 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3119, allocations: 69.35 MB / 0.5413 GB, free: 21.9 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1181/0.43, allocations: 99.16 MB / 0.6382 GB, free: 5.617 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000215/0.4303, allocations: 83.94 kB / 0.6382 GB, free: 5.535 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4463/0.8766, allocations: 65.78 MB / 0.7025 GB, free: 98.17 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.8766, allocations: 0 / 0.7025 GB, free: 98.17 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002728/0.8769, allocations: 53.38 kB / 0.7025 GB, free: 98.16 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: 517 * Number of variables: 517 Notification: Performance of Generate backend data structure: time 0.01206/0.8889, allocations: 4.007 MB / 0.7064 GB, free: 96.68 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.889, allocations: 7.406 kB / 0.7064 GB, free: 96.68 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01023/0.8992, allocations: 1.595 MB / 0.708 GB, free: 96.25 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005215/0.9045, allocations: 1.637 MB / 0.7096 GB, free: 95.08 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006437/0.9052, allocations: 0.6116 MB / 0.7102 GB, free: 94.54 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009456/0.9061, allocations: 128 kB / 0.7103 GB, free: 94.53 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005023/0.9112, allocations: 2.225 MB / 0.7125 GB, free: 93.52 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005571/0.9167, allocations: 2.271 MB / 0.7147 GB, free: 92.22 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.485e-05/0.9168, allocations: 3.469 kB / 0.7147 GB, free: 92.22 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004414/0.9173, allocations: 0 / 0.7147 GB, free: 92.22 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-05/0.9173, allocations: 49.53 kB / 0.7148 GB, free: 92.22 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.01979/0.9371, allocations: 9.668 MB / 0.7242 GB, free: 83.66 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008652/0.9458, allocations: 3.937 MB / 0.728 GB, free: 79.59 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002529/0.9484, allocations: 1.46 MB / 0.7295 GB, free: 78.13 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004353/0.9488, allocations: 46.92 kB / 0.7295 GB, free: 78.09 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.085e-05/0.9489, allocations: 60.56 kB / 0.7296 GB, free: 78.02 MB / 490.7 MB Notification: Performance of pre-optimization done (n=242): time 4.529e-06/0.9489, allocations: 0 / 0.7296 GB, free: 78.02 MB / 490.7 MB Notification: Performance of matching and sorting (n=242): time 0.03617/0.9851, allocations: 12.08 MB / 0.7414 GB, free: 65.93 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.601e-05/0.9852, allocations: 235.6 kB / 0.7416 GB, free: 65.65 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003386/0.9886, allocations: 1.677 MB / 0.7432 GB, free: 63.97 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007308/0.9894, allocations: 29.7 kB / 0.7433 GB, free: 63.93 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009084/0.9903, allocations: 1.207 MB / 0.7444 GB, free: 62.71 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001342/0.9916, allocations: 0.8043 MB / 0.7452 GB, free: 61.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005113/0.9922, allocations: 0 / 0.7452 GB, free: 61.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001881/0.9924, allocations: 394.6 kB / 0.7456 GB, free: 61.51 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002203/0.9946, allocations: 1.172 MB / 0.7467 GB, free: 60.33 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002255/0.9968, allocations: 1.476 MB / 0.7482 GB, free: 58.75 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00223/0.9991, allocations: 1.302 MB / 0.7495 GB, free: 57.42 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-05/0.9991, allocations: 4 kB / 0.7495 GB, free: 57.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=296) (initialization): time 0.03438/1.033, allocations: 12.11 MB / 0.7613 GB, free: 45.25 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006378/1.034, allocations: 2.874 MB / 0.7641 GB, free: 42.14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.294e-05/1.034, allocations: 7.953 kB / 0.7641 GB, free: 42.13 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01493/1.049, allocations: 4.853 MB / 0.7688 GB, free: 37.31 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002045/1.051, allocations: 379.4 kB / 0.7692 GB, free: 36.94 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03698/1.088, allocations: 17.18 MB / 0.786 GB, free: 19.63 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004113/1.092, allocations: 473.8 kB / 0.7864 GB, free: 19.17 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006064/1.093, allocations: 83.98 kB / 0.7865 GB, free: 19.09 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/1.093, allocations: 4 kB / 0.7865 GB, free: 19.08 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03402/1.127, allocations: 11.79 MB / 0.798 GB, free: 7.242 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.227e-05/1.127, allocations: 4 kB / 0.798 GB, free: 7.238 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01463/1.142, allocations: 4.851 MB / 0.8028 GB, free: 2.383 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001938/1.144, allocations: 359.5 kB / 0.8031 GB, free: 2.031 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04163/1.185, allocations: 17.16 MB / 0.8199 GB, free: 0.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004046/1.19, allocations: 454 kB / 0.8203 GB, free: 312 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005654/1.19, allocations: 79.98 kB / 0.8204 GB, free: 232 kB / 0.4948 GB Warning: Assuming fixed start value for the following 7 variables: order4_1.e1d:VARIABLE(start = order4_1.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4_1.e1q:VARIABLE(start = order4_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order4_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order4_1.delta:VARIABLE(start = order4_1.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 (208): * Single equations (assignments): 203 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {63 26} Notification: Performance of prepare postOptimizeDAE: time 0.0011/1.191, allocations: 217.4 kB / 0.8206 GB, free: 15.99 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00137/1.193, allocations: 292.3 kB / 0.8209 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0392/1.232, allocations: 12.34 MB / 0.8329 GB, free: 3.336 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.455e-05/1.232, allocations: 27.98 kB / 0.8329 GB, free: 3.309 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.66e-05/1.232, allocations: 20 kB / 0.833 GB, free: 3.289 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.787e-05/1.232, allocations: 11.95 kB / 0.833 GB, free: 3.277 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.0455/1.278, allocations: 15.85 MB / 0.8484 GB, free: 3.359 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.142e-05/1.278, allocations: 0 / 0.8484 GB, free: 3.359 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001858/1.279, allocations: 271.6 kB / 0.8487 GB, free: 3.094 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01609/1.296, allocations: 4.784 MB / 0.8534 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006622/1.296, allocations: 19.92 kB / 0.8534 GB, free: 14.28 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03774/1.334, allocations: 15.18 MB / 0.8682 GB, free: 14.98 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.054e-06/1.334, allocations: 0 / 0.8682 GB, free: 14.98 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04356/1.378, allocations: 14.29 MB / 0.8822 GB, free: 0.6484 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001197/1.379, allocations: 405 kB / 0.8826 GB, free: 236 kB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001093/1.38, allocations: 8 kB / 0.8826 GB, free: 228 kB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003729/1.384, allocations: 355.7 kB / 0.8829 GB, free: 15.88 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002085/1.386, allocations: 0.5564 MB / 0.8834 GB, free: 15.32 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004959/1.386, allocations: 59.98 kB / 0.8835 GB, free: 15.26 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002242/1.389, allocations: 1.26 MB / 0.8847 GB, free: 13.99 MB / 0.573 GB Notification: Performance of sort global known variables: time 2e-07/1.389, allocations: 0 / 0.8847 GB, free: 13.99 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.006188/1.395, allocations: 1.595 MB / 0.8863 GB, free: 12.39 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,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 (163): * Single equations (assignments): 160 * 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 {(64,8.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006316/1.396, allocations: 166.6 kB / 0.8864 GB, free: 12.22 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02868/1.424, allocations: 9.71 MB / 0.8959 GB, free: 2.387 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/1.424, allocations: 0 / 0.8959 GB, free: 2.387 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.2871/1.711, allocations: 3.969 MB / 0.8998 GB, free: 177.3 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002407/1.714, allocations: 193.3 kB / 0.9 GB, free: 177.3 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01063/1.724, allocations: 4.058 MB / 0.904 GB, free: 176.2 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002473/1.727, allocations: 1.897 MB / 0.9058 GB, free: 175.5 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.00283/1.73, allocations: 449.5 kB / 0.9062 GB, free: 175.4 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005864/1.73, allocations: 118.5 kB / 0.9063 GB, free: 175.4 MB / 0.573 GB Notification: Performance of SimCode: time 8.41e-07/1.73, allocations: 1.125 kB / 0.9064 GB, free: 175.4 MB / 0.573 GB Notification: Performance of Templates: time 0.09433/1.825, allocations: 70.61 MB / 0.9753 GB, free: 135.7 MB / 0.573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe 2>&1)