Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.00147/0.00147, allocations: 180.9 kB / 7.651 MB, free: 1.422 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.305/1.305, allocations: 221.5 MB / 229.6 MB, free: 7.586 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.001013/0.001013, allocations: 91.39 kB / 280.5 MB, free: 5.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4795/0.4795, allocations: 78.95 MB / 410.2 MB, free: 5.988 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.757e-05/1.758e-05, allocations: 4 kB / 485.9 MB, free: 11.53 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1345, allocations: 69.51 MB / 0.5424 GB, free: 5.91 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4186/0.5532, allocations: 98.42 MB / 0.6385 GB, free: 15.72 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002485/0.5535, allocations: 76.7 kB / 0.6386 GB, free: 15.64 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09829/0.6518, allocations: 35.31 MB / 0.6731 GB, free: 12.34 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.634e-06/0.6518, allocations: 0 / 0.6731 GB, free: 12.34 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001323/0.652, allocations: 20 kB / 0.6731 GB, free: 12.32 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.004822/0.6568, allocations: 1.687 MB / 0.6748 GB, free: 10.58 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.6569, allocations: 16.03 kB / 0.6748 GB, free: 10.56 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003577/0.6605, allocations: 0.5525 MB / 0.6753 GB, free: 10.01 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001758/0.6622, allocations: 0.7838 MB / 0.6761 GB, free: 9.168 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002794/0.6625, allocations: 206.4 kB / 0.6763 GB, free: 8.938 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002331/0.6628, allocations: 48.75 kB / 0.6763 GB, free: 8.891 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001614/0.6644, allocations: 0.8006 MB / 0.6771 GB, free: 8.09 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001553/0.666, allocations: 0.8259 MB / 0.6779 GB, free: 7.25 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/0.666, allocations: 3.938 kB / 0.6779 GB, free: 7.246 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.111e-05/0.6661, allocations: 4 kB / 0.6779 GB, free: 7.242 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.552e-05/0.6661, allocations: 16 kB / 0.6779 GB, free: 7.227 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.007388/0.6735, allocations: 3.734 MB / 0.6816 GB, free: 3.309 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007087/0.6806, allocations: 2.57 MB / 0.6841 GB, free: 0.6406 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008845/0.6815, allocations: 0.5166 MB / 0.6846 GB, free: 124 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000125/0.6817, allocations: 13.42 kB / 0.6846 GB, free: 112 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.47e-05/0.6817, allocations: 47.28 kB / 0.6847 GB, free: 56 kB / 490.7 MB Notification: Performance of pre-optimization done (n=93): time 2.976e-06/0.6817, allocations: 3.938 kB / 0.6847 GB, free: 52 kB / 490.7 MB Notification: Performance of matching and sorting (n=93): time 0.01209/0.6938, allocations: 3.805 MB / 0.6884 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.126e-05/0.6939, allocations: 141.2 kB / 0.6885 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001599/0.6956, allocations: 0.7989 MB / 0.6893 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001835/0.6958, allocations: 29.7 kB / 0.6893 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004298/0.6962, allocations: 0.5056 MB / 0.6898 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004409/0.6966, allocations: 323.1 kB / 0.6901 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.711e-05/0.6967, allocations: 0 / 0.6901 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.6969, allocations: 341.9 kB / 0.6905 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007514/0.6977, allocations: 426.6 kB / 0.6909 GB, free: 9.625 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000826/0.6985, allocations: 0.5428 MB / 0.6914 GB, free: 9.039 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008836/0.6994, allocations: 486.2 kB / 0.6919 GB, free: 8.566 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/0.6994, allocations: 1.406 kB / 0.6919 GB, free: 8.566 MB / 0.4948 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01214/0.7116, allocations: 3.923 MB / 0.6957 GB, free: 4.629 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005154/0.7121, allocations: 1.203 MB / 0.6969 GB, free: 3.336 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.936e-05/0.7122, allocations: 4 kB / 0.6969 GB, free: 3.332 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005134/0.7173, allocations: 1.46 MB / 0.6983 GB, free: 1.867 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000916/0.7182, allocations: 163.8 kB / 0.6984 GB, free: 1.707 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01367/0.7319, allocations: 6.348 MB / 0.7046 GB, free: 11.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001614/0.7336, allocations: 167.2 kB / 0.7048 GB, free: 11.07 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002557/0.7339, allocations: 37.62 kB / 0.7048 GB, free: 11.04 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.723e-05/0.7339, allocations: 4 kB / 0.7048 GB, free: 11.04 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01201/0.7459, allocations: 3.774 MB / 0.7085 GB, free: 7.254 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.484e-05/0.746, allocations: 8 kB / 0.7085 GB, free: 7.246 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005083/0.7511, allocations: 1.445 MB / 0.7099 GB, free: 5.797 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009073/0.752, allocations: 167.7 kB / 0.7101 GB, free: 5.633 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0134/0.7655, allocations: 6.342 MB / 0.7163 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001646/0.7672, allocations: 160.3 kB / 0.7165 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002226/0.7674, allocations: 38.73 kB / 0.7165 GB, free: 14.97 MB / 0.5261 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.0005101/0.7679, allocations: 167.3 kB / 0.7166 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004678/0.7684, allocations: 122.5 kB / 0.7168 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01188/0.7803, allocations: 3.89 MB / 0.7206 GB, free: 10.76 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.172e-05/0.7804, allocations: 8 kB / 0.7206 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-05/0.7804, allocations: 8 kB / 0.7206 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.86e-05/0.7804, allocations: 3.984 kB / 0.7206 GB, free: 10.74 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.01532/0.7958, allocations: 5.42 MB / 0.7259 GB, free: 5.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.509e-05/0.7958, allocations: 0 / 0.7259 GB, free: 5.23 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008234/0.7967, allocations: 119.8 kB / 0.726 GB, free: 5.113 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004729/0.8014, allocations: 1.387 MB / 0.7273 GB, free: 3.723 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000251/0.8017, allocations: 12.83 kB / 0.7274 GB, free: 3.711 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01208/0.8138, allocations: 5.625 MB / 0.7329 GB, free: 13.97 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.168e-06/0.8138, allocations: 6.312 kB / 0.7329 GB, free: 13.96 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01357/0.8274, allocations: 4.603 MB / 0.7374 GB, free: 9.328 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006352/0.8281, allocations: 219.4 kB / 0.7376 GB, free: 9.094 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004726/0.8286, allocations: 4 kB / 0.7376 GB, free: 9.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001461/0.8301, allocations: 119.9 kB / 0.7377 GB, free: 8.973 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006096/0.8307, allocations: 185.2 kB / 0.7379 GB, free: 8.793 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001324/0.8308, allocations: 20 kB / 0.7379 GB, free: 8.773 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001069/0.8319, allocations: 0.6175 MB / 0.7385 GB, free: 8.148 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.61e-07/0.8319, allocations: 0 / 0.7385 GB, free: 8.148 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002519/0.8345, allocations: 0.6082 MB / 0.7391 GB, free: 7.539 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 {(18,25.9%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003297/0.8348, allocations: 147.1 kB / 0.7392 GB, free: 7.387 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00886/0.8437, allocations: 3.507 MB / 0.7426 GB, free: 3.812 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.8437, allocations: 0 / 0.7426 GB, free: 3.812 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003792/0.8475, allocations: 1.379 MB / 0.744 GB, free: 2.414 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009233/0.8484, allocations: 97.78 kB / 0.7441 GB, free: 2.32 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003491/0.8519, allocations: 1.725 MB / 0.7458 GB, free: 0.5703 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008505/0.8528, allocations: 1.154 MB / 0.7469 GB, free: 15.39 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0009572/0.8538, allocations: 194.9 kB / 0.7471 GB, free: 15.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002066/0.854, allocations: 55.42 kB / 0.7471 GB, free: 15.14 MB / 0.5573 GB Notification: Performance of SimCode: time 8.92e-07/0.854, allocations: 4 kB / 0.7471 GB, free: 15.14 MB / 0.5573 GB Notification: Performance of Templates: time 0.4365/1.291, allocations: 25.43 MB / 0.772 GB, free: 146.7 MB / 0.5573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe 2>&1)