Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009659/0.0009657, allocations: 169.5 kB / 7.645 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.28/1.28, allocations: 205.3 MB / 213.4 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008246/0.0008244, allocations: 82.7 kB / 261.4 MB, free: 1.691 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.05995/0.05995, allocations: 12.6 MB / 321.9 MB, free: 15.2 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4122/0.4122, allocations: 78.06 MB / 450.8 MB, free: 8.914 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.347e-05/1.339e-05, allocations: 0 / 0.5147 GB, free: 41.87 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09487/0.0949, allocations: 69.32 MB / 0.5824 GB, free: 328 kB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1164/0.2114, allocations: 99.73 MB / 0.6798 GB, free: 12.45 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002263/0.2116, allocations: 79.95 kB / 0.6799 GB, free: 12.38 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3062/0.5179, allocations: 29.69 MB / 0.7088 GB, free: 96.57 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.5179, allocations: 0 / 0.7088 GB, free: 96.57 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.546e-05/0.518, allocations: 33.41 kB / 0.7089 GB, free: 96.56 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.004204/0.5223, allocations: 1.715 MB / 0.7106 GB, free: 95.75 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.969e-05/0.5223, allocations: 10.22 kB / 0.7106 GB, free: 95.75 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003285/0.5256, allocations: 0.5582 MB / 0.7111 GB, free: 95.66 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001325/0.5269, allocations: 0.7976 MB / 0.7119 GB, free: 95.31 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001861/0.5271, allocations: 210.4 kB / 0.7121 GB, free: 95.14 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001619/0.5273, allocations: 45.91 kB / 0.7121 GB, free: 95.14 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001262/0.5286, allocations: 0.8132 MB / 0.7129 GB, free: 95.14 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00125/0.5298, allocations: 0.8406 MB / 0.7137 GB, free: 94.94 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/0.5299, allocations: 3.906 kB / 0.7138 GB, free: 94.94 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.152e-05/0.53, allocations: 0 / 0.7138 GB, free: 94.94 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.53, allocations: 16.19 kB / 0.7138 GB, free: 94.94 MB / 474.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.005747/0.5357, allocations: 3.795 MB / 0.7175 GB, free: 92.51 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006183/0.5419, allocations: 2.582 MB / 0.72 GB, free: 90.84 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00065/0.5426, allocations: 0.5201 MB / 0.7205 GB, free: 90.32 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001016/0.5427, allocations: 13.7 kB / 0.7205 GB, free: 90.31 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.5427, allocations: 51.27 kB / 0.7206 GB, free: 90.25 MB / 474.7 MB Notification: Performance of pre-optimization done (n=94): time 2.264e-06/0.5427, allocations: 4 kB / 0.7206 GB, free: 90.25 MB / 474.7 MB Notification: Performance of matching and sorting (n=94): time 0.01045/0.5532, allocations: 3.823 MB / 0.7243 GB, free: 86.41 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.557e-05/0.5533, allocations: 141.3 kB / 0.7244 GB, free: 86.25 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001056/0.5543, allocations: 0.8467 MB / 0.7253 GB, free: 85.39 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001244/0.5545, allocations: 30.48 kB / 0.7253 GB, free: 85.35 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002526/0.5547, allocations: 0.509 MB / 0.7258 GB, free: 84.84 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002655/0.555, allocations: 327.1 kB / 0.7261 GB, free: 84.51 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.066e-05/0.5551, allocations: 0 / 0.7261 GB, free: 84.51 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 5.663e-05/0.5551, allocations: 341.9 kB / 0.7264 GB, free: 84.17 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006113/0.5557, allocations: 430.6 kB / 0.7268 GB, free: 83.75 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006327/0.5564, allocations: 0.5584 MB / 0.7274 GB, free: 83.15 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006481/0.557, allocations: 490.2 kB / 0.7279 GB, free: 82.67 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.5571, allocations: 0 / 0.7279 GB, free: 82.67 MB / 474.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.01031/0.5674, allocations: 3.901 MB / 0.7317 GB, free: 78.76 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002103/0.5676, allocations: 1.2 MB / 0.7328 GB, free: 77.47 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.5676, allocations: 4 kB / 0.7328 GB, free: 77.47 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004348/0.572, allocations: 1.428 MB / 0.7342 GB, free: 76.04 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009705/0.573, allocations: 187.8 kB / 0.7344 GB, free: 75.86 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01059/0.5836, allocations: 6.273 MB / 0.7405 GB, free: 69.46 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001475/0.5851, allocations: 179.2 kB / 0.7407 GB, free: 69.29 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001373/0.5852, allocations: 35.98 kB / 0.7407 GB, free: 69.25 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.806e-06/0.5852, allocations: 4 kB / 0.7407 GB, free: 69.25 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009929/0.5952, allocations: 3.733 MB / 0.7444 GB, free: 65.51 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.5952, allocations: 0 / 0.7444 GB, free: 65.51 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004282/0.5995, allocations: 1.428 MB / 0.7458 GB, free: 64.08 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009491/0.6005, allocations: 175.8 kB / 0.746 GB, free: 63.91 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0105/0.611, allocations: 6.262 MB / 0.7521 GB, free: 57.53 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001479/0.6125, allocations: 163.4 kB / 0.7522 GB, free: 57.37 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001614/0.6127, allocations: 35.98 kB / 0.7523 GB, free: 57.33 MB / 474.7 MB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" ) "q-axis sub-transient voltage" type: Real order5.e1q:VARIABLE(start = order5.e1q0 unit = "1" ) "q-axis transient voltage" 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 (91): * Single equations (assignments): 88 * 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 12} Notification: Performance of prepare postOptimizeDAE: time 0.0003565/0.6131, allocations: 167.5 kB / 0.7524 GB, free: 57.15 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003268/0.6134, allocations: 126.4 kB / 0.7525 GB, free: 57.03 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01015/0.6236, allocations: 3.909 MB / 0.7564 GB, free: 53.1 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/0.6236, allocations: 8 kB / 0.7564 GB, free: 53.09 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/0.6236, allocations: 8 kB / 0.7564 GB, free: 53.08 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.754e-05/0.6236, allocations: 7.969 kB / 0.7564 GB, free: 53.07 MB / 474.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 postOpt removeSimpleEquations (simulation): time 0.01186/0.6355, allocations: 5.478 MB / 0.7617 GB, free: 47.53 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.575e-06/0.6355, allocations: 0 / 0.7617 GB, free: 47.53 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006643/0.6362, allocations: 123.9 kB / 0.7618 GB, free: 47.41 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003839/0.6401, allocations: 1.394 MB / 0.7632 GB, free: 46.01 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001251/0.6402, allocations: 7.984 kB / 0.7632 GB, free: 46 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009219/0.6494, allocations: 5.619 MB / 0.7687 GB, free: 40.26 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.6495, allocations: 4 kB / 0.7687 GB, free: 40.26 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01096/0.6604, allocations: 4.663 MB / 0.7733 GB, free: 35.56 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004976/0.661, allocations: 223.4 kB / 0.7735 GB, free: 35.32 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004189/0.6614, allocations: 4 kB / 0.7735 GB, free: 35.32 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001306/0.6627, allocations: 119.9 kB / 0.7736 GB, free: 35.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004747/0.6632, allocations: 196.3 kB / 0.7738 GB, free: 35.01 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.462e-05/0.6633, allocations: 24 kB / 0.7738 GB, free: 34.99 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0008348/0.6642, allocations: 0.6454 MB / 0.7744 GB, free: 34.34 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.6642, allocations: 0 / 0.7744 GB, free: 34.34 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00188/0.6661, allocations: 0.6161 MB / 0.775 GB, free: 33.72 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.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 (68): * Single equations (assignments): 66 * 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.000274/0.6663, allocations: 141.6 kB / 0.7752 GB, free: 33.57 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007279/0.6736, allocations: 3.479 MB / 0.7786 GB, free: 30.02 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.6737, allocations: 0 / 0.7786 GB, free: 30.02 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003228/0.6769, allocations: 1.413 MB / 0.7799 GB, free: 28.59 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007619/0.6777, allocations: 100.4 kB / 0.78 GB, free: 28.49 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002873/0.6806, allocations: 1.828 MB / 0.7818 GB, free: 26.62 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004306/0.681, allocations: 1.162 MB / 0.783 GB, free: 25.43 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0007961/0.6818, allocations: 201.7 kB / 0.7832 GB, free: 25.23 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001773/0.682, allocations: 51.44 kB / 0.7832 GB, free: 25.18 MB / 474.7 MB Notification: Performance of SimCode: time 4.51e-07/0.682, allocations: 4 kB / 0.7832 GB, free: 25.18 MB / 474.7 MB Notification: Performance of Templates: time 0.03218/0.7142, allocations: 25.85 MB / 0.8085 GB, free: 15.35 MB / 490.7 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe 2>&1)