Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.TwoAreaOld.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.003827/0.003827, allocations: 171.9 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.172/1.172, allocations: 223.2 MB / 239 MB, free: 1.793 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.0008633/0.0008633, allocations: 97.7 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.387/0.387, allocations: 78.51 MB / 419.8 MB, free: 44.08 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003114/0.0003114, allocations: 8 kB / 499.7 MB, free: 2.797 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.292, allocations: 69.35 MB / 0.5557 GB, free: 38.76 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1049/0.3969, allocations: 98.47 MB / 0.6519 GB, free: 7.949 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002117/0.3972, allocations: 79.97 kB / 0.652 GB, free: 7.871 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08521/0.4824, allocations: 35.21 MB / 0.6863 GB, free: 4.453 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4824, allocations: 0 / 0.6863 GB, free: 4.453 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.232e-05/0.4825, allocations: 31.88 kB / 0.6864 GB, free: 4.422 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.004448/0.487, allocations: 1.967 MB / 0.6883 GB, free: 2.387 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.487, allocations: 12.03 kB / 0.6883 GB, free: 2.375 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003097/0.4901, allocations: 0.5642 MB / 0.6889 GB, free: 1.809 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001292/0.4914, allocations: 0.8188 MB / 0.6897 GB, free: 0.9375 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002067/0.4916, allocations: 234.5 kB / 0.6899 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/0.4918, allocations: 76 kB / 0.6899 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001922/0.4937, allocations: 1.146 MB / 0.6911 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.4937, allocations: 0 / 0.6911 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.743e-05/0.4938, allocations: 32 kB / 0.6911 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.471e-05/0.4938, allocations: 20 kB / 0.6911 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00185/0.4957, allocations: 1.066 MB / 0.6922 GB, free: 14.32 MB / 0.4948 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 preOpt removeSimpleEquations (simulation): time 0.005583/0.5013, allocations: 3.843 MB / 0.6959 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007197/0.5085, allocations: 2.883 MB / 0.6987 GB, free: 7.309 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.751e-05/0.5086, allocations: 16.97 kB / 0.6987 GB, free: 7.293 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.5086, allocations: 43.56 kB / 0.6988 GB, free: 7.242 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=93): time 1.954e-06/0.5086, allocations: 0 / 0.6988 GB, free: 7.242 MB / 0.4948 GB Notification: Performance of matching and sorting (n=93): time 0.02605/0.5347, allocations: 8.003 MB / 0.7066 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.725e-05/0.5348, allocations: 149.5 kB / 0.7067 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001549/0.5364, allocations: 0.9051 MB / 0.7076 GB, free: 14.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001187/0.5365, allocations: 41.7 kB / 0.7077 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003453/0.5368, allocations: 0.5051 MB / 0.7082 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003156/0.5372, allocations: 335.1 kB / 0.7085 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.844e-05/0.5372, allocations: 16 kB / 0.7085 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.5374, allocations: 341.9 kB / 0.7088 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001484/0.5388, allocations: 0.6383 MB / 0.7094 GB, free: 12.22 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001589/0.5404, allocations: 0.776 MB / 0.7102 GB, free: 11.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001653/0.5421, allocations: 0.7433 MB / 0.7109 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.043e-05/0.5421, allocations: 4 kB / 0.7109 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.0135/0.5556, allocations: 4.66 MB / 0.7155 GB, free: 5.953 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003761/0.556, allocations: 1.214 MB / 0.7167 GB, free: 4.648 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.556, allocations: 0 / 0.7167 GB, free: 4.648 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005699/0.5617, allocations: 1.863 MB / 0.7185 GB, free: 2.781 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007606/0.5625, allocations: 163.8 kB / 0.7186 GB, free: 2.621 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01905/0.5816, allocations: 9.189 MB / 0.7276 GB, free: 9.293 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001437/0.583, allocations: 187.1 kB / 0.7278 GB, free: 9.109 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001199/0.5832, allocations: 43.92 kB / 0.7278 GB, free: 9.066 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/0.5832, allocations: 4 kB / 0.7278 GB, free: 9.062 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01256/0.5958, allocations: 4.504 MB / 0.7322 GB, free: 4.539 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.5958, allocations: 11.92 kB / 0.7323 GB, free: 4.527 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005787/0.6016, allocations: 1.86 MB / 0.7341 GB, free: 2.664 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007719/0.6024, allocations: 155.8 kB / 0.7342 GB, free: 2.512 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01906/0.6214, allocations: 9.176 MB / 0.7432 GB, free: 9.191 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001393/0.6228, allocations: 183.1 kB / 0.7434 GB, free: 9.012 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001092/0.623, allocations: 35.98 kB / 0.7434 GB, free: 8.977 MB / 0.5417 GB Warning: Assuming fixed start value for the following 4 variables: order4.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order4.delta:VARIABLE(start = order4.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 (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.0006392/0.6236, allocations: 363.1 kB / 0.7437 GB, free: 8.609 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003292/0.6239, allocations: 130.4 kB / 0.7439 GB, free: 8.48 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01245/0.6364, allocations: 4.614 MB / 0.7484 GB, free: 3.844 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.836e-06/0.6364, allocations: 11.94 kB / 0.7484 GB, free: 3.832 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/0.6364, allocations: 8 kB / 0.7484 GB, free: 3.824 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.485e-05/0.6365, allocations: 7.969 kB / 0.7484 GB, free: 3.816 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.01408/0.6506, allocations: 6.221 MB / 0.7545 GB, free: 13.48 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.6506, allocations: 0 / 0.7545 GB, free: 13.48 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006176/0.6512, allocations: 115.8 kB / 0.7546 GB, free: 13.37 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005133/0.6563, allocations: 1.79 MB / 0.7563 GB, free: 11.58 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001144/0.6565, allocations: 23.98 kB / 0.7563 GB, free: 11.55 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01617/0.6726, allocations: 8.008 MB / 0.7642 GB, free: 3.406 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/0.6727, allocations: 7.953 kB / 0.7642 GB, free: 3.398 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.241/0.9137, allocations: 5.526 MB / 0.7696 GB, free: 144.4 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004835/0.9142, allocations: 225.7 kB / 0.7698 GB, free: 144.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001599/0.9144, allocations: 21.33 kB / 0.7698 GB, free: 144.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001139/0.9155, allocations: 139.8 kB / 0.7699 GB, free: 144.3 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005549/0.9161, allocations: 179.8 kB / 0.7701 GB, free: 144.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.509e-05/0.9162, allocations: 26.7 kB / 0.7701 GB, free: 144.3 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001098/0.9173, allocations: 0.7169 MB / 0.7708 GB, free: 144.2 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.21e-07/0.9173, allocations: 1.188 kB / 0.7708 GB, free: 144.2 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001787/0.9191, allocations: 0.664 MB / 0.7715 GB, free: 144.2 MB / 0.5573 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 () * Number of clocked 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 {(19,24.4%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002576/0.9193, allocations: 153.2 kB / 0.7716 GB, free: 144.1 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.009634/0.929, allocations: 4.242 MB / 0.7758 GB, free: 143.5 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.929, allocations: 3.391 kB / 0.7758 GB, free: 143.5 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.003593/0.9326, allocations: 1.657 MB / 0.7774 GB, free: 143.3 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006328/0.9332, allocations: 104.4 kB / 0.7775 GB, free: 143.3 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00321/0.9365, allocations: 2.681 MB / 0.7801 GB, free: 142.1 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004477/0.9369, allocations: 1.159 MB / 0.7812 GB, free: 141.4 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004331/0.9374, allocations: 124.5 kB / 0.7814 GB, free: 141.4 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002049/0.9376, allocations: 63.59 kB / 0.7814 GB, free: 141.4 MB / 0.5573 GB Notification: Performance of SimCode: time 8.02e-07/0.9376, allocations: 0 / 0.7814 GB, free: 141.4 MB / 0.5573 GB Notification: Performance of Templates: time 0.03527/0.9729, allocations: 25.71 MB / 0.8065 GB, free: 140.2 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe 2>&1)