Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_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.00141/0.00141, allocations: 170.5 kB / 7.645 MB, free: 1.434 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.272/1.272, allocations: 221.5 MB / 229.6 MB, free: 7.527 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.0008301/0.0008301, allocations: 93.84 kB / 280.5 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4403/0.4403, allocations: 78.06 MB / 409.3 MB, free: 6.34 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.457e-05/1.458e-05, allocations: 0 / 484.9 MB, free: 12.26 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1338, allocations: 69.37 MB / 0.5413 GB, free: 6.824 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3874/0.5212, allocations: 99.8 MB / 0.6387 GB, free: 15.75 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002344/0.5215, allocations: 77.47 kB / 0.6388 GB, free: 15.68 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.176/0.6975, allocations: 67.01 MB / 0.7043 GB, free: 12.56 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6975, allocations: 0 / 0.7043 GB, free: 12.56 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003049/0.6979, allocations: 59.98 kB / 0.7043 GB, free: 12.5 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.01345/0.7113, allocations: 4.049 MB / 0.7083 GB, free: 8.367 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.7114, allocations: 15.97 kB / 0.7083 GB, free: 8.352 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01035/0.7217, allocations: 1.604 MB / 0.7098 GB, free: 6.742 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004383/0.7261, allocations: 1.655 MB / 0.7115 GB, free: 5.023 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007417/0.7269, allocations: 0.6125 MB / 0.7121 GB, free: 4.309 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008339/0.7278, allocations: 127.9 kB / 0.7122 GB, free: 4.184 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004976/0.7328, allocations: 2.234 MB / 0.7144 GB, free: 1.941 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004853/0.7376, allocations: 2.295 MB / 0.7166 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.312e-05/0.7377, allocations: 0 / 0.7166 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002217/0.7379, allocations: 4 kB / 0.7166 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.493e-05/0.7379, allocations: 48 kB / 0.7167 GB, free: 15.52 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.01867/0.7566, allocations: 9.784 MB / 0.7262 GB, free: 5.312 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009033/0.7657, allocations: 3.978 MB / 0.7301 GB, free: 1.191 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002325/0.768, allocations: 1.468 MB / 0.7315 GB, free: 15.72 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002983/0.7683, allocations: 46.03 kB / 0.7316 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.655e-05/0.7684, allocations: 68.45 kB / 0.7316 GB, free: 15.6 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=244): time 4.869e-06/0.7684, allocations: 0 / 0.7316 GB, free: 15.6 MB / 0.5417 GB Notification: Performance of matching and sorting (n=244): time 0.03803/0.8064, allocations: 12.1 MB / 0.7435 GB, free: 3.477 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001392/0.8066, allocations: 235.6 kB / 0.7437 GB, free: 3.195 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004136/0.8108, allocations: 1.736 MB / 0.7454 GB, free: 1.453 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0007443/0.8115, allocations: 30.27 kB / 0.7454 GB, free: 1.418 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.001144/0.8127, allocations: 1.196 MB / 0.7466 GB, free: 216 kB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001487/0.8142, allocations: 0.8121 MB / 0.7474 GB, free: 15.38 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000537/0.8148, allocations: 4 kB / 0.7474 GB, free: 15.38 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002472/0.815, allocations: 394.7 kB / 0.7477 GB, free: 14.99 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002502/0.8175, allocations: 1.192 MB / 0.7489 GB, free: 13.79 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002642/0.8202, allocations: 1.497 MB / 0.7504 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002535/0.8227, allocations: 1.324 MB / 0.7517 GB, free: 10.84 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.21e-05/0.8228, allocations: 8 kB / 0.7517 GB, free: 10.83 MB / 0.5573 GB Notification: Performance of matching and sorting (n=300) (initialization): time 0.3301/1.153, allocations: 12.21 MB / 0.7636 GB, free: 111.1 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004438/1.153, allocations: 2.868 MB / 0.7664 GB, free: 108.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/1.153, allocations: 8.625 kB / 0.7664 GB, free: 108.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01524/1.169, allocations: 4.942 MB / 0.7712 GB, free: 108.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001938/1.171, allocations: 373.1 kB / 0.7716 GB, free: 108.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0361/1.207, allocations: 18.51 MB / 0.7897 GB, free: 105.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003927/1.211, allocations: 478.3 kB / 0.7901 GB, free: 105.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003399/1.211, allocations: 86.14 kB / 0.7902 GB, free: 105.4 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/1.211, allocations: 3.688 kB / 0.7902 GB, free: 105.4 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03621/1.247, allocations: 11.89 MB / 0.8018 GB, free: 105.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.596e-05/1.247, allocations: 11.16 kB / 0.8018 GB, free: 105.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01669/1.264, allocations: 4.939 MB / 0.8066 GB, free: 105 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001944/1.266, allocations: 362.8 kB / 0.807 GB, free: 105 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03698/1.303, allocations: 18.5 MB / 0.8251 GB, free: 98.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003875/1.307, allocations: 455.5 kB / 0.8255 GB, free: 98.89 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002846/1.307, allocations: 87.14 kB / 0.8256 GB, free: 98.87 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.0007723/1.308, allocations: 201.8 kB / 0.8258 GB, free: 98.69 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006444/1.309, allocations: 304.6 kB / 0.8261 GB, free: 98.54 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03406/1.343, allocations: 12.38 MB / 0.8382 GB, free: 96.12 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.768e-05/1.343, allocations: 28.33 kB / 0.8382 GB, free: 96.12 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.312e-05/1.343, allocations: 16.72 kB / 0.8382 GB, free: 96.12 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-05/1.343, allocations: 14.78 kB / 0.8382 GB, free: 96.12 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.04012/1.383, allocations: 15.94 MB / 0.8538 GB, free: 91.86 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-05/1.383, allocations: 8.484 kB / 0.8538 GB, free: 91.86 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001795/1.385, allocations: 280 kB / 0.854 GB, free: 91.85 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0136/1.399, allocations: 4.767 MB / 0.8587 GB, free: 90.98 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006195/1.399, allocations: 19.59 kB / 0.8587 GB, free: 90.97 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03107/1.43, allocations: 15.19 MB / 0.8736 GB, free: 80.23 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/1.43, allocations: 0 / 0.8736 GB, free: 80.23 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03778/1.468, allocations: 14.35 MB / 0.8876 GB, free: 68.54 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001143/1.469, allocations: 409.5 kB / 0.888 GB, free: 68.18 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007109/1.47, allocations: 13 kB / 0.888 GB, free: 68.17 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003274/1.473, allocations: 356.9 kB / 0.8883 GB, free: 67.91 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001747/1.475, allocations: 0.5536 MB / 0.8889 GB, free: 67.61 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001898/1.475, allocations: 60 kB / 0.8889 GB, free: 67.55 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001654/1.477, allocations: 1.3 MB / 0.8902 GB, free: 66.35 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.403e-06/1.477, allocations: 3.5 kB / 0.8902 GB, free: 66.35 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.005162/1.482, allocations: 1.628 MB / 0.8918 GB, free: 64.8 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.0004426/1.483, allocations: 156.9 kB / 0.8919 GB, free: 64.67 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02621/1.509, allocations: 10.03 MB / 0.9017 GB, free: 55.54 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.287e-06/1.509, allocations: 5.219 kB / 0.9017 GB, free: 55.54 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01113/1.52, allocations: 3.974 MB / 0.9056 GB, free: 52.02 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002025/1.522, allocations: 200.7 kB / 0.9058 GB, free: 51.84 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006989/1.529, allocations: 4.25 MB / 0.9099 GB, free: 48 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001093/1.53, allocations: 1.913 MB / 0.9118 GB, free: 46.51 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001806/1.532, allocations: 446 kB / 0.9122 GB, free: 46.22 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004043/1.532, allocations: 114.5 kB / 0.9123 GB, free: 46.12 MB / 0.5573 GB Notification: Performance of SimCode: time 7.52e-07/1.532, allocations: 4 kB / 0.9124 GB, free: 46.12 MB / 0.5573 GB Notification: Performance of Templates: time 0.374/1.906, allocations: 71.74 MB / 0.9824 GB, free: 127.1 MB / 0.573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe 2>&1)