Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.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.TwoArea.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 168.8 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.322/1.322, allocations: 221.5 MB / 229.6 MB, free: 7.559 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.0008365/0.0008365, allocations: 96.28 kB / 280.5 MB, free: 5.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4653/0.4653, allocations: 78.07 MB / 409.3 MB, free: 6.348 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.537e-05/1.539e-05, allocations: 0 / 484.9 MB, free: 12.23 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1372, allocations: 69.36 MB / 0.5413 GB, free: 6.797 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3996/0.5368, allocations: 101.7 MB / 0.6406 GB, free: 13.82 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002315/0.5371, allocations: 76.48 kB / 0.6407 GB, free: 13.75 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.254/0.7911, allocations: 98.77 MB / 0.7371 GB, free: 10.58 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.835e-06/0.7912, allocations: 4 kB / 0.7371 GB, free: 10.58 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0004963/0.7917, allocations: 84 kB / 0.7372 GB, free: 10.5 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.02017/0.8119, allocations: 5.786 MB / 0.7429 GB, free: 4.633 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.8119, allocations: 8.031 kB / 0.7429 GB, free: 4.625 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01786/0.8298, allocations: 2.776 MB / 0.7456 GB, free: 1.84 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007027/0.8369, allocations: 2.291 MB / 0.7478 GB, free: 15.47 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001166/0.8381, allocations: 0.8384 MB / 0.7486 GB, free: 14.5 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00154/0.8397, allocations: 208 kB / 0.7488 GB, free: 14.3 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009961/0.8496, allocations: 3.447 MB / 0.7522 GB, free: 10.85 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01223/0.8619, allocations: 3.61 MB / 0.7557 GB, free: 7.207 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001445/0.8621, allocations: 3.984 kB / 0.7557 GB, free: 7.203 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001056/0.8632, allocations: 0 / 0.7557 GB, free: 7.203 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.636e-05/0.8632, allocations: 84 kB / 0.7558 GB, free: 7.121 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 preOpt removeSimpleEquations (simulation): time 0.3357/1.199, allocations: 18.19 MB / 0.7736 GB, free: 86.69 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0105/1.21, allocations: 4.68 MB / 0.7781 GB, free: 86.25 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003875/1.213, allocations: 2.125 MB / 0.7802 GB, free: 86.23 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005668/1.214, allocations: 71.34 kB / 0.7803 GB, free: 86.22 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.696e-05/1.214, allocations: 75.34 kB / 0.7804 GB, free: 86.18 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=382): time 5.801e-06/1.214, allocations: 0 / 0.7804 GB, free: 86.18 MB / 0.5573 GB Notification: Performance of matching and sorting (n=382): time 0.0516/1.266, allocations: 17.18 MB / 0.7971 GB, free: 85.62 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.948e-05/1.266, allocations: 175.5 kB / 0.7973 GB, free: 85.46 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004811/1.271, allocations: 2.48 MB / 0.7997 GB, free: 85.18 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001121/1.272, allocations: 25.7 kB / 0.7998 GB, free: 85.15 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001737/1.274, allocations: 2.008 MB / 0.8017 GB, free: 84.72 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002385/1.276, allocations: 1.256 MB / 0.8029 GB, free: 84.05 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003071/1.276, allocations: 0 / 0.8029 GB, free: 84.05 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0003489/1.277, allocations: 442.4 kB / 0.8034 GB, free: 83.75 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003658/1.28, allocations: 1.769 MB / 0.8051 GB, free: 83.74 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003786/1.284, allocations: 2.326 MB / 0.8074 GB, free: 83.18 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003376/1.287, allocations: 1.966 MB / 0.8093 GB, free: 83.11 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.871e-05/1.288, allocations: 4.188 kB / 0.8093 GB, free: 83.11 MB / 0.5573 GB Notification: Performance of matching and sorting (n=462) (initialization): time 0.04982/1.337, allocations: 17.36 MB / 0.8262 GB, free: 82.01 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001237/1.339, allocations: 6.681 MB / 0.8328 GB, free: 74.97 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.763e-05/1.339, allocations: 13.44 kB / 0.8328 GB, free: 74.97 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02181/1.36, allocations: 6.925 MB / 0.8395 GB, free: 74.56 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00273/1.363, allocations: 0.5343 MB / 0.8401 GB, free: 74.56 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05237/1.416, allocations: 26.37 MB / 0.8658 GB, free: 64.06 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005869/1.422, allocations: 0.6183 MB / 0.8664 GB, free: 63.95 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007094/1.422, allocations: 138.9 kB / 0.8665 GB, free: 63.92 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/1.422, allocations: 4.156 kB / 0.8666 GB, free: 63.92 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04533/1.468, allocations: 16.85 MB / 0.883 GB, free: 59.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-05/1.468, allocations: 16 kB / 0.883 GB, free: 59.32 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02098/1.489, allocations: 6.926 MB / 0.8898 GB, free: 54.01 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002892/1.492, allocations: 0.5281 MB / 0.8903 GB, free: 53.58 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05244/1.544, allocations: 26.36 MB / 0.916 GB, free: 30.11 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007281/1.551, allocations: 0.5917 MB / 0.9166 GB, free: 29.61 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001065/1.553, allocations: 127.5 kB / 0.9167 GB, free: 29.49 MB / 0.5573 GB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order6.delta:VARIABLE(start = order6.delta0 unit = "rad" ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (325): * Single equations (assignments): 321 * 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: 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 {92 45} Notification: Performance of prepare postOptimizeDAE: time 0.001251/1.554, allocations: 212.1 kB / 0.9169 GB, free: 29.31 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001561/1.555, allocations: 454.4 kB / 0.9174 GB, free: 28.86 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04634/1.602, allocations: 17.65 MB / 0.9346 GB, free: 15.24 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.639e-05/1.602, allocations: 36 kB / 0.9346 GB, free: 15.2 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.203e-05/1.602, allocations: 32.89 kB / 0.9347 GB, free: 15.17 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001075/1.602, allocations: 18.8 kB / 0.9347 GB, free: 15.17 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.05386/1.656, allocations: 22.63 MB / 0.9568 GB, free: 14.08 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.091e-05/1.656, allocations: 4.031 kB / 0.9568 GB, free: 14.08 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002484/1.658, allocations: 408.4 kB / 0.9572 GB, free: 13.73 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02139/1.68, allocations: 6.877 MB / 0.9639 GB, free: 8.406 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008936/1.681, allocations: 19.67 kB / 0.9639 GB, free: 8.391 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05516/1.736, allocations: 22.37 MB / 0.9858 GB, free: 2.641 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/1.736, allocations: 0.5625 kB / 0.9858 GB, free: 2.641 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3813/2.117, allocations: 20.52 MB / 1.006 GB, free: 111.6 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002345/2.12, allocations: 0.5553 MB / 1.006 GB, free: 111.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002058/2.122, allocations: 6.5 kB / 1.006 GB, free: 111.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005887/2.128, allocations: 432.9 kB / 1.007 GB, free: 111.4 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003409/2.131, allocations: 0.761 MB / 1.008 GB, free: 111.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007729/2.132, allocations: 100.6 kB / 1.008 GB, free: 111.4 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.003505/2.135, allocations: 1.84 MB / 1.009 GB, free: 111.3 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.91e-07/2.135, allocations: 0 / 1.009 GB, free: 111.3 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.01235/2.148, allocations: 2.629 MB / 1.012 GB, free: 111.1 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (252): * Single equations (assignments): 250 * 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 {(98,5.5%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00107/2.149, allocations: 164.1 kB / 1.012 GB, free: 111 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.04281/2.192, allocations: 14.29 MB / 1.026 GB, free: 109.6 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/2.192, allocations: 0.5625 kB / 1.026 GB, free: 109.6 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01856/2.21, allocations: 5.849 MB / 1.032 GB, free: 109.1 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004039/2.214, allocations: 251.1 kB / 1.032 GB, free: 109.1 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01346/2.228, allocations: 6.057 MB / 1.038 GB, free: 107.4 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002426/2.23, allocations: 2.605 MB / 1.04 GB, free: 106.6 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.003291/2.234, allocations: 0.6064 MB / 1.041 GB, free: 106.5 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006997/2.234, allocations: 173.8 kB / 1.041 GB, free: 106.5 MB / 0.5886 GB Notification: Performance of SimCode: time 1.874e-06/2.234, allocations: 4 kB / 1.041 GB, free: 106.5 MB / 0.5886 GB Notification: Performance of Templates: time 0.141/2.375, allocations: 105 MB / 1.144 GB, free: 58.12 MB / 0.5886 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe 2>&1)