Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.004434/0.004434, 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.162/1.162, allocations: 223.2 MB / 239 MB, free: 1.762 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.0008818/0.0008817, allocations: 94.2 kB / 290.2 MB, free: 13.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3984/0.3984, allocations: 79.44 MB / 420.8 MB, free: 43.7 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003184/0.0003184, allocations: 8 kB / 0.489 GB, free: 2.023 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3187, allocations: 69.5 MB / 0.5569 GB, free: 38.76 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1132/0.4319, allocations: 98.77 MB / 0.6534 GB, free: 6.781 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001732/0.4321, allocations: 79.95 kB / 0.6534 GB, free: 6.703 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07234/0.5045, allocations: 30.26 MB / 0.683 GB, free: 8.297 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.5045, allocations: 0 / 0.683 GB, free: 8.297 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.169e-05/0.5046, allocations: 23.94 kB / 0.683 GB, free: 8.273 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.004299/0.5089, allocations: 1.982 MB / 0.685 GB, free: 6.223 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.5089, allocations: 12.02 kB / 0.685 GB, free: 6.211 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003108/0.5121, allocations: 0.5642 MB / 0.6855 GB, free: 5.645 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001218/0.5133, allocations: 0.7995 MB / 0.6863 GB, free: 4.793 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002084/0.5135, allocations: 234.5 kB / 0.6865 GB, free: 4.531 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001285/0.5136, allocations: 72 kB / 0.6866 GB, free: 4.461 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001908/0.5156, allocations: 1.142 MB / 0.6877 GB, free: 3.305 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.5156, allocations: 4 kB / 0.6877 GB, free: 3.301 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.397e-05/0.5157, allocations: 28 kB / 0.6877 GB, free: 3.273 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.626e-05/0.5157, allocations: 20 kB / 0.6878 GB, free: 3.254 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001889/0.5176, allocations: 1.066 MB / 0.6888 GB, free: 2.184 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.005619/0.5232, allocations: 3.843 MB / 0.6925 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007298/0.5305, allocations: 2.864 MB / 0.6953 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.398e-05/0.5306, allocations: 16.98 kB / 0.6954 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.5307, allocations: 51.56 kB / 0.6954 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=92): time 3.646e-06/0.5307, allocations: 3.984 kB / 0.6954 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=92): time 0.0263/0.557, allocations: 8.022 MB / 0.7032 GB, free: 3.043 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.395e-05/0.5571, allocations: 141.5 kB / 0.7034 GB, free: 2.875 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00147/0.5586, allocations: 0.9249 MB / 0.7043 GB, free: 1.938 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001207/0.5587, allocations: 41.7 kB / 0.7043 GB, free: 1.891 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003392/0.559, allocations: 0.509 MB / 0.7048 GB, free: 1.375 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002955/0.5593, allocations: 327.2 kB / 0.7051 GB, free: 1.051 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-05/0.5594, allocations: 19.94 kB / 0.7052 GB, free: 1.031 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.5595, allocations: 341.9 kB / 0.7055 GB, free: 0.6914 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001206/0.5607, allocations: 0.6383 MB / 0.7061 GB, free: 56 kB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001291/0.562, allocations: 0.772 MB / 0.7069 GB, free: 15.24 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001275/0.5633, allocations: 0.7354 MB / 0.7076 GB, free: 14.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/0.5633, allocations: 3.953 kB / 0.7076 GB, free: 14.49 MB / 0.5105 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.01249/0.5758, allocations: 4.672 MB / 0.7121 GB, free: 9.789 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003637/0.5762, allocations: 1.202 MB / 0.7133 GB, free: 8.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.5762, allocations: 4 kB / 0.7133 GB, free: 8.496 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005675/0.5819, allocations: 1.847 MB / 0.7151 GB, free: 6.645 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008119/0.5827, allocations: 163.8 kB / 0.7153 GB, free: 6.484 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02006/0.6028, allocations: 9.245 MB / 0.7243 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001831/0.6047, allocations: 195.2 kB / 0.7245 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/0.6048, allocations: 28 kB / 0.7245 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.6048, allocations: 5.875 kB / 0.7245 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01266/0.6175, allocations: 4.515 MB / 0.7289 GB, free: 8.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.6175, allocations: 4 kB / 0.7289 GB, free: 8.336 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005549/0.6231, allocations: 1.844 MB / 0.7307 GB, free: 6.488 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008184/0.6239, allocations: 167.7 kB / 0.7309 GB, free: 6.324 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01897/0.6429, allocations: 9.238 MB / 0.7399 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00166/0.6446, allocations: 183.3 kB / 0.7401 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-05/0.6447, allocations: 31.98 kB / 0.7401 GB, free: 12.74 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.0007425/0.6454, allocations: 355.6 kB / 0.7405 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002126/0.6456, allocations: 122.5 kB / 0.7406 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01206/0.6577, allocations: 4.622 MB / 0.7451 GB, free: 7.605 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.217e-05/0.6577, allocations: 8 kB / 0.7451 GB, free: 7.598 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.6577, allocations: 8 kB / 0.7451 GB, free: 7.59 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.6577, allocations: 3.984 kB / 0.7451 GB, free: 7.586 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.01372/0.6715, allocations: 6.225 MB / 0.7512 GB, free: 1.254 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.6715, allocations: 32 / 0.7512 GB, free: 1.254 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005913/0.6721, allocations: 119.8 kB / 0.7513 GB, free: 1.137 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004987/0.6771, allocations: 1.797 MB / 0.7531 GB, free: 15.34 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001034/0.6772, allocations: 19.95 kB / 0.7531 GB, free: 15.32 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01575/0.693, allocations: 8.015 MB / 0.7609 GB, free: 7.152 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.693, allocations: 3.984 kB / 0.7609 GB, free: 7.148 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01372/0.7067, allocations: 5.532 MB / 0.7663 GB, free: 1.582 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003791/0.7071, allocations: 223.4 kB / 0.7665 GB, free: 1.344 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001466/0.7073, allocations: 23.89 kB / 0.7665 GB, free: 1.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00108/0.7084, allocations: 139.9 kB / 0.7667 GB, free: 1.184 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004304/0.7088, allocations: 180.7 kB / 0.7669 GB, free: 1.008 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.779e-05/0.7089, allocations: 20 kB / 0.7669 GB, free: 0.9883 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0009967/0.7099, allocations: 0.7274 MB / 0.7676 GB, free: 260 kB / 0.5573 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7099, allocations: 0 / 0.7676 GB, free: 260 kB / 0.5573 GB Notification: Performance of remove unused functions: time 0.2048/0.9147, allocations: 0.6582 MB / 0.7682 GB, free: 146.4 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.0002771/0.915, allocations: 149 kB / 0.7684 GB, free: 146.3 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.009304/0.9244, allocations: 4.176 MB / 0.7724 GB, free: 145.7 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.9244, allocations: 0 / 0.7724 GB, free: 145.7 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.003904/0.9283, allocations: 1.67 MB / 0.7741 GB, free: 145.5 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005593/0.9288, allocations: 116.5 kB / 0.7742 GB, free: 145.5 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002938/0.9318, allocations: 2.611 MB / 0.7767 GB, free: 144.4 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004056/0.9322, allocations: 1.157 MB / 0.7779 GB, free: 143.6 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004183/0.9326, allocations: 112.4 kB / 0.778 GB, free: 143.6 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001987/0.9328, allocations: 67 kB / 0.778 GB, free: 143.6 MB / 0.5573 GB Notification: Performance of SimCode: time 3.51e-07/0.9329, allocations: 0 / 0.778 GB, free: 143.6 MB / 0.5573 GB Notification: Performance of Templates: time 0.03145/0.9643, allocations: 25.86 MB / 0.8033 GB, free: 142.4 MB / 0.5573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe 2>&1)