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.0009223/0.0009223, allocations: 174.6 kB / 7.644 MB, free: 1.41 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.321/1.321, allocations: 205.3 MB / 213.4 MB, free: 13.75 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.0008904/0.0008903, allocations: 93.34 kB / 261.4 MB, free: 13.44 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.06777/0.06777, allocations: 12.59 MB / 321.9 MB, free: 0.793 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2858/0.2858, allocations: 78.06 MB / 450.8 MB, free: 3.027 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.358e-05/1.36e-05, allocations: 0 / 0.5147 GB, free: 29.6 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1064, allocations: 69.32 MB / 0.5824 GB, free: 8.395 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3702/0.4767, allocations: 101.4 MB / 0.6814 GB, free: 6.598 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001544/0.4769, allocations: 75.95 kB / 0.6815 GB, free: 6.559 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1656/0.6425, allocations: 65.19 MB / 0.7452 GB, free: 212 kB / 474.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.6425, allocations: 0 / 0.7452 GB, free: 212 kB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002907/0.6428, allocations: 59.98 kB / 0.7452 GB, free: 152 kB / 474.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.01268/0.6555, allocations: 4.049 MB / 0.7492 GB, free: 12.02 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.6556, allocations: 8.031 kB / 0.7492 GB, free: 12.01 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01013/0.6657, allocations: 1.596 MB / 0.7507 GB, free: 10.41 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004024/0.6698, allocations: 1.682 MB / 0.7524 GB, free: 8.66 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007269/0.6705, allocations: 0.6125 MB / 0.753 GB, free: 7.945 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008013/0.6713, allocations: 124 kB / 0.7531 GB, free: 7.824 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004758/0.6761, allocations: 2.234 MB / 0.7553 GB, free: 5.582 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004684/0.6808, allocations: 2.295 MB / 0.7575 GB, free: 3.211 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.447e-05/0.6809, allocations: 3.906 kB / 0.7575 GB, free: 3.207 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000227/0.6811, allocations: 4 kB / 0.7575 GB, free: 3.203 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.471e-05/0.6812, allocations: 51.98 kB / 0.7576 GB, free: 3.152 MB / 490.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.01868/0.6998, allocations: 9.786 MB / 0.7671 GB, free: 8.941 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009199/0.7091, allocations: 3.978 MB / 0.771 GB, free: 4.824 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002183/0.7113, allocations: 1.469 MB / 0.7725 GB, free: 3.355 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002828/0.7116, allocations: 46.03 kB / 0.7725 GB, free: 3.309 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.964e-05/0.7116, allocations: 64.5 kB / 0.7726 GB, free: 3.238 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=244): time 5.46e-06/0.7116, allocations: 4 kB / 0.7726 GB, free: 3.234 MB / 0.4948 GB Notification: Performance of matching and sorting (n=244): time 0.03649/0.7481, allocations: 12.1 MB / 0.7844 GB, free: 7.109 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001318/0.7483, allocations: 235.6 kB / 0.7846 GB, free: 6.828 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003322/0.7516, allocations: 1.733 MB / 0.7863 GB, free: 5.09 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005368/0.7522, allocations: 25.7 kB / 0.7863 GB, free: 5.059 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008765/0.7531, allocations: 1.223 MB / 0.7875 GB, free: 3.824 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001046/0.7541, allocations: 0.8119 MB / 0.7883 GB, free: 3 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001923/0.7543, allocations: 0 / 0.7883 GB, free: 3 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.7545, allocations: 398.6 kB / 0.7887 GB, free: 2.605 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001905/0.7564, allocations: 1.196 MB / 0.7899 GB, free: 1.406 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002147/0.7585, allocations: 1.496 MB / 0.7913 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002108/0.7607, allocations: 1.32 MB / 0.7926 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/0.7607, allocations: 0 / 0.7926 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of matching and sorting (n=300) (initialization): time 0.03621/0.7969, allocations: 12.22 MB / 0.8045 GB, free: 2.164 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001036/0.798, allocations: 2.874 MB / 0.8073 GB, free: 15.06 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.813e-05/0.798, allocations: 8 kB / 0.8074 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01583/0.8138, allocations: 4.935 MB / 0.8122 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001986/0.8158, allocations: 371.4 kB / 0.8125 GB, free: 9.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03896/0.8548, allocations: 18.51 MB / 0.8306 GB, free: 6.988 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004032/0.8589, allocations: 473.8 kB / 0.8311 GB, free: 6.523 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003091/0.8592, allocations: 87.97 kB / 0.8311 GB, free: 6.438 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.8592, allocations: 4 kB / 0.8311 GB, free: 6.434 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03564/0.8949, allocations: 11.89 MB / 0.8428 GB, free: 10.48 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.51e-05/0.8949, allocations: 4 kB / 0.8428 GB, free: 10.48 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01818/0.9131, allocations: 4.939 MB / 0.8476 GB, free: 5.531 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001977/0.9151, allocations: 359.5 kB / 0.8479 GB, free: 5.18 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03865/0.9538, allocations: 18.51 MB / 0.866 GB, free: 2.418 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003828/0.9577, allocations: 449.9 kB / 0.8664 GB, free: 1.977 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002903/0.958, allocations: 91.97 kB / 0.8665 GB, free: 1.887 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.0006655/0.9587, allocations: 203.4 kB / 0.8667 GB, free: 1.672 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000601/0.9593, allocations: 300.3 kB / 0.867 GB, free: 1.375 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.29/1.249, allocations: 12.38 MB / 0.8791 GB, free: 162.2 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.583e-05/1.249, allocations: 26.14 kB / 0.8791 GB, free: 162.2 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.274e-05/1.249, allocations: 19.59 kB / 0.8791 GB, free: 162.2 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.559e-05/1.249, allocations: 15.89 kB / 0.8791 GB, free: 162.2 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.04228/1.292, allocations: 15.95 MB / 0.8947 GB, free: 161.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.771e-05/1.292, allocations: 1.5 kB / 0.8947 GB, free: 161.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001751/1.294, allocations: 279.7 kB / 0.895 GB, free: 161.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01311/1.307, allocations: 4.771 MB / 0.8996 GB, free: 161.2 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005033/1.307, allocations: 17.62 kB / 0.8997 GB, free: 161.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02897/1.336, allocations: 15.19 MB / 0.9145 GB, free: 159.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/1.336, allocations: 3.938 kB / 0.9145 GB, free: 159.6 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03547/1.372, allocations: 14.35 MB / 0.9285 GB, free: 157.5 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009718/1.373, allocations: 411.9 kB / 0.9289 GB, free: 157.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005959/1.373, allocations: 7.969 kB / 0.9289 GB, free: 157.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002979/1.376, allocations: 357.5 kB / 0.9293 GB, free: 157.2 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001617/1.378, allocations: 0.5505 MB / 0.9298 GB, free: 157.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001837/1.378, allocations: 63.2 kB / 0.9299 GB, free: 157.1 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001604/1.38, allocations: 1.301 MB / 0.9311 GB, free: 156.5 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.8e-07/1.38, allocations: 2.719 kB / 0.9311 GB, free: 156.5 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003926/1.384, allocations: 1.625 MB / 0.9327 GB, free: 156.4 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.0003785/1.384, allocations: 160.7 kB / 0.9329 GB, free: 156.3 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02365/1.408, allocations: 10.03 MB / 0.9427 GB, free: 147.8 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/1.408, allocations: 0 / 0.9427 GB, free: 147.8 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01038/1.418, allocations: 3.991 MB / 0.9466 GB, free: 144.3 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001626/1.42, allocations: 193.9 kB / 0.9467 GB, free: 144.1 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007886/1.428, allocations: 4.257 MB / 0.9509 GB, free: 140.3 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001522/1.429, allocations: 1.913 MB / 0.9528 GB, free: 138.8 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002755/1.432, allocations: 457.2 kB / 0.9532 GB, free: 138.5 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005787/1.433, allocations: 118.8 kB / 0.9533 GB, free: 138.4 MB / 0.5886 GB Notification: Performance of SimCode: time 8.12e-07/1.433, allocations: 0 / 0.9533 GB, free: 138.4 MB / 0.5886 GB Notification: Performance of Templates: time 0.09929/1.532, allocations: 71.76 MB / 1.023 GB, free: 75.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)