Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.ThreeArea.FifthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.001342/0.001342, allocations: 176.2 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.272/1.272, allocations: 221.5 MB / 229.6 MB, free: 7.586 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.0008656/0.0008655, allocations: 91.55 kB / 280.5 MB, free: 5.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4525/0.4525, allocations: 78.06 MB / 409.3 MB, free: 6.359 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.289e-05/1.3e-05, allocations: 0 / 484.9 MB, free: 12.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1383, allocations: 69.36 MB / 0.5413 GB, free: 6.875 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3819/0.5203, allocations: 98.34 MB / 0.6373 GB, free: 1.289 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002269/0.5206, allocations: 75.95 kB / 0.6374 GB, free: 1.215 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.154/0.6746, allocations: 60.82 MB / 0.6968 GB, free: 4.246 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6747, allocations: 0 / 0.6968 GB, free: 4.246 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.000206/0.6749, allocations: 52 kB / 0.6968 GB, free: 4.195 MB / 0.4948 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.01205/0.6869, allocations: 3.761 MB / 0.7005 GB, free: 388 kB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.687, allocations: 12.03 kB / 0.7005 GB, free: 376 kB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009897/0.6969, allocations: 1.573 MB / 0.7021 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003714/0.7006, allocations: 1.48 MB / 0.7035 GB, free: 13.24 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006886/0.7013, allocations: 0.6083 MB / 0.7041 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007151/0.7021, allocations: 116 kB / 0.7042 GB, free: 12.42 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004556/0.7066, allocations: 2.085 MB / 0.7062 GB, free: 10.34 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004772/0.7114, allocations: 2.157 MB / 0.7084 GB, free: 8.16 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.625e-05/0.7115, allocations: 0 / 0.7084 GB, free: 8.16 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002583/0.7117, allocations: 0 / 0.7084 GB, free: 8.16 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.435e-05/0.7118, allocations: 51.95 kB / 0.7084 GB, free: 8.109 MB / 0.5105 GB 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.01902/0.7308, allocations: 9.354 MB / 0.7175 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009585/0.7404, allocations: 3.966 MB / 0.7214 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002651/0.7431, allocations: 1.382 MB / 0.7228 GB, free: 8.891 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004392/0.7436, allocations: 41.88 kB / 0.7228 GB, free: 8.852 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.64e-05/0.7437, allocations: 56.52 kB / 0.7229 GB, free: 8.789 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=229): time 5.17e-06/0.7437, allocations: 0 / 0.7229 GB, free: 8.789 MB / 0.5261 GB Notification: Performance of matching and sorting (n=229): time 0.0376/0.7813, allocations: 11.93 MB / 0.7345 GB, free: 12.83 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/0.7814, allocations: 128.8 kB / 0.7346 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003193/0.7846, allocations: 1.519 MB / 0.7361 GB, free: 11.14 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0005716/0.7852, allocations: 31.39 kB / 0.7361 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009369/0.7862, allocations: 1.136 MB / 0.7372 GB, free: 9.961 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001245/0.7874, allocations: 0.758 MB / 0.738 GB, free: 9.191 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001792/0.7876, allocations: 4 kB / 0.738 GB, free: 9.188 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002048/0.7878, allocations: 386.3 kB / 0.7384 GB, free: 8.805 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001859/0.7897, allocations: 1.125 MB / 0.7395 GB, free: 7.676 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001977/0.7917, allocations: 1.404 MB / 0.7408 GB, free: 6.172 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001951/0.7937, allocations: 1.235 MB / 0.742 GB, free: 4.938 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.7937, allocations: 0 / 0.742 GB, free: 4.938 MB / 0.5417 GB Notification: Performance of matching and sorting (n=278) (initialization): time 0.03643/0.8301, allocations: 12.04 MB / 0.7538 GB, free: 8.871 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001052/0.8312, allocations: 2.729 MB / 0.7565 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.409e-05/0.8312, allocations: 11.94 kB / 0.7565 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01639/0.8476, allocations: 4.973 MB / 0.7613 GB, free: 0.9336 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001879/0.8495, allocations: 335.5 kB / 0.7616 GB, free: 0.6055 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3347/1.184, allocations: 17.53 MB / 0.7788 GB, free: 114.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003645/1.188, allocations: 442.9 kB / 0.7792 GB, free: 114.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003301/1.188, allocations: 79.67 kB / 0.7793 GB, free: 114.2 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/1.188, allocations: 3.031 kB / 0.7793 GB, free: 114.2 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03418/1.223, allocations: 11.72 MB / 0.7907 GB, free: 114.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.324e-05/1.223, allocations: 6.625 kB / 0.7907 GB, free: 114.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01638/1.239, allocations: 4.972 MB / 0.7956 GB, free: 114 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001846/1.241, allocations: 320.8 kB / 0.7959 GB, free: 114 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04082/1.282, allocations: 17.55 MB / 0.813 GB, free: 109.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003841/1.286, allocations: 424 kB / 0.8134 GB, free: 109.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000434/1.286, allocations: 77.11 kB / 0.8135 GB, free: 109.4 MB / 0.5573 GB Warning: Assuming fixed start value for the following 7 variables: Exc2.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Exc1.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Syn2.e2q:VARIABLE(start = Syn2.e2q0 unit = "1" ) "q-axis sub-transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(start = 1.0 ) "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 () * 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.0007573/1.287, allocations: 153 kB / 0.8136 GB, free: 109.3 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007023/1.288, allocations: 271.6 kB / 0.8139 GB, free: 109.2 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03395/1.321, allocations: 12.2 MB / 0.8258 GB, free: 106.9 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-05/1.322, allocations: 21.69 kB / 0.8258 GB, free: 106.9 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.339e-05/1.322, allocations: 20.25 kB / 0.8259 GB, free: 106.9 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.336e-05/1.322, allocations: 15.47 kB / 0.8259 GB, free: 106.9 MB / 0.5573 GB 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.03778/1.359, allocations: 15.51 MB / 0.841 GB, free: 102.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-05/1.36, allocations: 3.844 kB / 0.841 GB, free: 102.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001555/1.361, allocations: 248.9 kB / 0.8413 GB, free: 102.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01333/1.374, allocations: 4.771 MB / 0.8459 GB, free: 101.9 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005633/1.375, allocations: 12.33 kB / 0.8459 GB, free: 101.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02979/1.405, allocations: 15.17 MB / 0.8607 GB, free: 93.93 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/1.405, allocations: 1.375 kB / 0.8608 GB, free: 93.93 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03594/1.441, allocations: 14.11 MB / 0.8745 GB, free: 82.44 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008362/1.442, allocations: 378 kB / 0.8749 GB, free: 82.11 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004395/1.442, allocations: 7.797 kB / 0.8749 GB, free: 82.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002603/1.445, allocations: 323.5 kB / 0.8752 GB, free: 81.86 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001625/1.446, allocations: 0.5492 MB / 0.8757 GB, free: 81.56 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001666/1.447, allocations: 60 kB / 0.8758 GB, free: 81.5 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001367/1.448, allocations: 1.138 MB / 0.8769 GB, free: 80.45 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.5e-07/1.448, allocations: 0 / 0.8769 GB, free: 80.45 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004242/1.452, allocations: 1.547 MB / 0.8784 GB, free: 78.98 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 () * 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.0003481/1.453, allocations: 148.4 kB / 0.8786 GB, free: 78.84 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02308/1.476, allocations: 9.126 MB / 0.8875 GB, free: 70.7 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/1.476, allocations: 7.672 kB / 0.8875 GB, free: 70.7 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.009896/1.486, allocations: 3.793 MB / 0.8912 GB, free: 67.37 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001387/1.487, allocations: 157.9 kB / 0.8913 GB, free: 67.22 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00638/1.493, allocations: 3.971 MB / 0.8952 GB, free: 63.64 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008846/1.494, allocations: 1.799 MB / 0.897 GB, free: 62.23 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001493/1.496, allocations: 354.2 kB / 0.8973 GB, free: 62 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003797/1.496, allocations: 102.2 kB / 0.8974 GB, free: 61.91 MB / 0.5573 GB Notification: Performance of SimCode: time 4.31e-07/1.496, allocations: 4 kB / 0.8974 GB, free: 61.9 MB / 0.5573 GB Notification: Performance of Templates: time 0.08249/1.579, allocations: 69.65 MB / 0.9654 GB, free: 136 kB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe 2>&1)