Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_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.TwoAreaOld.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.008176/0.008176, allocations: 169.5 kB / 15.11 MB, free: 5.984 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.454/1.454, allocations: 205.4 MB / 221.2 MB, free: 13.85 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.00102/0.00102, allocations: 90.88 kB / 269.6 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07807/0.07807, allocations: 12.59 MB / 330.4 MB, free: 10.31 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4503/0.4503, allocations: 78.53 MB / 460 MB, free: 3.473 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005604/0.0005604, allocations: 21.16 kB / 0.5285 GB, free: 35.21 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1488, allocations: 69.33 MB / 0.5962 GB, free: 3.824 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4577/0.6065, allocations: 100.5 MB / 0.6943 GB, free: 35.02 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002204/0.6068, allocations: 74.89 kB / 0.6944 GB, free: 35.02 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07906/0.6859, allocations: 30.12 MB / 0.7238 GB, free: 32.49 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.6859, allocations: 0 / 0.7238 GB, free: 32.49 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.462e-05/0.686, allocations: 24.66 kB / 0.7238 GB, free: 32.49 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.005099/0.6911, allocations: 2.044 MB / 0.7258 GB, free: 31.54 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.6912, allocations: 11.77 kB / 0.7258 GB, free: 31.53 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003225/0.6944, allocations: 0.5684 MB / 0.7264 GB, free: 31.44 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001524/0.6959, allocations: 0.8286 MB / 0.7272 GB, free: 31.09 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002/0.6961, allocations: 239.7 kB / 0.7274 GB, free: 30.92 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001325/0.6963, allocations: 75.34 kB / 0.7275 GB, free: 30.92 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001938/0.6982, allocations: 1.162 MB / 0.7286 GB, free: 30.82 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/0.6983, allocations: 0 / 0.7286 GB, free: 30.82 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.875e-05/0.6984, allocations: 32.66 kB / 0.7287 GB, free: 30.82 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.46e-05/0.6984, allocations: 19.62 kB / 0.7287 GB, free: 30.82 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001775/0.7002, allocations: 1.074 MB / 0.7297 GB, free: 30.8 MB / 474.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.006159/0.7063, allocations: 3.904 MB / 0.7335 GB, free: 29.54 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00677/0.7131, allocations: 2.89 MB / 0.7364 GB, free: 29 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001266/0.7133, allocations: 31.77 kB / 0.7364 GB, free: 28.99 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.7133, allocations: 43.03 kB / 0.7364 GB, free: 28.95 MB / 474.7 MB Notification: Performance of pre-optimization done (n=94): time 3.777e-06/0.7133, allocations: 0 / 0.7364 GB, free: 28.95 MB / 474.7 MB Notification: Performance of matching and sorting (n=94): time 0.02563/0.739, allocations: 8.339 MB / 0.7446 GB, free: 27.6 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.953e-05/0.7391, allocations: 137.3 kB / 0.7447 GB, free: 27.44 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001569/0.7406, allocations: 0.9509 MB / 0.7456 GB, free: 27.17 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002353/0.7409, allocations: 40.48 kB / 0.7457 GB, free: 27.14 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002827/0.7412, allocations: 0.5102 MB / 0.7462 GB, free: 26.93 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003162/0.7415, allocations: 344.5 kB / 0.7465 GB, free: 26.68 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.605e-05/0.7416, allocations: 17.75 kB / 0.7465 GB, free: 26.68 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.6e-05/0.7416, allocations: 344 kB / 0.7468 GB, free: 26.36 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001129/0.7428, allocations: 0.6489 MB / 0.7475 GB, free: 26.26 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001167/0.744, allocations: 0.7858 MB / 0.7482 GB, free: 26.02 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001194/0.7452, allocations: 0.756 MB / 0.749 GB, free: 25.87 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.7452, allocations: 0 / 0.749 GB, free: 25.87 MB / 474.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.0116/0.7568, allocations: 4.624 MB / 0.7535 GB, free: 24.5 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002745/0.7571, allocations: 1.21 MB / 0.7547 GB, free: 23.23 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.7571, allocations: 0 / 0.7547 GB, free: 23.23 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005284/0.7624, allocations: 1.822 MB / 0.7565 GB, free: 22.71 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/0.7636, allocations: 187.9 kB / 0.7566 GB, free: 22.68 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01717/0.7808, allocations: 9.108 MB / 0.7655 GB, free: 19.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00181/0.7827, allocations: 191.6 kB / 0.7657 GB, free: 19.62 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.58e-05/0.7828, allocations: 38.45 kB / 0.7657 GB, free: 19.61 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.7828, allocations: 3.938 kB / 0.7658 GB, free: 19.61 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01134/0.7941, allocations: 4.455 MB / 0.7701 GB, free: 18.34 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.009e-05/0.7942, allocations: 7.797 kB / 0.7701 GB, free: 18.34 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005201/0.7994, allocations: 1.834 MB / 0.7719 GB, free: 17.81 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001133/0.8006, allocations: 175.7 kB / 0.7721 GB, free: 17.78 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01769/0.8183, allocations: 9.104 MB / 0.781 GB, free: 12.83 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001926/0.8203, allocations: 182.6 kB / 0.7811 GB, free: 12.66 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/0.8204, allocations: 35.23 kB / 0.7812 GB, free: 12.64 MB / 474.7 MB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" fixed = true ) "q-axis sub-transient voltage" type: Real order5.e1q:VARIABLE(start = order5.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 88 * 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: 0 * Non-linear torn systems: 1 {18 12} Notification: Performance of prepare postOptimizeDAE: time 0.0008248/0.8212, allocations: 364.9 kB / 0.7815 GB, free: 12.34 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003293/0.8216, allocations: 126.5 kB / 0.7816 GB, free: 12.21 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0119/0.8335, allocations: 4.642 MB / 0.7862 GB, free: 8.23 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-05/0.8335, allocations: 8 kB / 0.7862 GB, free: 8.223 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.408e-05/0.8336, allocations: 8 kB / 0.7862 GB, free: 8.215 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.164e-05/0.8336, allocations: 11.97 kB / 0.7862 GB, free: 8.203 MB / 474.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.01484/0.8485, allocations: 6.277 MB / 0.7923 GB, free: 2.957 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-05/0.8485, allocations: 4.031 kB / 0.7923 GB, free: 2.953 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009276/0.8495, allocations: 120.2 kB / 0.7924 GB, free: 2.84 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004983/0.8544, allocations: 1.784 MB / 0.7942 GB, free: 1.246 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002857/0.8548, allocations: 21.12 kB / 0.7942 GB, free: 1.238 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01724/0.872, allocations: 8.015 MB / 0.802 GB, free: 9.113 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.8721, allocations: 3.938 kB / 0.802 GB, free: 9.109 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01522/0.8873, allocations: 5.583 MB / 0.8075 GB, free: 3.488 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006921/0.888, allocations: 227.3 kB / 0.8077 GB, free: 3.246 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002157/0.8882, allocations: 20 kB / 0.8077 GB, free: 3.227 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001251/0.8895, allocations: 139.9 kB / 0.8079 GB, free: 3.09 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000592/0.8901, allocations: 176.6 kB / 0.808 GB, free: 2.918 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.234e-05/0.8902, allocations: 27.98 kB / 0.8081 GB, free: 2.891 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001347/0.8916, allocations: 0.7514 MB / 0.8088 GB, free: 2.133 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.8916, allocations: 0 / 0.8088 GB, free: 2.133 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002225/0.8938, allocations: 0.675 MB / 0.8094 GB, free: 1.457 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * 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 {(20,23.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003254/0.8941, allocations: 152.8 kB / 0.8096 GB, free: 1.301 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01047/0.9046, allocations: 4.202 MB / 0.8137 GB, free: 13.03 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/0.9047, allocations: 4.125 kB / 0.8137 GB, free: 13.02 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.0046/0.9093, allocations: 1.682 MB / 0.8153 GB, free: 11.32 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001213/0.9105, allocations: 104.6 kB / 0.8154 GB, free: 11.21 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0049/0.9155, allocations: 2.795 MB / 0.8182 GB, free: 8.391 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008705/0.9163, allocations: 1.163 MB / 0.8193 GB, free: 7.199 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.00071/0.9171, allocations: 122.6 kB / 0.8194 GB, free: 7.074 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002647/0.9173, allocations: 63.44 kB / 0.8195 GB, free: 7.012 MB / 0.4949 GB Notification: Performance of SimCode: time 1.102e-06/0.9174, allocations: 0 / 0.8195 GB, free: 7.012 MB / 0.4949 GB Notification: Performance of Templates: time 0.04214/0.9595, allocations: 26.12 MB / 0.845 GB, free: 12.92 MB / 0.5261 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe 2>&1)