Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.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.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008993/0.0008994, allocations: 175.8 kB / 7.647 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.227/1.227, allocations: 205.3 MB / 213.4 MB, free: 1.738 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.0007978/0.0007978, allocations: 74.72 kB / 261.4 MB, free: 1.684 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.05915/0.05915, allocations: 12.6 MB / 321.9 MB, free: 15.2 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4083/0.4083, allocations: 78.05 MB / 450.8 MB, free: 8.934 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.131e-05/1.141e-05, allocations: 2.625 kB / 0.5147 GB, free: 41.76 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0903/0.09033, allocations: 69.32 MB / 0.5824 GB, free: 356 kB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1122/0.2025, allocations: 101.2 MB / 0.6812 GB, free: 11.03 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002048/0.2028, allocations: 83.94 kB / 0.6813 GB, free: 10.95 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3832/0.586, allocations: 64.78 MB / 0.7445 GB, free: 67.12 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.5861, allocations: 0 / 0.7445 GB, free: 67.12 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000216/0.5863, allocations: 63.88 kB / 0.7446 GB, free: 67.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: 518 * Number of variables: 518 Notification: Performance of Generate backend data structure: time 0.01144/0.5977, allocations: 4.033 MB / 0.7485 GB, free: 62.95 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.5978, allocations: 8.031 kB / 0.7486 GB, free: 62.94 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009554/0.6073, allocations: 1.6 MB / 0.7501 GB, free: 61.33 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003365/0.6107, allocations: 1.654 MB / 0.7517 GB, free: 59.61 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000511/0.6113, allocations: 0.6163 MB / 0.7523 GB, free: 58.89 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006156/0.6119, allocations: 131.9 kB / 0.7525 GB, free: 58.77 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003958/0.6159, allocations: 2.222 MB / 0.7546 GB, free: 56.54 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00423/0.6201, allocations: 2.295 MB / 0.7569 GB, free: 54.16 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.781e-05/0.6202, allocations: 0 / 0.7569 GB, free: 54.16 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002657/0.6204, allocations: 4 kB / 0.7569 GB, free: 54.16 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.688e-05/0.6205, allocations: 48 kB / 0.7569 GB, free: 54.11 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.01702/0.6375, allocations: 9.736 MB / 0.7664 GB, free: 43.96 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008128/0.6457, allocations: 3.958 MB / 0.7703 GB, free: 39.86 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00192/0.6476, allocations: 1.473 MB / 0.7717 GB, free: 38.38 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003111/0.6479, allocations: 42.03 kB / 0.7718 GB, free: 38.34 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.648, allocations: 64.52 kB / 0.7718 GB, free: 38.27 MB / 474.7 MB Notification: Performance of pre-optimization done (n=243): time 5.07e-06/0.648, allocations: 4 kB / 0.7718 GB, free: 38.27 MB / 474.7 MB Notification: Performance of matching and sorting (n=243): time 0.03394/0.6819, allocations: 12.09 MB / 0.7836 GB, free: 26.15 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.576e-05/0.682, allocations: 235.6 kB / 0.7839 GB, free: 25.87 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002783/0.6848, allocations: 1.721 MB / 0.7856 GB, free: 24.14 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003793/0.6852, allocations: 25.7 kB / 0.7856 GB, free: 24.11 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006983/0.6859, allocations: 1.215 MB / 0.7868 GB, free: 22.89 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008975/0.6868, allocations: 0.8081 MB / 0.7876 GB, free: 22.07 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002715/0.6871, allocations: 3.938 kB / 0.7876 GB, free: 22.06 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.6872, allocations: 390.6 kB / 0.7879 GB, free: 21.68 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001782/0.689, allocations: 1.192 MB / 0.7891 GB, free: 20.48 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001859/0.6909, allocations: 1.488 MB / 0.7905 GB, free: 18.89 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001895/0.6928, allocations: 1.314 MB / 0.7918 GB, free: 17.54 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.448e-06/0.6928, allocations: 0 / 0.7918 GB, free: 17.54 MB / 474.7 MB Notification: Performance of matching and sorting (n=298) (initialization): time 0.03041/0.7232, allocations: 11.34 MB / 0.8029 GB, free: 6.137 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004229/0.7237, allocations: 2.874 MB / 0.8057 GB, free: 3.035 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.022e-05/0.7237, allocations: 4 kB / 0.8057 GB, free: 3.031 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01466/0.7384, allocations: 4.62 MB / 0.8102 GB, free: 14.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003725/0.7422, allocations: 0.6906 MB / 0.8109 GB, free: 13.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03598/0.7782, allocations: 16.33 MB / 0.8268 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004092/0.7823, allocations: 493.7 kB / 0.8273 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005123/0.7828, allocations: 83.94 kB / 0.8274 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.548e-06/0.7829, allocations: 4 kB / 0.8274 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03445/0.8173, allocations: 11 MB / 0.8381 GB, free: 1.617 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.726e-05/0.8174, allocations: 8 kB / 0.8381 GB, free: 1.609 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01539/0.8328, allocations: 4.628 MB / 0.8427 GB, free: 12.97 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003703/0.8365, allocations: 0.6711 MB / 0.8433 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03638/0.8729, allocations: 16.33 MB / 0.8593 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003983/0.8769, allocations: 462 kB / 0.8597 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004379/0.8774, allocations: 79.98 kB / 0.8598 GB, free: 11.3 MB / 0.5261 GB Warning: Assuming fixed start value for the following 7 variables: Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Syn2.e2q:VARIABLE(start = Syn2.e2q0 unit = "1" ) "q-axis sub-transient voltage" type: Real Syn2.e1q:VARIABLE(start = Syn2.e1q0 unit = "1" ) "q-axis 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 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 (219): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {59 20} Notification: Performance of prepare postOptimizeDAE: time 0.0008859/0.8783, allocations: 213.5 kB / 0.86 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008798/0.8792, allocations: 292.3 kB / 0.8603 GB, free: 10.78 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03809/0.9173, allocations: 12.37 MB / 0.8723 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.123e-05/0.9174, allocations: 24 kB / 0.8724 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.251e-05/0.9174, allocations: 20 kB / 0.8724 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.751e-05/0.9175, allocations: 15.91 kB / 0.8724 GB, free: 14.33 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.04413/0.9616, allocations: 15.92 MB / 0.8879 GB, free: 14.29 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.796e-05/0.9617, allocations: 7.984 kB / 0.8879 GB, free: 14.28 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001814/0.9635, allocations: 271.6 kB / 0.8882 GB, free: 14.01 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01485/0.9783, allocations: 4.751 MB / 0.8928 GB, free: 9.254 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004723/0.9788, allocations: 19.94 kB / 0.8929 GB, free: 9.234 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2926/1.271, allocations: 15.19 MB / 0.9077 GB, free: 148.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/1.271, allocations: 1.844 kB / 0.9077 GB, free: 148.5 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04059/1.312, allocations: 14.33 MB / 0.9217 GB, free: 148.1 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009545/1.313, allocations: 410.6 kB / 0.9221 GB, free: 147.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009354/1.314, allocations: 13.34 kB / 0.9221 GB, free: 147.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003689/1.318, allocations: 356.8 kB / 0.9224 GB, free: 147.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001974/1.32, allocations: 0.548 MB / 0.923 GB, free: 147.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004462/1.32, allocations: 62.38 kB / 0.923 GB, free: 147.8 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002114/1.322, allocations: 1.294 MB / 0.9243 GB, free: 147.7 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.5e-07/1.322, allocations: 0 / 0.9243 GB, free: 147.7 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.005687/1.328, allocations: 1.581 MB / 0.9258 GB, free: 147.6 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,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 (164): * Single equations (assignments): 161 * 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 {(62,8.3%) 26} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005474/1.329, allocations: 161.9 kB / 0.926 GB, free: 147.5 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02502/1.354, allocations: 9.706 MB / 0.9355 GB, free: 146.2 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/1.354, allocations: 3.75 kB / 0.9355 GB, free: 146.2 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01149/1.365, allocations: 3.953 MB / 0.9393 GB, free: 145.7 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002419/1.368, allocations: 198.5 kB / 0.9395 GB, free: 145.7 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008888/1.377, allocations: 4.172 MB / 0.9436 GB, free: 144.6 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001262/1.378, allocations: 1.896 MB / 0.9455 GB, free: 143.8 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.002434/1.38, allocations: 462 kB / 0.9459 GB, free: 143.6 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005977/1.381, allocations: 117.1 kB / 0.946 GB, free: 143.5 MB / 0.5573 GB Notification: Performance of SimCode: time 1.042e-06/1.381, allocations: 4 kB / 0.946 GB, free: 143.5 MB / 0.5573 GB Notification: Performance of Templates: time 0.0859/1.467, allocations: 68.86 MB / 1.013 GB, free: 87.64 MB / 0.5573 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe 2>&1)