Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.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_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00097/0.00097, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.235/1.235, allocations: 205.2 MB / 218.5 MB, free: 9.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007883/0.0007882, allocations: 94.58 kB / 266.6 MB, free: 9.27 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.06799/0.06799, allocations: 12.59 MB / 327.3 MB, free: 12.48 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2813/0.2813, allocations: 78.03 MB / 456.1 MB, free: 14.89 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.663e-05/2.665e-05, allocations: 4 kB / 0.5218 GB, free: 23.75 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.106, allocations: 69.34 MB / 0.5895 GB, free: 2.465 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3639/0.47, allocations: 102.1 MB / 0.6892 GB, free: 13.4 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/0.4703, allocations: 78.95 kB / 0.6892 GB, free: 13.36 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1763/0.6465, allocations: 66.04 MB / 0.7537 GB, free: 5.535 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.6466, allocations: 4 kB / 0.7537 GB, free: 5.531 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001895/0.6468, allocations: 55.94 kB / 0.7538 GB, free: 5.477 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 519 * Number of variables: 519 Notification: Performance of Generate backend data structure: time 0.01252/0.6593, allocations: 4.056 MB / 0.7577 GB, free: 1.656 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.6594, allocations: 15.92 kB / 0.7578 GB, free: 1.641 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01034/0.6697, allocations: 1.604 MB / 0.7593 GB, free: 76 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004052/0.6738, allocations: 1.674 MB / 0.761 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007521/0.6746, allocations: 0.6984 MB / 0.7616 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007742/0.6754, allocations: 200 kB / 0.7618 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005189/0.6806, allocations: 2.581 MB / 0.7644 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.992e-05/0.6807, allocations: 3.906 kB / 0.7644 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002614/0.6809, allocations: 80 kB / 0.7644 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.394e-05/0.681, allocations: 48 kB / 0.7645 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004611/0.6856, allocations: 2.34 MB / 0.7668 GB, free: 8.191 MB / 0.4948 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.0197/0.7053, allocations: 10.13 MB / 0.7767 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009848/0.7152, allocations: 4.05 MB / 0.7806 GB, free: 9.414 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002749/0.718, allocations: 1.542 MB / 0.7821 GB, free: 7.871 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002881/0.7183, allocations: 49.98 kB / 0.7822 GB, free: 7.82 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.424e-05/0.7183, allocations: 56.56 kB / 0.7822 GB, free: 7.758 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=244): time 4.779e-06/0.7184, allocations: 0 / 0.7822 GB, free: 7.758 MB / 0.5105 GB Notification: Performance of matching and sorting (n=244): time 0.03812/0.7565, allocations: 12.31 MB / 0.7942 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001305/0.7567, allocations: 239.5 kB / 0.7945 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003074/0.7597, allocations: 1.886 MB / 0.7963 GB, free: 9.223 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005739/0.7603, allocations: 69.7 kB / 0.7964 GB, free: 9.148 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009518/0.7613, allocations: 1.224 MB / 0.7976 GB, free: 7.914 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.00104/0.7623, allocations: 0.847 MB / 0.7984 GB, free: 7.055 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001963/0.7626, allocations: 48 kB / 0.7984 GB, free: 7.008 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001734/0.7627, allocations: 390.7 kB / 0.7988 GB, free: 6.621 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002304/0.765, allocations: 1.239 MB / 0.8 GB, free: 5.379 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002462/0.7675, allocations: 1.555 MB / 0.8015 GB, free: 3.719 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002429/0.77, allocations: 1.468 MB / 0.803 GB, free: 2.191 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/0.77, allocations: 7.953 kB / 0.803 GB, free: 2.184 MB / 0.5261 GB Notification: Performance of matching and sorting (n=300) (initialization): time 0.03715/0.8071, allocations: 12.54 MB / 0.8152 GB, free: 5.551 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.000978/0.8082, allocations: 2.882 MB / 0.818 GB, free: 2.449 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.642e-05/0.8082, allocations: 4 kB / 0.8181 GB, free: 2.445 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01654/0.8248, allocations: 5.173 MB / 0.8231 GB, free: 13.26 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002036/0.8268, allocations: 363.5 kB / 0.8235 GB, free: 12.91 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04204/0.8689, allocations: 18.89 MB / 0.8419 GB, free: 9.734 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003995/0.8729, allocations: 0.5212 MB / 0.8424 GB, free: 9.211 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005664/0.8735, allocations: 87.98 kB / 0.8425 GB, free: 9.125 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.8735, allocations: 7.281 kB / 0.8425 GB, free: 9.121 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03674/0.9103, allocations: 12.25 MB / 0.8545 GB, free: 12.79 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.097e-05/0.9103, allocations: 8 kB / 0.8545 GB, free: 12.78 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01647/0.9268, allocations: 5.173 MB / 0.8595 GB, free: 7.594 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001946/0.9288, allocations: 359.5 kB / 0.8599 GB, free: 7.242 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3032/1.232, allocations: 18.87 MB / 0.8783 GB, free: 153.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004121/1.236, allocations: 0.498 MB / 0.8788 GB, free: 153.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005356/1.237, allocations: 80.11 kB / 0.8789 GB, free: 153.3 MB / 0.5886 GB Warning: Assuming fixed start value for the following 6 variables: 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 Syn2.delta:VARIABLE(start = Syn2.delta0 unit = "rad" ) "Rotor angle" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(start = order2.delta0 unit = "rad" ) "Rotor angle" 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 (211): * Single equations (assignments): 205 * Array equations: 0 * Algorithm blocks: 4 * 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 {63 26} Notification: Performance of prepare postOptimizeDAE: time 0.0007511/1.237, allocations: 292.2 kB / 0.8791 GB, free: 153.1 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009438/1.238, allocations: 302.7 kB / 0.8794 GB, free: 152.9 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0395/1.278, allocations: 12.66 MB / 0.8918 GB, free: 152.7 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.722e-05/1.278, allocations: 32.16 kB / 0.8918 GB, free: 152.7 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.559e-05/1.278, allocations: 16.59 kB / 0.8918 GB, free: 152.7 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.421e-05/1.278, allocations: 19 kB / 0.8919 GB, free: 152.7 MB / 0.5886 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.04128/1.319, allocations: 16.43 MB / 0.9079 GB, free: 151.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.669e-05/1.319, allocations: 7.375 kB / 0.9079 GB, free: 151.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001893/1.321, allocations: 281.1 kB / 0.9082 GB, free: 151.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01406/1.335, allocations: 4.814 MB / 0.9129 GB, free: 151.7 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005812/1.336, allocations: 51.44 kB / 0.9129 GB, free: 151.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03267/1.369, allocations: 15.37 MB / 0.9279 GB, free: 144.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.369, allocations: 1.875 kB / 0.9279 GB, free: 144.9 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03855/1.407, allocations: 14.62 MB / 0.9422 GB, free: 141 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009588/1.408, allocations: 420.5 kB / 0.9426 GB, free: 140.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001176/1.41, allocations: 48.12 kB / 0.9427 GB, free: 140.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003787/1.413, allocations: 398.5 kB / 0.9431 GB, free: 140.2 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002041/1.415, allocations: 0.5521 MB / 0.9436 GB, free: 139.9 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003432/1.416, allocations: 60.88 kB / 0.9437 GB, free: 139.9 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.00217/1.418, allocations: 1.444 MB / 0.9451 GB, free: 138.5 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.71e-07/1.418, allocations: 0 / 0.9451 GB, free: 138.5 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.006159/1.424, allocations: 1.785 MB / 0.9468 GB, free: 136.8 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (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.firstOrder.y,Exc1.firstOrder2.y,Exc1.transferFunction.x_scaled[1],Exc1.transferFunction.x_scaled[2],Exc2.firstOrder.y,Exc2.firstOrder2.y,Exc2.transferFunction.x_scaled[1],Exc2.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (165): * Single equations (assignments): 162 * Array equations: 0 * Algorithm blocks: 2 * 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.0005987/1.425, allocations: 196.5 kB / 0.947 GB, free: 136.7 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02697/1.452, allocations: 10.34 MB / 0.9571 GB, free: 127.3 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/1.452, allocations: 4 kB / 0.9571 GB, free: 127.3 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01202/1.464, allocations: 4.069 MB / 0.9611 GB, free: 123.7 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002417/1.466, allocations: 238.1 kB / 0.9613 GB, free: 123.5 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008562/1.475, allocations: 4.365 MB / 0.9656 GB, free: 119.5 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001126/1.476, allocations: 1.915 MB / 0.9674 GB, free: 118.1 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002195/1.478, allocations: 452 kB / 0.9679 GB, free: 117.8 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004756/1.479, allocations: 114.6 kB / 0.968 GB, free: 117.7 MB / 0.5886 GB Notification: Performance of SimCode: time 1.223e-06/1.479, allocations: 0 / 0.968 GB, free: 117.7 MB / 0.5886 GB Notification: Performance of Templates: time 0.09794/1.577, allocations: 77.84 MB / 1.044 GB, free: 48.54 MB / 0.5886 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe 2>&1)