Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_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.FifthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0056/0.0056, allocations: 169.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.249/1.249, allocations: 223.2 MB / 239 MB, free: 1.777 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.0008415/0.0008415, allocations: 94.47 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4265/0.4265, allocations: 78.59 MB / 419.9 MB, free: 44.21 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003603/0.0003603, allocations: 16 kB / 499.8 MB, free: 2.934 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3731/0.3734, allocations: 69.33 MB / 0.5558 GB, free: 38.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1204/0.4939, allocations: 99.08 MB / 0.6525 GB, free: 7.434 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002222/0.4941, allocations: 83.95 kB / 0.6526 GB, free: 7.352 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1542/0.6483, allocations: 61.84 MB / 0.713 GB, free: 9.148 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.635e-06/0.6484, allocations: 0 / 0.713 GB, free: 9.148 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002359/0.6486, allocations: 52 kB / 0.713 GB, free: 9.098 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: 488 * Number of variables: 488 Notification: Performance of Generate backend data structure: time 0.01362/0.6623, allocations: 4.275 MB / 0.7172 GB, free: 4.758 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.6623, allocations: 8.031 kB / 0.7172 GB, free: 4.75 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009916/0.6723, allocations: 1.592 MB / 0.7188 GB, free: 3.152 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003888/0.6762, allocations: 1.499 MB / 0.7202 GB, free: 1.586 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006978/0.6769, allocations: 0.6787 MB / 0.7209 GB, free: 0.8086 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007868/0.6777, allocations: 195.9 kB / 0.7211 GB, free: 0.6172 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007432/0.6851, allocations: 3.086 MB / 0.7241 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.618e-05/0.6852, allocations: 0 / 0.7241 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003483/0.6856, allocations: 76 kB / 0.7242 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.279e-05/0.6856, allocations: 47.95 kB / 0.7242 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006024/0.6916, allocations: 2.881 MB / 0.727 GB, free: 10.5 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.01766/0.7093, allocations: 9.663 MB / 0.7365 GB, free: 432 kB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01132/0.7207, allocations: 4.792 MB / 0.7412 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002778/0.721, allocations: 41.88 kB / 0.7412 GB, free: 11.47 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.994e-05/0.721, allocations: 56.56 kB / 0.7413 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=229): time 4.468e-06/0.721, allocations: 0 / 0.7413 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of matching and sorting (n=229): time 0.3533/1.074, allocations: 28.71 MB / 0.7693 GB, free: 118.8 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.919e-05/1.074, allocations: 127.2 kB / 0.7694 GB, free: 118.7 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003618/1.078, allocations: 1.683 MB / 0.771 GB, free: 118.5 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0007677/1.079, allocations: 68.83 kB / 0.7711 GB, free: 118.4 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001085/1.08, allocations: 1.133 MB / 0.7722 GB, free: 118.3 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000973/1.081, allocations: 0.7851 MB / 0.773 GB, free: 117.9 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001836/1.081, allocations: 42.84 kB / 0.773 GB, free: 117.9 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001377/1.081, allocations: 392.9 kB / 0.7734 GB, free: 117.6 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003927/1.085, allocations: 1.808 MB / 0.7752 GB, free: 117.6 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004077/1.089, allocations: 2.118 MB / 0.7772 GB, free: 117.4 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003604/1.093, allocations: 1.921 MB / 0.7791 GB, free: 117.3 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.025e-05/1.093, allocations: 0 / 0.7791 GB, free: 117.3 MB / 0.5573 GB Notification: Performance of matching and sorting (n=278) (initialization): time 0.03926/1.132, allocations: 14.14 MB / 0.7929 GB, free: 117 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005092/1.133, allocations: 2.737 MB / 0.7956 GB, free: 114.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.786e-05/1.133, allocations: 13.58 kB / 0.7956 GB, free: 114.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02015/1.153, allocations: 6.42 MB / 0.8019 GB, free: 113.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002142/1.155, allocations: 341.8 kB / 0.8022 GB, free: 113.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06249/1.218, allocations: 26.44 MB / 0.828 GB, free: 108.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003804/1.221, allocations: 497.8 kB / 0.8285 GB, free: 108.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003924/1.222, allocations: 74.92 kB / 0.8286 GB, free: 108.2 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/1.222, allocations: 3.219 kB / 0.8286 GB, free: 108.2 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03762/1.26, allocations: 13.81 MB / 0.8421 GB, free: 105.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-05/1.26, allocations: 9.688 kB / 0.8421 GB, free: 105.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01776/1.277, allocations: 6.433 MB / 0.8484 GB, free: 104.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001772/1.279, allocations: 321.4 kB / 0.8487 GB, free: 104.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05575/1.335, allocations: 26.44 MB / 0.8745 GB, free: 85.56 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003577/1.339, allocations: 472.8 kB / 0.8749 GB, free: 85.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003785/1.339, allocations: 83.06 kB / 0.875 GB, free: 85.12 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 Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real Syn2.e2q:VARIABLE(start = Syn2.e2q0 unit = "1" fixed = true ) "q-axis sub-transient voltage" type: Real Syn2.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 (188): * Single equations (assignments): 187 * 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.34, allocations: 497.5 kB / 0.8755 GB, free: 84.66 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006259/1.341, allocations: 272.6 kB / 0.8757 GB, free: 84.39 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03683/1.378, allocations: 14.31 MB / 0.8897 GB, free: 73.38 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.849e-05/1.378, allocations: 20 kB / 0.8897 GB, free: 73.36 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.287e-05/1.378, allocations: 20 kB / 0.8898 GB, free: 73.34 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.844e-05/1.378, allocations: 10.92 kB / 0.8898 GB, free: 73.34 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.04058/1.419, allocations: 17.82 MB / 0.9072 GB, free: 59.64 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.67e-05/1.419, allocations: 0 / 0.9072 GB, free: 59.64 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001625/1.42, allocations: 254.4 kB / 0.9074 GB, free: 59.43 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01592/1.436, allocations: 6.019 MB / 0.9133 GB, free: 54.69 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006094/1.437, allocations: 44 kB / 0.9133 GB, free: 54.64 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04661/1.483, allocations: 22.67 MB / 0.9355 GB, free: 31.84 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/1.484, allocations: 7.953 kB / 0.9355 GB, free: 31.83 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04258/1.526, allocations: 16.83 MB / 0.9519 GB, free: 14.94 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009718/1.527, allocations: 393.1 kB / 0.9523 GB, free: 14.53 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005774/1.528, allocations: 36 kB / 0.9523 GB, free: 14.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002611/1.53, allocations: 367.7 kB / 0.9527 GB, free: 14.14 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001796/1.532, allocations: 0.5488 MB / 0.9532 GB, free: 13.59 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001841/1.532, allocations: 55.98 kB / 0.9533 GB, free: 13.53 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001635/1.534, allocations: 1.299 MB / 0.9545 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2e-07/1.534, allocations: 0 / 0.9545 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004547/1.539, allocations: 1.698 MB / 0.9562 GB, free: 10.53 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e2q,Syn2.e2d,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 (148): * Single equations (assignments): 147 * 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 {(63,8.1%) 25} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004176/1.539, allocations: 192.5 kB / 0.9564 GB, free: 10.34 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0287/1.568, allocations: 11.34 MB / 0.9674 GB, free: 15 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.385e-06/1.568, allocations: 0 / 0.9674 GB, free: 15 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01347/1.581, allocations: 4.592 MB / 0.9719 GB, free: 10.4 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001745/1.583, allocations: 203.5 kB / 0.9721 GB, free: 10.2 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01049/1.594, allocations: 6.263 MB / 0.9782 GB, free: 3.895 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001472/1.595, allocations: 1.794 MB / 0.98 GB, free: 2.07 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001265/1.596, allocations: 216 kB / 0.9802 GB, free: 1.863 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005097/1.597, allocations: 123.4 kB / 0.9803 GB, free: 1.746 MB / 0.573 GB Notification: Performance of SimCode: time 1.573e-06/1.597, allocations: 0 / 0.9803 GB, free: 1.746 MB / 0.573 GB Notification: Performance of Templates: time 0.3115/1.908, allocations: 71.3 MB / 1.05 GB, free: 122 MB / 0.573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe 2>&1)