Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_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.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004498/0.004498, allocations: 170.5 kB / 15.11 MB, free: 5.973 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.175/1.175, allocations: 223.2 MB / 239 MB, free: 1.766 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.0008344/0.0008343, allocations: 107.1 kB / 290.2 MB, free: 13.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3978/0.3978, allocations: 78.52 MB / 419.8 MB, free: 44.12 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003244/0.0003244, allocations: 15.98 kB / 499.7 MB, free: 2.746 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2894/0.2897, allocations: 69.35 MB / 0.5557 GB, free: 38.64 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1053/0.3951, allocations: 98.18 MB / 0.6516 GB, free: 8.188 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001862/0.3953, allocations: 80.8 kB / 0.6517 GB, free: 8.109 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07509/0.4704, allocations: 30.03 MB / 0.681 GB, free: 9.934 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.4705, allocations: 3.938 kB / 0.681 GB, free: 9.93 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.432e-05/0.4705, allocations: 23.94 kB / 0.681 GB, free: 9.906 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.004351/0.4749, allocations: 1.99 MB / 0.683 GB, free: 7.848 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.4749, allocations: 8.031 kB / 0.683 GB, free: 7.84 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002972/0.4779, allocations: 0.5603 MB / 0.6835 GB, free: 7.277 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001273/0.4792, allocations: 0.8033 MB / 0.6843 GB, free: 6.422 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000218/0.4794, allocations: 238.5 kB / 0.6845 GB, free: 6.156 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001381/0.4796, allocations: 80 kB / 0.6846 GB, free: 6.078 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001937/0.4815, allocations: 1.134 MB / 0.6857 GB, free: 4.93 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.4815, allocations: 4 kB / 0.6857 GB, free: 4.926 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.622e-05/0.4816, allocations: 28 kB / 0.6857 GB, free: 4.898 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.761e-05/0.4817, allocations: 20 kB / 0.6858 GB, free: 4.879 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001898/0.4836, allocations: 1.07 MB / 0.6868 GB, free: 3.805 MB / 490.7 MB 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.005702/0.4893, allocations: 3.84 MB / 0.6906 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007273/0.4966, allocations: 2.861 MB / 0.6934 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.226e-05/0.4967, allocations: 20.89 kB / 0.6934 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.4967, allocations: 43.56 kB / 0.6934 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=92): time 2.796e-06/0.4967, allocations: 4 kB / 0.6934 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of matching and sorting (n=92): time 0.02525/0.522, allocations: 8.022 MB / 0.7013 GB, free: 4.672 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.507e-05/0.5221, allocations: 141.5 kB / 0.7014 GB, free: 4.504 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001432/0.5235, allocations: 0.921 MB / 0.7023 GB, free: 3.57 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001722/0.5237, allocations: 41.7 kB / 0.7023 GB, free: 3.523 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003491/0.5241, allocations: 0.509 MB / 0.7028 GB, free: 3.008 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003247/0.5244, allocations: 331.2 kB / 0.7031 GB, free: 2.68 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.395e-05/0.5245, allocations: 23.94 kB / 0.7032 GB, free: 2.656 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.5246, allocations: 337.9 kB / 0.7035 GB, free: 2.32 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001212/0.5258, allocations: 0.6305 MB / 0.7041 GB, free: 1.691 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001269/0.5271, allocations: 0.776 MB / 0.7049 GB, free: 0.8711 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001281/0.5284, allocations: 0.7392 MB / 0.7056 GB, free: 128 kB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.5284, allocations: 0 / 0.7056 GB, free: 128 kB / 0.4948 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.0125/0.5409, allocations: 4.668 MB / 0.7101 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004139/0.5413, allocations: 1.211 MB / 0.7113 GB, free: 10.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.5414, allocations: 0 / 0.7113 GB, free: 10.13 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005693/0.5471, allocations: 1.855 MB / 0.7131 GB, free: 8.27 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008755/0.548, allocations: 159.8 kB / 0.7133 GB, free: 8.113 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01877/0.5667, allocations: 9.243 MB / 0.7223 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00149/0.5683, allocations: 191.2 kB / 0.7225 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001709/0.5685, allocations: 35.98 kB / 0.7225 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.877e-06/0.5685, allocations: 4 kB / 0.7225 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01251/0.581, allocations: 4.512 MB / 0.7269 GB, free: 9.969 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.581, allocations: 4 kB / 0.7269 GB, free: 9.965 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005618/0.5867, allocations: 1.856 MB / 0.7288 GB, free: 8.105 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008352/0.5875, allocations: 151.8 kB / 0.7289 GB, free: 7.957 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02177/0.6093, allocations: 9.238 MB / 0.7379 GB, free: 14.58 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002283/0.6116, allocations: 183.3 kB / 0.7381 GB, free: 14.4 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001362/0.6118, allocations: 35.98 kB / 0.7381 GB, free: 14.37 MB / 0.5417 GB Warning: Assuming fixed start value for the following 4 variables: order3.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order3.delta:VARIABLE(start = order3.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 (85): * Single equations (assignments): 82 * 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 {18 14} Notification: Performance of prepare postOptimizeDAE: time 0.0008849/0.6127, allocations: 364.7 kB / 0.7385 GB, free: 14 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003435/0.613, allocations: 122.5 kB / 0.7386 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02146/0.6345, allocations: 4.614 MB / 0.7431 GB, free: 9.234 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.116e-05/0.6346, allocations: 8 kB / 0.7431 GB, free: 9.227 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.72e-05/0.6346, allocations: 8 kB / 0.7431 GB, free: 9.219 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.84e-05/0.6346, allocations: 3.984 kB / 0.7431 GB, free: 9.215 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.01911/0.6538, allocations: 6.225 MB / 0.7492 GB, free: 2.883 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.906e-06/0.6538, allocations: 0 / 0.7492 GB, free: 2.883 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007722/0.6546, allocations: 115.9 kB / 0.7493 GB, free: 2.77 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005125/0.6597, allocations: 1.797 MB / 0.7511 GB, free: 0.9688 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001485/0.6599, allocations: 20 kB / 0.7511 GB, free: 0.9492 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01565/0.6756, allocations: 8.015 MB / 0.7589 GB, free: 8.785 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.6756, allocations: 3.938 kB / 0.7589 GB, free: 8.781 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01349/0.6891, allocations: 5.532 MB / 0.7643 GB, free: 3.215 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004532/0.6896, allocations: 227.3 kB / 0.7645 GB, free: 2.977 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002649/0.6899, allocations: 27.89 kB / 0.7646 GB, free: 2.949 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001194/0.6911, allocations: 139.9 kB / 0.7647 GB, free: 2.812 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004863/0.6916, allocations: 172.7 kB / 0.7649 GB, free: 2.645 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.167e-05/0.6917, allocations: 27.98 kB / 0.7649 GB, free: 2.617 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001196/0.6929, allocations: 0.7197 MB / 0.7656 GB, free: 1.891 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.41e-07/0.6929, allocations: 7.938 kB / 0.7656 GB, free: 1.883 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002006/0.6949, allocations: 0.667 MB / 0.7662 GB, free: 1.215 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,aVRTypeII.firstOrder.y,aVRTypeII.firstOrder2.y,aVRTypeII.transferFunction.x_scaled[1],aVRTypeII.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 (66): * Single equations (assignments): 64 * 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 {(20,23.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003045/0.6952, allocations: 147.8 kB / 0.7664 GB, free: 1.062 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.209/0.9042, allocations: 4.168 MB / 0.7705 GB, free: 147.5 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/0.9042, allocations: 1.25 kB / 0.7705 GB, free: 147.5 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004051/0.9083, allocations: 1.665 MB / 0.7721 GB, free: 147.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008364/0.9091, allocations: 109.8 kB / 0.7722 GB, free: 147.2 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003598/0.9128, allocations: 2.604 MB / 0.7747 GB, free: 146.1 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006313/0.9134, allocations: 1.156 MB / 0.7759 GB, free: 145.4 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004585/0.9139, allocations: 126 kB / 0.776 GB, free: 145.4 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002003/0.9141, allocations: 63.31 kB / 0.776 GB, free: 145.4 MB / 0.5573 GB Notification: Performance of SimCode: time 5.62e-07/0.9141, allocations: 0 / 0.776 GB, free: 145.4 MB / 0.5573 GB Notification: Performance of Templates: time 0.0329/0.947, allocations: 25.87 MB / 0.8013 GB, free: 144.1 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe 2>&1)