Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.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.TwoAreaOld.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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.007631/0.007631, allocations: 172 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.267/1.267, allocations: 223.2 MB / 239 MB, free: 1.793 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.0008539/0.0008539, allocations: 104.8 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4449/0.4449, allocations: 78.59 MB / 419.9 MB, free: 44.18 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003764/0.0003765, allocations: 12 kB / 499.8 MB, free: 2.957 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3582/0.3586, allocations: 69.35 MB / 0.5558 GB, free: 39.05 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1202/0.4789, allocations: 98.47 MB / 0.6519 GB, free: 8.07 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002296/0.4791, allocations: 79.97 kB / 0.652 GB, free: 7.992 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09469/0.5738, allocations: 35.21 MB / 0.6864 GB, free: 4.586 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.5739, allocations: 0 / 0.6864 GB, free: 4.586 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.762e-05/0.574, allocations: 27.94 kB / 0.6864 GB, free: 4.559 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.004866/0.5788, allocations: 1.978 MB / 0.6884 GB, free: 2.512 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.5789, allocations: 8.031 kB / 0.6884 GB, free: 2.504 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003297/0.5822, allocations: 0.5603 MB / 0.6889 GB, free: 1.941 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001606/0.5838, allocations: 0.8188 MB / 0.6897 GB, free: 1.07 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002425/0.5841, allocations: 234.5 kB / 0.6899 GB, free: 0.8086 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001495/0.5842, allocations: 79.98 kB / 0.69 GB, free: 0.7305 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002184/0.5864, allocations: 1.142 MB / 0.6911 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.5864, allocations: 0 / 0.6911 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.202e-05/0.5865, allocations: 28 kB / 0.6911 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.734e-05/0.5866, allocations: 20 kB / 0.6912 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002095/0.5887, allocations: 1.07 MB / 0.6922 GB, free: 14.45 MB / 0.4948 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.006401/0.5951, allocations: 3.847 MB / 0.696 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007808/0.6029, allocations: 2.872 MB / 0.6988 GB, free: 7.445 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001061/0.603, allocations: 16.98 kB / 0.6988 GB, free: 7.43 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.6031, allocations: 43.56 kB / 0.6988 GB, free: 7.379 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=93): time 3.938e-06/0.6031, allocations: 4 kB / 0.6988 GB, free: 7.375 MB / 0.4948 GB Notification: Performance of matching and sorting (n=93): time 0.02749/0.6306, allocations: 8.011 MB / 0.7067 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.138e-05/0.6307, allocations: 141.5 kB / 0.7068 GB, free: 15.15 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001617/0.6323, allocations: 0.909 MB / 0.7077 GB, free: 14.23 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001572/0.6325, allocations: 41.7 kB / 0.7077 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003887/0.6329, allocations: 0.4973 MB / 0.7082 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003558/0.6333, allocations: 335.1 kB / 0.7085 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.588e-05/0.6334, allocations: 23.94 kB / 0.7085 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.6335, allocations: 345.9 kB / 0.7089 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001338/0.6348, allocations: 0.6383 MB / 0.7095 GB, free: 12.34 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001399/0.6362, allocations: 0.7721 MB / 0.7103 GB, free: 11.53 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001388/0.6376, allocations: 0.7472 MB / 0.711 GB, free: 10.77 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.6377, allocations: 0 / 0.711 GB, free: 10.77 MB / 0.5105 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01344/0.6511, allocations: 4.668 MB / 0.7155 GB, free: 6.074 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005575/0.6517, allocations: 1.202 MB / 0.7167 GB, free: 4.781 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.6517, allocations: 4 kB / 0.7167 GB, free: 4.777 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006105/0.6578, allocations: 1.867 MB / 0.7185 GB, free: 2.906 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009872/0.6588, allocations: 163.8 kB / 0.7187 GB, free: 2.746 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02049/0.6793, allocations: 9.184 MB / 0.7277 GB, free: 9.422 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001653/0.681, allocations: 195 kB / 0.7279 GB, free: 9.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.785e-05/0.6811, allocations: 39.92 kB / 0.7279 GB, free: 9.191 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.6811, allocations: 4.172 kB / 0.7279 GB, free: 9.188 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01473/0.6959, allocations: 4.5 MB / 0.7323 GB, free: 4.668 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.453e-05/0.6959, allocations: 12 kB / 0.7323 GB, free: 4.656 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006108/0.7021, allocations: 1.864 MB / 0.7341 GB, free: 2.789 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/0.7031, allocations: 155.8 kB / 0.7343 GB, free: 2.637 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02023/0.7234, allocations: 9.17 MB / 0.7432 GB, free: 9.324 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001659/0.725, allocations: 183.1 kB / 0.7434 GB, free: 9.145 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.193e-05/0.7251, allocations: 43.97 kB / 0.7434 GB, free: 9.102 MB / 0.5417 GB Warning: Assuming fixed start value for the following 4 variables: order4.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order4.delta:VARIABLE(start = order4.delta0 unit = "rad" fixed = true ) "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 () * Number of clocked 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.0006655/0.7258, allocations: 358.6 kB / 0.7438 GB, free: 8.738 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000227/0.7261, allocations: 126.6 kB / 0.7439 GB, free: 8.613 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01262/0.7387, allocations: 4.61 MB / 0.7484 GB, free: 3.98 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.309e-05/0.7387, allocations: 8 kB / 0.7484 GB, free: 3.973 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-05/0.7387, allocations: 12 kB / 0.7484 GB, free: 3.961 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.484e-05/0.7388, allocations: 3.984 kB / 0.7484 GB, free: 3.957 MB / 0.5417 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.0153/0.7541, allocations: 6.233 MB / 0.7545 GB, free: 13.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.249e-05/0.7541, allocations: 7.984 kB / 0.7545 GB, free: 13.61 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007148/0.7548, allocations: 111.8 kB / 0.7546 GB, free: 13.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005387/0.7602, allocations: 1.788 MB / 0.7564 GB, free: 11.7 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00014/0.7604, allocations: 23.98 kB / 0.7564 GB, free: 11.68 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01768/0.7781, allocations: 8.004 MB / 0.7642 GB, free: 3.535 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.7781, allocations: 0 / 0.7642 GB, free: 3.535 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2362/1.014, allocations: 5.53 MB / 0.7696 GB, free: 144.6 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004717/1.015, allocations: 224.6 kB / 0.7698 GB, free: 144.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001833/1.015, allocations: 21.31 kB / 0.7699 GB, free: 144.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00119/1.016, allocations: 142.3 kB / 0.77 GB, free: 144.5 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005535/1.017, allocations: 181.3 kB / 0.7702 GB, free: 144.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.391e-05/1.017, allocations: 25.72 kB / 0.7702 GB, free: 144.5 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00115/1.018, allocations: 0.7153 MB / 0.7709 GB, free: 144.4 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.6e-07/1.018, allocations: 1.156 kB / 0.7709 GB, free: 144.4 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002112/1.02, allocations: 0.6642 MB / 0.7715 GB, free: 144.4 MB / 0.5573 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 () * Number of clocked 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.0003592/1.02, allocations: 150.3 kB / 0.7717 GB, free: 144.3 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01076/1.031, allocations: 4.239 MB / 0.7758 GB, free: 143.7 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/1.031, allocations: 3 kB / 0.7758 GB, free: 143.7 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.003926/1.035, allocations: 1.66 MB / 0.7774 GB, free: 143.4 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008356/1.036, allocations: 108.1 kB / 0.7775 GB, free: 143.4 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003621/1.04, allocations: 2.687 MB / 0.7802 GB, free: 142.3 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000538/1.04, allocations: 1.154 MB / 0.7813 GB, free: 141.6 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0005417/1.041, allocations: 118.6 kB / 0.7814 GB, free: 141.5 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002184/1.041, allocations: 64.94 kB / 0.7815 GB, free: 141.5 MB / 0.5573 GB Notification: Performance of SimCode: time 1.413e-06/1.041, allocations: 2.781 kB / 0.7815 GB, free: 141.5 MB / 0.5573 GB Notification: Performance of Templates: time 0.03816/1.079, allocations: 25.73 MB / 0.8066 GB, free: 140.3 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe 2>&1)