Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009463/0.0009462, allocations: 168.8 kB / 7.645 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.414/1.414, allocations: 205.3 MB / 213.4 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008063/0.0008063, allocations: 94.69 kB / 261.4 MB, free: 1.684 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06846/0.06846, allocations: 12.6 MB / 321.9 MB, free: 15.2 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4291/0.4291, allocations: 78.05 MB / 450.8 MB, free: 8.914 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.44e-05/1.436e-05, allocations: 2.625 kB / 0.5147 GB, free: 41.77 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1044, allocations: 69.33 MB / 0.5824 GB, free: 328 kB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1167/0.2212, allocations: 100.1 MB / 0.6802 GB, free: 12.05 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002193/0.2214, allocations: 75.95 kB / 0.6803 GB, free: 11.97 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3964/0.6178, allocations: 59.46 MB / 0.7383 GB, free: 73.41 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.6179, allocations: 0 / 0.7383 GB, free: 73.41 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002478/0.6181, allocations: 51.94 kB / 0.7384 GB, free: 73.36 MB / 474.7 MB 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.01225/0.6304, allocations: 3.788 MB / 0.7421 GB, free: 69.51 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.6305, allocations: 8.031 kB / 0.7421 GB, free: 69.5 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009958/0.6404, allocations: 1.58 MB / 0.7436 GB, free: 67.92 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004038/0.6445, allocations: 1.495 MB / 0.7451 GB, free: 66.36 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006389/0.6452, allocations: 0.6084 MB / 0.7457 GB, free: 65.65 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008693/0.6461, allocations: 112 kB / 0.7458 GB, free: 65.54 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004999/0.6511, allocations: 2.093 MB / 0.7478 GB, free: 63.45 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004954/0.6561, allocations: 2.165 MB / 0.7499 GB, free: 61.26 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.703e-05/0.6562, allocations: 0 / 0.7499 GB, free: 61.26 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003486/0.6565, allocations: 3.953 kB / 0.75 GB, free: 61.26 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.667e-05/0.6566, allocations: 48 kB / 0.75 GB, free: 61.21 MB / 474.7 MB 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.01721/0.6738, allocations: 9.396 MB / 0.7592 GB, free: 51.41 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008533/0.6823, allocations: 3.994 MB / 0.7631 GB, free: 47.3 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002079/0.6844, allocations: 1.39 MB / 0.7644 GB, free: 45.92 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002865/0.6847, allocations: 41.95 kB / 0.7645 GB, free: 45.88 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.6848, allocations: 56.56 kB / 0.7645 GB, free: 45.81 MB / 474.7 MB Notification: Performance of pre-optimization done (n=230): time 4.127e-06/0.6848, allocations: 0 / 0.7645 GB, free: 45.81 MB / 474.7 MB Notification: Performance of matching and sorting (n=230): time 0.03347/0.7183, allocations: 11.94 MB / 0.7762 GB, free: 33.85 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.7183, allocations: 128.8 kB / 0.7763 GB, free: 33.7 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001984/0.7203, allocations: 1.539 MB / 0.7778 GB, free: 32.14 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004842/0.7208, allocations: 25.7 kB / 0.7778 GB, free: 32.11 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005258/0.7214, allocations: 1.132 MB / 0.7789 GB, free: 30.96 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006472/0.722, allocations: 0.7658 MB / 0.7797 GB, free: 30.19 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001771/0.7222, allocations: 3.938 kB / 0.7797 GB, free: 30.18 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.612e-05/0.7223, allocations: 386.3 kB / 0.7801 GB, free: 29.8 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001522/0.7238, allocations: 1.125 MB / 0.7812 GB, free: 28.67 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001616/0.7254, allocations: 1.432 MB / 0.7826 GB, free: 27.14 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001641/0.7271, allocations: 1.232 MB / 0.7838 GB, free: 25.91 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.7271, allocations: 4 kB / 0.7838 GB, free: 25.9 MB / 474.7 MB Notification: Performance of matching and sorting (n=280) (initialization): time 0.03442/0.7615, allocations: 12.12 MB / 0.7956 GB, free: 13.75 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004263/0.762, allocations: 2.732 MB / 0.7983 GB, free: 10.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.644e-05/0.762, allocations: 4 kB / 0.7983 GB, free: 10.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01543/0.7775, allocations: 5.052 MB / 0.8032 GB, free: 5.734 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002392/0.7799, allocations: 319.5 kB / 0.8035 GB, free: 5.422 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06702/0.8469, allocations: 18.9 MB / 0.822 GB, free: 2.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004106/0.8511, allocations: 449.8 kB / 0.8224 GB, free: 1.828 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004253/0.8516, allocations: 83.97 kB / 0.8225 GB, free: 1.746 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.8516, allocations: 4 kB / 0.8225 GB, free: 1.742 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03812/0.8897, allocations: 11.79 MB / 0.834 GB, free: 5.934 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.73e-05/0.8898, allocations: 8 kB / 0.834 GB, free: 5.926 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01661/0.9064, allocations: 5.06 MB / 0.8389 GB, free: 0.8555 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001611/0.9081, allocations: 303.6 kB / 0.8392 GB, free: 0.5586 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0408/0.9489, allocations: 18.88 MB / 0.8577 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003901/0.9528, allocations: 422 kB / 0.8581 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004127/0.9533, allocations: 75.98 kB / 0.8581 GB, free: 12.92 MB / 0.5261 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.0006843/0.954, allocations: 153.2 kB / 0.8583 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007032/0.9547, allocations: 272.6 kB / 0.8585 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03683/0.9915, allocations: 12.21 MB / 0.8705 GB, free: 276 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.181e-05/0.9916, allocations: 28 kB / 0.8705 GB, free: 248 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.89e-05/0.9916, allocations: 27.94 kB / 0.8705 GB, free: 220 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.874e-05/0.9917, allocations: 11.91 kB / 0.8705 GB, free: 208 kB / 0.5261 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.04421/1.036, allocations: 15.55 MB / 0.8857 GB, free: 0.5039 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.927e-05/1.036, allocations: 4 kB / 0.8857 GB, free: 0.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001662/1.038, allocations: 255.8 kB / 0.886 GB, free: 256 kB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01486/1.053, allocations: 4.832 MB / 0.8907 GB, free: 11.41 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005982/1.053, allocations: 12 kB / 0.8907 GB, free: 11.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3011/1.354, allocations: 15.15 MB / 0.9055 GB, free: 151.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.433e-06/1.354, allocations: 1.562 kB / 0.9055 GB, free: 151.4 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04102/1.395, allocations: 14.14 MB / 0.9193 GB, free: 151 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008943/1.396, allocations: 384.5 kB / 0.9197 GB, free: 150.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008335/1.397, allocations: 0.5625 kB / 0.9197 GB, free: 150.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003064/1.4, allocations: 329.8 kB / 0.92 GB, free: 150.7 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00167/1.402, allocations: 0.5535 MB / 0.9205 GB, free: 150.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001923/1.402, allocations: 58.5 kB / 0.9206 GB, free: 150.7 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00145/1.404, allocations: 1.153 MB / 0.9217 GB, free: 150.6 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.41e-07/1.404, allocations: 0 / 0.9217 GB, free: 150.6 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004158/1.408, allocations: 1.569 MB / 0.9232 GB, free: 150.5 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.0003904/1.408, allocations: 144.6 kB / 0.9234 GB, free: 150.4 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02396/1.432, allocations: 9.405 MB / 0.9326 GB, free: 149.5 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.478e-06/1.432, allocations: 3.031 kB / 0.9326 GB, free: 149.5 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01128/1.443, allocations: 3.837 MB / 0.9363 GB, free: 149.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001977/1.446, allocations: 157 kB / 0.9365 GB, free: 149.2 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008108/1.454, allocations: 4.071 MB / 0.9404 GB, free: 148.1 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001093/1.455, allocations: 1.813 MB / 0.9422 GB, free: 147.2 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001632/1.456, allocations: 347.5 kB / 0.9425 GB, free: 147 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000402/1.457, allocations: 112.1 kB / 0.9426 GB, free: 146.9 MB / 0.5573 GB Notification: Performance of SimCode: time 6.21e-07/1.457, allocations: 0.6562 kB / 0.9426 GB, free: 146.9 MB / 0.5573 GB Notification: Performance of Templates: time 0.0877/1.545, allocations: 70.41 MB / 1.011 GB, free: 88.75 MB / 0.5573 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe 2>&1)