Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_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.SixthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001386/0.001386, 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.316/1.316, allocations: 221.5 MB / 229.6 MB, free: 7.52 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.0009693/0.0009692, allocations: 98.91 kB / 280.5 MB, free: 5.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4338/0.4338, allocations: 78.05 MB / 409.3 MB, free: 6.312 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.432e-05/1.435e-05, allocations: 0 / 484.9 MB, free: 12.23 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1273, allocations: 69.36 MB / 0.5413 GB, free: 6.812 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.339/0.4664, allocations: 98.56 MB / 0.6375 GB, free: 0.9609 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002056/0.4666, allocations: 83.95 kB / 0.6376 GB, free: 0.8789 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1572/0.6239, allocations: 61.23 MB / 0.6974 GB, free: 3.539 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.983e-06/0.6239, allocations: 0 / 0.6974 GB, free: 3.539 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002193/0.6242, allocations: 52 kB / 0.6975 GB, free: 3.488 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: 489 * Number of variables: 489 Notification: Performance of Generate backend data structure: time 0.01218/0.6364, allocations: 3.782 MB / 0.7012 GB, free: 15.65 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/0.6364, allocations: 12.03 kB / 0.7012 GB, free: 15.64 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009747/0.6462, allocations: 1.573 MB / 0.7027 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003306/0.6495, allocations: 1.491 MB / 0.7042 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006679/0.6502, allocations: 0.6083 MB / 0.7048 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006091/0.6508, allocations: 115.9 kB / 0.7049 GB, free: 11.68 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004097/0.6549, allocations: 2.097 MB / 0.7069 GB, free: 9.586 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004074/0.659, allocations: 2.165 MB / 0.709 GB, free: 7.402 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.376e-05/0.6591, allocations: 7 kB / 0.709 GB, free: 7.398 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002181/0.6593, allocations: 0 / 0.709 GB, free: 7.398 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.754e-05/0.6593, allocations: 47.95 kB / 0.7091 GB, free: 7.352 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.01762/0.677, allocations: 9.398 MB / 0.7183 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009381/0.6864, allocations: 3.99 MB / 0.7222 GB, free: 9.445 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002292/0.6887, allocations: 1.382 MB / 0.7235 GB, free: 8.066 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003314/0.6891, allocations: 53.89 kB / 0.7236 GB, free: 8.012 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/0.6891, allocations: 56.56 kB / 0.7236 GB, free: 7.949 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=230): time 7.243e-06/0.6891, allocations: 0 / 0.7236 GB, free: 7.949 MB / 0.5261 GB Notification: Performance of matching and sorting (n=230): time 0.03743/0.7265, allocations: 11.94 MB / 0.7353 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.746e-05/0.7267, allocations: 124.8 kB / 0.7354 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00268/0.7294, allocations: 1.527 MB / 0.7369 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0005511/0.7299, allocations: 33.7 kB / 0.7369 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008788/0.7308, allocations: 1.136 MB / 0.738 GB, free: 9.105 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001174/0.732, allocations: 0.7657 MB / 0.7388 GB, free: 8.328 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003415/0.7324, allocations: 0 / 0.7388 GB, free: 8.328 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002048/0.7326, allocations: 395.6 kB / 0.7391 GB, free: 7.938 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002055/0.7346, allocations: 1.121 MB / 0.7402 GB, free: 6.812 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00225/0.7369, allocations: 1.42 MB / 0.7416 GB, free: 5.293 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002166/0.7391, allocations: 1.244 MB / 0.7428 GB, free: 4.047 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/0.7391, allocations: 4 kB / 0.7428 GB, free: 4.043 MB / 0.5417 GB Notification: Performance of matching and sorting (n=280) (initialization): time 0.03732/0.7764, allocations: 12.1 MB / 0.7547 GB, free: 7.91 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009886/0.7775, allocations: 2.738 MB / 0.7573 GB, free: 4.953 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.526e-05/0.7775, allocations: 8 kB / 0.7573 GB, free: 4.945 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.269/1.047, allocations: 5.049 MB / 0.7623 GB, free: 114.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001655/1.048, allocations: 311.5 kB / 0.7626 GB, free: 114.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03636/1.085, allocations: 18.89 MB / 0.781 GB, free: 111.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003309/1.088, allocations: 444.7 kB / 0.7814 GB, free: 111.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002261/1.088, allocations: 78.56 kB / 0.7815 GB, free: 111.7 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/1.088, allocations: 2.375 kB / 0.7815 GB, free: 111.7 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03433/1.123, allocations: 11.8 MB / 0.793 GB, free: 111.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.711e-05/1.123, allocations: 7.969 kB / 0.7931 GB, free: 111.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01669/1.139, allocations: 5.053 MB / 0.798 GB, free: 111.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001552/1.141, allocations: 302.5 kB / 0.7983 GB, free: 111.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03874/1.18, allocations: 18.89 MB / 0.8167 GB, free: 105.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003394/1.183, allocations: 423.1 kB / 0.8171 GB, free: 105.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003458/1.183, allocations: 80.05 kB / 0.8172 GB, free: 105.5 MB / 0.5573 GB Warning: Assuming fixed start value for the following 6 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.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.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 (189): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.0006494/1.184, allocations: 148.6 kB / 0.8173 GB, free: 105.4 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005608/1.185, allocations: 273.2 kB / 0.8176 GB, free: 105.3 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03313/1.218, allocations: 12.21 MB / 0.8295 GB, free: 103 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.197e-05/1.218, allocations: 21.97 kB / 0.8296 GB, free: 103 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-05/1.218, allocations: 21.16 kB / 0.8296 GB, free: 103 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.265e-05/1.218, allocations: 15.23 kB / 0.8296 GB, free: 103 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.03697/1.255, allocations: 15.56 MB / 0.8448 GB, free: 98.86 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.235e-05/1.255, allocations: 0 / 0.8448 GB, free: 98.86 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001457/1.256, allocations: 254.6 kB / 0.845 GB, free: 98.85 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01304/1.27, allocations: 4.829 MB / 0.8497 GB, free: 97.99 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003947/1.27, allocations: 12.88 kB / 0.8498 GB, free: 97.98 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02935/1.299, allocations: 15.16 MB / 0.8646 GB, free: 89.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/1.299, allocations: 4 kB / 0.8646 GB, free: 89.39 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03663/1.336, allocations: 14.14 MB / 0.8784 GB, free: 77.86 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007963/1.337, allocations: 383.3 kB / 0.8787 GB, free: 77.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008219/1.338, allocations: 4 kB / 0.8787 GB, free: 77.51 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003056/1.341, allocations: 331.9 kB / 0.8791 GB, free: 77.27 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00167/1.342, allocations: 0.5468 MB / 0.8796 GB, free: 76.96 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002379/1.343, allocations: 55.42 kB / 0.8796 GB, free: 76.91 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001465/1.344, allocations: 1.144 MB / 0.8808 GB, free: 75.85 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.7e-07/1.344, allocations: 4 kB / 0.8808 GB, free: 75.85 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004418/1.349, allocations: 1.561 MB / 0.8823 GB, free: 74.36 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,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 (149): * Single equations (assignments): 148 * 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 {(66,7.7%) 22} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003922/1.349, allocations: 154.6 kB / 0.8824 GB, free: 74.22 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02396/1.373, allocations: 9.412 MB / 0.8916 GB, free: 65.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/1.373, allocations: 0 / 0.8916 GB, free: 65.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01077/1.384, allocations: 3.84 MB / 0.8954 GB, free: 62.44 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001749/1.386, allocations: 155.9 kB / 0.8955 GB, free: 62.29 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007632/1.393, allocations: 4.063 MB / 0.8995 GB, free: 58.64 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001041/1.394, allocations: 1.804 MB / 0.9013 GB, free: 57.21 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001734/1.396, allocations: 354.4 kB / 0.9016 GB, free: 56.98 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000396/1.396, allocations: 107 kB / 0.9017 GB, free: 56.89 MB / 0.5573 GB Notification: Performance of SimCode: time 7.42e-07/1.396, allocations: 0 / 0.9017 GB, free: 56.89 MB / 0.5573 GB Notification: Performance of Templates: time 0.08451/1.481, allocations: 70.38 MB / 0.9704 GB, free: 10.53 MB / 0.573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe 2>&1)