Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.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.ThreeArea.FourthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004745/0.004745, allocations: 170.8 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.237/1.237, allocations: 223.2 MB / 239 MB, free: 1.773 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.0008107/0.0008107, allocations: 88.25 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.4679/0.4679, allocations: 78.59 MB / 419.9 MB, free: 44.19 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003796/0.0003796, allocations: 12 kB / 499.8 MB, free: 2.938 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3797/0.3801, allocations: 69.34 MB / 0.5558 GB, free: 38.82 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1129/0.493, allocations: 98.67 MB / 0.6521 GB, free: 7.848 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001888/0.4932, allocations: 79.95 kB / 0.6522 GB, free: 7.77 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1539/0.6471, allocations: 61.03 MB / 0.7118 GB, free: 10.38 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.853e-06/0.6472, allocations: 0 / 0.7118 GB, free: 10.38 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.00024/0.6474, allocations: 52 kB / 0.7119 GB, free: 10.33 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 487 * Number of variables: 487 Notification: Performance of Generate backend data structure: time 0.01364/0.6611, allocations: 4.216 MB / 0.716 GB, free: 6.047 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.6611, allocations: 8.031 kB / 0.716 GB, free: 6.039 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01035/0.6715, allocations: 1.596 MB / 0.7175 GB, free: 4.438 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005442/0.677, allocations: 1.467 MB / 0.719 GB, free: 2.902 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008048/0.6778, allocations: 0.6864 MB / 0.7196 GB, free: 2.117 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001001/0.6789, allocations: 195.9 kB / 0.7198 GB, free: 1.926 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008375/0.6872, allocations: 3.066 MB / 0.7228 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.726e-05/0.6873, allocations: 11.98 kB / 0.7228 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005274/0.6879, allocations: 72 kB / 0.7229 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.342e-05/0.6879, allocations: 51.95 kB / 0.723 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006607/0.6945, allocations: 2.873 MB / 0.7258 GB, free: 11.83 MB / 0.5261 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.02075/0.7153, allocations: 9.588 MB / 0.7351 GB, free: 1.82 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01186/0.7272, allocations: 4.776 MB / 0.7398 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004951/0.7278, allocations: 45.95 kB / 0.7398 GB, free: 12.88 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.071e-05/0.7278, allocations: 60.5 kB / 0.7399 GB, free: 12.81 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=228): time 4.989e-06/0.7279, allocations: 0 / 0.7399 GB, free: 12.81 MB / 0.5417 GB Notification: Performance of matching and sorting (n=228): time 0.1048/0.8327, allocations: 28.57 MB / 0.7678 GB, free: 184 kB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.741e-05/0.8329, allocations: 124.8 kB / 0.7679 GB, free: 36 kB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2731/1.106, allocations: 1.643 MB / 0.7695 GB, free: 120.1 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0006415/1.107, allocations: 61.3 kB / 0.7696 GB, free: 120 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009838/1.108, allocations: 1.125 MB / 0.7707 GB, free: 119.9 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.00125/1.109, allocations: 0.7848 MB / 0.7714 GB, free: 119.5 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003997/1.109, allocations: 41.16 kB / 0.7715 GB, free: 119.5 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001979/1.11, allocations: 388.3 kB / 0.7719 GB, free: 119.2 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004357/1.114, allocations: 1.799 MB / 0.7736 GB, free: 119.2 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004476/1.118, allocations: 2.102 MB / 0.7757 GB, free: 119 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003726/1.122, allocations: 1.915 MB / 0.7775 GB, free: 118.9 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.655e-06/1.122, allocations: 0 / 0.7775 GB, free: 118.9 MB / 0.5573 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.03923/1.161, allocations: 14.11 MB / 0.7913 GB, free: 118.6 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006815/1.162, allocations: 2.729 MB / 0.794 GB, free: 115.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.198e-05/1.162, allocations: 11.14 kB / 0.794 GB, free: 115.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0204/1.183, allocations: 6.437 MB / 0.8003 GB, free: 115.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001785/1.184, allocations: 324 kB / 0.8006 GB, free: 115.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06178/1.246, allocations: 26.46 MB / 0.8264 GB, free: 110.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003847/1.25, allocations: 487.5 kB / 0.8269 GB, free: 110 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003408/1.25, allocations: 89.81 kB / 0.827 GB, free: 110 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/1.25, allocations: 2.938 kB / 0.827 GB, free: 110 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03776/1.288, allocations: 13.79 MB / 0.8404 GB, free: 107.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-05/1.288, allocations: 6.438 kB / 0.8404 GB, free: 107.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01781/1.306, allocations: 6.443 MB / 0.8467 GB, free: 106.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001611/1.308, allocations: 310.4 kB / 0.847 GB, free: 106.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05602/1.364, allocations: 26.44 MB / 0.8729 GB, free: 86.99 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003765/1.368, allocations: 466.1 kB / 0.8733 GB, free: 86.64 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004371/1.368, allocations: 75.94 kB / 0.8734 GB, free: 86.57 MB / 0.5573 GB Warning: Assuming fixed start value for the following 7 variables: Exc2.vref:VARIABLE(unit = "1" fixed = true protected = true ) type: Real Exc1.vref:VARIABLE(unit = "1" fixed = true protected = true ) type: Real order4_1.e1d:VARIABLE(start = order4_1.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real order4_1.e1q:VARIABLE(start = order4_1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order4_1.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_2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (186): * Single equations (assignments): 185 * Array equations: 0 * Algorithm blocks: 0 * 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 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.001375/1.369, allocations: 0.4916 MB / 0.8738 GB, free: 86.11 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006626/1.37, allocations: 276.6 kB / 0.8741 GB, free: 85.84 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03665/1.407, allocations: 14.27 MB / 0.8881 GB, free: 74.86 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.482e-05/1.407, allocations: 28 kB / 0.8881 GB, free: 74.83 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.383e-05/1.407, allocations: 16 kB / 0.8881 GB, free: 74.81 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.051e-05/1.407, allocations: 10.59 kB / 0.8881 GB, free: 74.81 MB / 0.5573 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.04142/1.448, allocations: 17.76 MB / 0.9054 GB, free: 61.15 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-05/1.448, allocations: 0 / 0.9054 GB, free: 61.15 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001533/1.45, allocations: 254.5 kB / 0.9057 GB, free: 60.93 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01675/1.467, allocations: 6.052 MB / 0.9116 GB, free: 56.23 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004919/1.467, allocations: 40 kB / 0.9116 GB, free: 56.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0475/1.515, allocations: 22.66 MB / 0.9338 GB, free: 33.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/1.515, allocations: 4 kB / 0.9338 GB, free: 33.9 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04268/1.558, allocations: 16.81 MB / 0.9502 GB, free: 17.03 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001258/1.559, allocations: 373.3 kB / 0.9505 GB, free: 16.64 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004989/1.559, allocations: 36 kB / 0.9506 GB, free: 16.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002564/1.562, allocations: 371.7 kB / 0.9509 GB, free: 16.24 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001808/1.564, allocations: 0.5449 MB / 0.9515 GB, free: 15.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001705/1.564, allocations: 56 kB / 0.9515 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001498/1.565, allocations: 1.271 MB / 0.9528 GB, free: 14.36 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.01e-07/1.565, allocations: 0 / 0.9528 GB, free: 14.36 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004168/1.57, allocations: 1.689 MB / 0.9544 GB, free: 12.67 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 15 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,Exc1.vm,Exc1.vr,Exc1.vf1,Exc2.vm,Exc2.vr,Exc2.vf1) * 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 (147): * Single equations (assignments): 146 * Array equations: 0 * Algorithm blocks: 0 * 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 {(64,8.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004194/1.57, allocations: 192.9 kB / 0.9546 GB, free: 12.49 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02761/1.598, allocations: 11.3 MB / 0.9656 GB, free: 1.18 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/1.598, allocations: 5.75 kB / 0.9656 GB, free: 1.176 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01258/1.61, allocations: 4.594 MB / 0.9701 GB, free: 12.57 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00183/1.612, allocations: 189.8 kB / 0.9703 GB, free: 12.39 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009677/1.622, allocations: 6.158 MB / 0.9763 GB, free: 6.176 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001352/1.623, allocations: 1.786 MB / 0.9781 GB, free: 4.359 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001276/1.625, allocations: 216.5 kB / 0.9783 GB, free: 4.152 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004927/1.625, allocations: 119.4 kB / 0.9784 GB, free: 4.039 MB / 0.573 GB Notification: Performance of SimCode: time 1.153e-06/1.625, allocations: 0 / 0.9784 GB, free: 4.039 MB / 0.573 GB Notification: Performance of Templates: time 0.3393/1.964, allocations: 70.84 MB / 1.048 GB, free: 124 MB / 0.573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe 2>&1)