Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.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.TwoAreaOld.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009914/0.0009914, allocations: 176.2 kB / 7.643 MB, free: 1.414 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.245/1.245, allocations: 221.5 MB / 229.6 MB, free: 7.582 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.00083/0.0008301, allocations: 89.17 kB / 280.5 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4861/0.4861, allocations: 78.06 MB / 409.3 MB, free: 6.332 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.334e-05/1.344e-05, allocations: 4 kB / 484.9 MB, free: 12.25 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1314, allocations: 69.36 MB / 0.5413 GB, free: 6.82 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4149/0.5464, allocations: 97.73 MB / 0.6367 GB, free: 1.836 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/0.5467, allocations: 76.77 kB / 0.6368 GB, free: 1.762 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09729/0.644, allocations: 34.7 MB / 0.6707 GB, free: 15.06 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.468e-06/0.644, allocations: 0 / 0.6707 GB, free: 15.06 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001135/0.6441, allocations: 31.88 kB / 0.6707 GB, free: 15.03 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.005134/0.6493, allocations: 1.683 MB / 0.6724 GB, free: 13.29 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.6493, allocations: 12.69 kB / 0.6724 GB, free: 13.28 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00368/0.653, allocations: 0.5564 MB / 0.6729 GB, free: 12.72 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001929/0.655, allocations: 0.7877 MB / 0.6737 GB, free: 11.88 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002939/0.6553, allocations: 202.5 kB / 0.6739 GB, free: 11.65 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002738/0.6556, allocations: 51.89 kB / 0.6739 GB, free: 11.6 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001861/0.6574, allocations: 0.8006 MB / 0.6747 GB, free: 10.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001714/0.6592, allocations: 0.828 MB / 0.6755 GB, free: 9.957 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.371e-05/0.6592, allocations: 1.031 kB / 0.6755 GB, free: 9.957 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.771e-05/0.6593, allocations: 4 kB / 0.6755 GB, free: 9.953 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.12e-05/0.6593, allocations: 16 kB / 0.6755 GB, free: 9.938 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.007529/0.6669, allocations: 3.714 MB / 0.6792 GB, free: 6.039 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007356/0.6743, allocations: 2.572 MB / 0.6817 GB, free: 3.371 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001077/0.6754, allocations: 0.5078 MB / 0.6822 GB, free: 2.859 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001554/0.6756, allocations: 16.77 kB / 0.6822 GB, free: 2.844 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.913e-05/0.6756, allocations: 47.28 kB / 0.6822 GB, free: 2.789 MB / 490.7 MB Notification: Performance of pre-optimization done (n=93): time 5.971e-06/0.6756, allocations: 7.984 kB / 0.6822 GB, free: 2.781 MB / 490.7 MB Notification: Performance of matching and sorting (n=93): time 0.01258/0.6882, allocations: 3.801 MB / 0.6859 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/0.6884, allocations: 137.3 kB / 0.6861 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001687/0.6901, allocations: 0.8014 MB / 0.6869 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002621/0.6904, allocations: 29.64 kB / 0.6869 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005066/0.6909, allocations: 0.5088 MB / 0.6874 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006215/0.6915, allocations: 323.1 kB / 0.6877 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.6916, allocations: 0 / 0.6877 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001815/0.6918, allocations: 337.9 kB / 0.688 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008257/0.6926, allocations: 430.6 kB / 0.6884 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008799/0.6935, allocations: 0.5427 MB / 0.689 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008665/0.6944, allocations: 482.2 kB / 0.6894 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.6944, allocations: 0 / 0.6894 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01223/0.7067, allocations: 3.923 MB / 0.6932 GB, free: 7.367 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005492/0.7072, allocations: 1.209 MB / 0.6944 GB, free: 6.066 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-05/0.7073, allocations: 4 kB / 0.6944 GB, free: 6.062 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005353/0.7126, allocations: 1.457 MB / 0.6959 GB, free: 4.602 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/0.7137, allocations: 163.8 kB / 0.696 GB, free: 4.441 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01364/0.7273, allocations: 6.354 MB / 0.7022 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001852/0.7292, allocations: 175.1 kB / 0.7024 GB, free: 13.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002798/0.7295, allocations: 36.83 kB / 0.7024 GB, free: 13.76 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.7296, allocations: 4 kB / 0.7024 GB, free: 13.76 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01209/0.7417, allocations: 3.774 MB / 0.7061 GB, free: 9.977 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.561e-05/0.7417, allocations: 0 / 0.7061 GB, free: 9.977 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004951/0.7467, allocations: 1.457 MB / 0.7075 GB, free: 8.516 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009319/0.7476, allocations: 159.7 kB / 0.7077 GB, free: 8.359 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01347/0.7611, allocations: 6.331 MB / 0.7139 GB, free: 1.902 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00168/0.7628, allocations: 163.2 kB / 0.714 GB, free: 1.742 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002171/0.7631, allocations: 36.16 kB / 0.7141 GB, free: 1.707 MB / 0.5105 GB Warning: Assuming fixed start value for the following 4 variables: order4.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order4.delta:VARIABLE(start = order4.delta0 unit = "rad" ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 84 * 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: 0 * Non-linear torn systems: 1 {20 12} Notification: Performance of prepare postOptimizeDAE: time 0.0004814/0.7636, allocations: 158.7 kB / 0.7142 GB, free: 1.543 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004396/0.764, allocations: 122.5 kB / 0.7143 GB, free: 1.422 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01162/0.7757, allocations: 3.893 MB / 0.7181 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-05/0.7757, allocations: 16 kB / 0.7181 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.545e-05/0.7757, allocations: 4 kB / 0.7181 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.797e-05/0.7758, allocations: 7.984 kB / 0.7182 GB, free: 13.48 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 postOpt removeSimpleEquations (simulation): time 0.01422/0.79, allocations: 5.408 MB / 0.7234 GB, free: 7.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/0.7901, allocations: 0 / 0.7234 GB, free: 7.98 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007151/0.7908, allocations: 116.8 kB / 0.7235 GB, free: 7.867 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004493/0.7953, allocations: 1.399 MB / 0.7249 GB, free: 6.465 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001917/0.7955, allocations: 19 kB / 0.7249 GB, free: 6.449 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01177/0.8073, allocations: 5.621 MB / 0.7304 GB, free: 0.707 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/0.8073, allocations: 0 / 0.7304 GB, free: 0.707 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01288/0.8202, allocations: 4.611 MB / 0.7349 GB, free: 12.06 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005698/0.8208, allocations: 223.3 kB / 0.7351 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002796/0.8211, allocations: 0 / 0.7351 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001285/0.8224, allocations: 128.5 kB / 0.7353 GB, free: 11.7 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004921/0.8229, allocations: 180.5 kB / 0.7354 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.984e-05/0.823, allocations: 28 kB / 0.7355 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001005/0.824, allocations: 0.6136 MB / 0.7361 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.824, allocations: 0 / 0.7361 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002175/0.8262, allocations: 0.6006 MB / 0.7366 GB, free: 10.27 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,aVRTypeIchange1_1.firstOrder.y,aVRTypeIchange1_1.firstOrder2.y,aVRTypeIchange1_1.transferFunction.x_scaled[1],aVRTypeIchange1_1.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 65 * 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: 1 {(19,24.4%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003146/0.8265, allocations: 146.9 kB / 0.7368 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.008985/0.8355, allocations: 3.513 MB / 0.7402 GB, free: 6.539 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/0.8356, allocations: 4 kB / 0.7402 GB, free: 6.535 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003664/0.8392, allocations: 1.383 MB / 0.7416 GB, free: 5.129 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00072/0.84, allocations: 89.8 kB / 0.7417 GB, free: 5.043 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003498/0.8435, allocations: 1.725 MB / 0.7433 GB, free: 3.289 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007524/0.8442, allocations: 1.162 MB / 0.7445 GB, free: 2.102 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0008926/0.8452, allocations: 202.1 kB / 0.7447 GB, free: 1.902 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001764/0.8453, allocations: 51.42 kB / 0.7447 GB, free: 1.852 MB / 0.5417 GB Notification: Performance of SimCode: time 2.414e-06/0.8453, allocations: 0 / 0.7447 GB, free: 1.852 MB / 0.5417 GB Notification: Performance of Templates: time 0.3016/1.147, allocations: 25.46 MB / 0.7696 GB, free: 146.9 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe 2>&1)