Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_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.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001346/0.001346, 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 3.2.3+maint.om/package.mo): time 1.368/1.368, allocations: 205.3 MB / 213.4 MB, free: 13.76 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.0008362/0.0008363, allocations: 81.84 kB / 261.4 MB, free: 13.45 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.06815/0.06815, allocations: 12.6 MB / 321.9 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3274/0.3274, allocations: 78.05 MB / 450.8 MB, free: 3.031 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.337e-05/1.34e-05, allocations: 4 kB / 0.5147 GB, free: 29.57 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1091, allocations: 69.33 MB / 0.5824 GB, free: 8.371 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3775/0.4866, allocations: 100 MB / 0.6801 GB, free: 7.902 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001911/0.4869, allocations: 80.83 kB / 0.6802 GB, free: 7.859 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1617/0.6486, allocations: 63.87 MB / 0.7426 GB, free: 2.836 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.6486, allocations: 0 / 0.7426 GB, free: 2.836 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002447/0.6489, allocations: 59.94 kB / 0.7426 GB, free: 2.777 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: 516 * Number of variables: 516 Notification: Performance of Generate backend data structure: time 0.0123/0.6612, allocations: 3.994 MB / 0.7465 GB, free: 14.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.6613, allocations: 12.03 kB / 0.7465 GB, free: 14.69 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009846/0.6711, allocations: 1.588 MB / 0.7481 GB, free: 13.09 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003534/0.6747, allocations: 1.643 MB / 0.7497 GB, free: 11.39 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005803/0.6753, allocations: 0.6125 MB / 0.7503 GB, free: 10.67 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003451/0.6756, allocations: 123.9 kB / 0.7504 GB, free: 10.55 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003804/0.6794, allocations: 2.215 MB / 0.7526 GB, free: 8.328 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003872/0.6833, allocations: 2.275 MB / 0.7548 GB, free: 5.977 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.868e-05/0.6834, allocations: 0 / 0.7548 GB, free: 5.977 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002191/0.6836, allocations: 0 / 0.7548 GB, free: 5.977 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.803e-05/0.6836, allocations: 52 kB / 0.7548 GB, free: 5.926 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.01707/0.7007, allocations: 9.66 MB / 0.7643 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008777/0.7095, allocations: 3.943 MB / 0.7681 GB, free: 7.766 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002232/0.7118, allocations: 1.46 MB / 0.7695 GB, free: 6.297 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002593/0.7121, allocations: 42.03 kB / 0.7696 GB, free: 6.258 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.842e-05/0.7121, allocations: 61.5 kB / 0.7696 GB, free: 6.188 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=241): time 4.439e-06/0.7121, allocations: 4 kB / 0.7696 GB, free: 6.184 MB / 0.4948 GB Notification: Performance of matching and sorting (n=241): time 0.03582/0.748, allocations: 12.06 MB / 0.7814 GB, free: 10.1 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000128/0.7481, allocations: 235.6 kB / 0.7816 GB, free: 9.82 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00316/0.7513, allocations: 1.696 MB / 0.7833 GB, free: 8.117 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0009636/0.7523, allocations: 25.7 kB / 0.7833 GB, free: 8.086 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001211/0.7535, allocations: 1.219 MB / 0.7845 GB, free: 6.855 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001216/0.7547, allocations: 0.8004 MB / 0.7853 GB, free: 6.043 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001769/0.7549, allocations: 0 / 0.7853 GB, free: 6.043 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001847/0.7551, allocations: 394.6 kB / 0.7857 GB, free: 5.652 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002013/0.7571, allocations: 1.176 MB / 0.7868 GB, free: 4.473 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002103/0.7593, allocations: 1.476 MB / 0.7883 GB, free: 2.895 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002024/0.7613, allocations: 1.292 MB / 0.7895 GB, free: 1.57 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/0.7613, allocations: 0 / 0.7895 GB, free: 1.57 MB / 0.5105 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.03534/0.7967, allocations: 12.12 MB / 0.8014 GB, free: 5.391 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009413/0.7976, allocations: 2.873 MB / 0.8042 GB, free: 2.289 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.009e-05/0.7977, allocations: 12 kB / 0.8042 GB, free: 2.277 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01532/0.813, allocations: 4.852 MB / 0.8089 GB, free: 13.42 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001982/0.815, allocations: 375.5 kB / 0.8093 GB, free: 13.05 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03769/0.8527, allocations: 17.2 MB / 0.8261 GB, free: 11.71 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003975/0.8567, allocations: 473.8 kB / 0.8265 GB, free: 11.25 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005044/0.8573, allocations: 83.98 kB / 0.8266 GB, free: 11.16 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.8573, allocations: 4 kB / 0.8266 GB, free: 11.16 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03603/0.8933, allocations: 11.78 MB / 0.8381 GB, free: 15.32 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.197e-05/0.8934, allocations: 8 kB / 0.8381 GB, free: 15.32 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01535/0.9088, allocations: 4.856 MB / 0.8429 GB, free: 10.45 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001974/0.9108, allocations: 363.5 kB / 0.8432 GB, free: 10.09 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03956/0.9504, allocations: 17.19 MB / 0.86 GB, free: 8.773 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00384/0.9543, allocations: 453.9 kB / 0.8604 GB, free: 8.328 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003777/0.9547, allocations: 79.97 kB / 0.8605 GB, free: 8.25 MB / 0.5886 GB Warning: Assuming fixed start value for the following 6 variables: order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_1.delta:VARIABLE(start = order3_1.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 (206): * Single equations (assignments): 201 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {63 26} Notification: Performance of prepare postOptimizeDAE: time 0.0006799/0.9553, allocations: 210.2 kB / 0.8607 GB, free: 8.027 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007994/0.9561, allocations: 292.4 kB / 0.861 GB, free: 7.738 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2997/1.256, allocations: 12.33 MB / 0.873 GB, free: 160.9 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.183e-05/1.256, allocations: 24.44 kB / 0.873 GB, free: 160.9 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.639e-05/1.256, allocations: 19.28 kB / 0.8731 GB, free: 160.9 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.653e-05/1.256, allocations: 15 kB / 0.8731 GB, free: 160.9 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.04568/1.302, allocations: 15.85 MB / 0.8886 GB, free: 160.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-05/1.302, allocations: 0.8438 kB / 0.8886 GB, free: 160.1 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001786/1.304, allocations: 270.8 kB / 0.8888 GB, free: 160.1 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01476/1.318, allocations: 4.82 MB / 0.8935 GB, free: 160 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007323/1.319, allocations: 21.83 kB / 0.8935 GB, free: 160 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03291/1.352, allocations: 15.16 MB / 0.9083 GB, free: 158.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.665e-06/1.352, allocations: 0.75 kB / 0.9083 GB, free: 158.6 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03831/1.39, allocations: 14.28 MB / 0.9223 GB, free: 157.5 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001042/1.392, allocations: 409.9 kB / 0.9227 GB, free: 157.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001182/1.393, allocations: 7.656 kB / 0.9227 GB, free: 157.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003659/1.396, allocations: 356.3 kB / 0.923 GB, free: 157.2 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002038/1.399, allocations: 0.5491 MB / 0.9236 GB, free: 157.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003867/1.399, allocations: 65.95 kB / 0.9236 GB, free: 157.1 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002166/1.401, allocations: 1.267 MB / 0.9249 GB, free: 156.6 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.5e-07/1.401, allocations: 0 / 0.9249 GB, free: 156.6 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.005709/1.407, allocations: 1.592 MB / 0.9264 GB, free: 156.5 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,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 (162): * Single equations (assignments): 159 * 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 {(65,7.8%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005352/1.407, allocations: 160 kB / 0.9266 GB, free: 156.4 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02489/1.432, allocations: 9.706 MB / 0.9361 GB, free: 152.8 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.605e-06/1.432, allocations: 0 / 0.9361 GB, free: 152.8 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01034/1.443, allocations: 3.975 MB / 0.9399 GB, free: 149.8 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001613/1.444, allocations: 191.1 kB / 0.9401 GB, free: 149.6 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00675/1.451, allocations: 4.015 MB / 0.944 GB, free: 146 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001056/1.452, allocations: 1.897 MB / 0.9459 GB, free: 144.5 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001939/1.454, allocations: 445.3 kB / 0.9463 GB, free: 144.2 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004077/1.455, allocations: 115.3 kB / 0.9464 GB, free: 144.1 MB / 0.5886 GB Notification: Performance of SimCode: time 1.052e-06/1.455, allocations: 0 / 0.9464 GB, free: 144.1 MB / 0.5886 GB Notification: Performance of Templates: time 0.08632/1.541, allocations: 70.69 MB / 1.015 GB, free: 84.13 MB / 0.5886 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe 2>&1)