Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_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.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001255/0.001255, allocations: 176.1 kB / 7.643 MB, free: 1.414 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.567/1.567, allocations: 205.3 MB / 213.4 MB, free: 13.76 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008259/0.0008255, allocations: 81.03 kB / 261.4 MB, free: 13.45 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.06472/0.06472, allocations: 12.6 MB / 321.9 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3463/0.3463, allocations: 78.06 MB / 450.8 MB, free: 3.027 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.4e-05/1.404e-05, allocations: 4 kB / 0.5147 GB, free: 29.62 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1108, allocations: 69.33 MB / 0.5824 GB, free: 8.398 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3707/0.4815, allocations: 99.05 MB / 0.6791 GB, free: 8.953 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002082/0.4818, allocations: 82.06 kB / 0.6792 GB, free: 8.906 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07215/0.5539, allocations: 28.82 MB / 0.7074 GB, free: 1.254 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.554, allocations: 0 / 0.7074 GB, free: 1.254 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.945e-05/0.5541, allocations: 23.94 kB / 0.7074 GB, free: 1.23 MB / 442.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.004165/0.5582, allocations: 1.698 MB / 0.709 GB, free: 15.59 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.5583, allocations: 8.031 kB / 0.709 GB, free: 15.58 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00346/0.5618, allocations: 0.5593 MB / 0.7096 GB, free: 15.07 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001388/0.5632, allocations: 0.7727 MB / 0.7103 GB, free: 14.41 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002504/0.5634, allocations: 202.5 kB / 0.7105 GB, free: 14.18 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001465/0.5636, allocations: 51.23 kB / 0.7106 GB, free: 14.14 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00137/0.565, allocations: 0.8007 MB / 0.7114 GB, free: 13.64 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001365/0.5663, allocations: 0.8289 MB / 0.7122 GB, free: 13.07 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/0.5664, allocations: 0 / 0.7122 GB, free: 13.07 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.096e-05/0.5665, allocations: 0 / 0.7122 GB, free: 13.07 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.713e-05/0.5665, allocations: 19.95 kB / 0.7122 GB, free: 13.05 MB / 458.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.006265/0.5728, allocations: 3.7 MB / 0.7158 GB, free: 10.06 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006745/0.5795, allocations: 2.574 MB / 0.7183 GB, free: 7.707 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007497/0.5803, allocations: 0.5049 MB / 0.7188 GB, free: 7.43 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001075/0.5804, allocations: 20.27 kB / 0.7188 GB, free: 7.414 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/0.5805, allocations: 46.45 kB / 0.7189 GB, free: 7.367 MB / 458.7 MB Notification: Performance of pre-optimization done (n=92): time 2.976e-06/0.5805, allocations: 0 / 0.7189 GB, free: 7.367 MB / 458.7 MB Notification: Performance of matching and sorting (n=92): time 0.01135/0.5918, allocations: 3.799 MB / 0.7226 GB, free: 4.062 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.435e-05/0.5919, allocations: 142.7 kB / 0.7227 GB, free: 3.895 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001169/0.5931, allocations: 0.8117 MB / 0.7235 GB, free: 3.297 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001805/0.5933, allocations: 29.7 kB / 0.7235 GB, free: 3.262 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003238/0.5936, allocations: 0.5058 MB / 0.724 GB, free: 2.98 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000312/0.594, allocations: 321.8 kB / 0.7243 GB, free: 2.699 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.36e-05/0.594, allocations: 0 / 0.7243 GB, free: 2.699 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.5942, allocations: 343.5 kB / 0.7247 GB, free: 2.371 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006108/0.5948, allocations: 421.3 kB / 0.7251 GB, free: 2.152 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006841/0.5955, allocations: 0.5493 MB / 0.7256 GB, free: 1.77 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006746/0.5961, allocations: 473 kB / 0.7261 GB, free: 1.504 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.5962, allocations: 4 kB / 0.7261 GB, free: 1.5 MB / 458.7 MB Notification: Performance of matching and sorting (n=116) (initialization): time 0.01139/0.6076, allocations: 3.93 MB / 0.7299 GB, free: 14.09 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004536/0.608, allocations: 1.207 MB / 0.7311 GB, free: 12.81 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.6081, allocations: 4 kB / 0.7311 GB, free: 12.81 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004867/0.6129, allocations: 1.44 MB / 0.7325 GB, free: 11.56 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008761/0.6138, allocations: 174.2 kB / 0.7327 GB, free: 11.39 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01202/0.6259, allocations: 6.396 MB / 0.7389 GB, free: 6.016 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001449/0.6274, allocations: 171.3 kB / 0.7391 GB, free: 5.848 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.868e-05/0.6275, allocations: 35.98 kB / 0.7391 GB, free: 5.812 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.6275, allocations: 4 kB / 0.7391 GB, free: 5.809 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01115/0.6386, allocations: 3.786 MB / 0.7428 GB, free: 2.016 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.6387, allocations: 4 kB / 0.7428 GB, free: 2.012 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004734/0.6434, allocations: 1.441 MB / 0.7442 GB, free: 0.5664 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007681/0.6442, allocations: 155.8 kB / 0.7444 GB, free: 424 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01179/0.656, allocations: 6.408 MB / 0.7506 GB, free: 9.879 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001409/0.6574, allocations: 159.3 kB / 0.7508 GB, free: 9.723 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.481e-05/0.6575, allocations: 35.98 kB / 0.7508 GB, free: 9.688 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3.delta:VARIABLE(start = order3.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 (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.0003267/0.6579, allocations: 158.9 kB / 0.751 GB, free: 9.52 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002239/0.6581, allocations: 122.5 kB / 0.7511 GB, free: 9.398 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01091/0.669, allocations: 3.882 MB / 0.7549 GB, free: 5.492 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.6691, allocations: 12 kB / 0.7549 GB, free: 5.48 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.6691, allocations: 8 kB / 0.7549 GB, free: 5.473 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.613e-05/0.6691, allocations: 7.969 kB / 0.7549 GB, free: 5.465 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 postOpt removeSimpleEquations (simulation): time 0.01288/0.682, allocations: 5.412 MB / 0.7602 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.682, allocations: 8.031 kB / 0.7602 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006689/0.6827, allocations: 119.9 kB / 0.7603 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004649/0.6873, allocations: 1.394 MB / 0.7617 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001324/0.6875, allocations: 11.98 kB / 0.7617 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01083/0.6983, allocations: 5.625 MB / 0.7672 GB, free: 8.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.6984, allocations: 4 kB / 0.7672 GB, free: 8.676 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01234/0.7107, allocations: 4.604 MB / 0.7717 GB, free: 4.035 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004281/0.7112, allocations: 227.3 kB / 0.7719 GB, free: 3.793 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001775/0.7114, allocations: 4 kB / 0.7719 GB, free: 3.789 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001133/0.7125, allocations: 124.1 kB / 0.772 GB, free: 3.668 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004709/0.713, allocations: 184.4 kB / 0.7722 GB, free: 3.488 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.14e-05/0.7131, allocations: 31.94 kB / 0.7722 GB, free: 3.457 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0009018/0.714, allocations: 0.6177 MB / 0.7728 GB, free: 2.832 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.094e-06/0.714, allocations: 0 / 0.7728 GB, free: 2.832 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001836/0.7158, allocations: 0.6122 MB / 0.7734 GB, free: 2.219 MB / 0.4948 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 () * 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.0002646/0.7161, allocations: 129.4 kB / 0.7735 GB, free: 2.086 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008199/0.7243, allocations: 3.449 MB / 0.7769 GB, free: 14.57 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.7243, allocations: 0 / 0.7769 GB, free: 14.57 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003631/0.728, allocations: 1.41 MB / 0.7783 GB, free: 13.13 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000789/0.7288, allocations: 84.42 kB / 0.7784 GB, free: 13.05 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002895/0.7317, allocations: 1.661 MB / 0.78 GB, free: 11.35 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006598/0.7324, allocations: 1.154 MB / 0.7811 GB, free: 10.17 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0007786/0.7332, allocations: 197.7 kB / 0.7813 GB, free: 9.969 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001624/0.7333, allocations: 51.42 kB / 0.7814 GB, free: 9.922 MB / 0.5105 GB Notification: Performance of SimCode: time 6.62e-07/0.7333, allocations: 0 / 0.7814 GB, free: 9.922 MB / 0.5105 GB Notification: Performance of Templates: time 0.03754/0.7709, allocations: 25.58 MB / 0.8063 GB, free: 328 kB / 0.5261 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe 2>&1)