Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_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.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00628/0.00628, allocations: 169.4 kB / 15.11 MB, free: 5.973 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.419/1.419, allocations: 205.4 MB / 221.3 MB, free: 13.81 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.001067/0.001067, allocations: 86.86 kB / 269.6 MB, free: 13.34 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.06354/0.06354, allocations: 12.6 MB / 330.5 MB, free: 10.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.414/0.414, allocations: 78.52 MB / 460 MB, free: 3.449 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005083/0.0005083, allocations: 18.78 kB / 0.5285 GB, free: 35.27 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1477, allocations: 69.33 MB / 0.5962 GB, free: 3.801 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4298/0.5776, allocations: 100.1 MB / 0.6939 GB, free: 98.25 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002445/0.5779, allocations: 82.02 kB / 0.694 GB, free: 98.25 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08673/0.6646, allocations: 34.31 MB / 0.7275 GB, free: 83.1 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.6647, allocations: 0 / 0.7275 GB, free: 83.1 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.765e-05/0.6648, allocations: 27.94 kB / 0.7275 GB, free: 83.07 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.004402/0.6692, allocations: 1.971 MB / 0.7294 GB, free: 81.04 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.6692, allocations: 15.98 kB / 0.7295 GB, free: 81.02 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003143/0.6724, allocations: 0.5679 MB / 0.73 GB, free: 80.45 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001373/0.6738, allocations: 0.8228 MB / 0.7308 GB, free: 79.57 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000182/0.674, allocations: 230.5 kB / 0.731 GB, free: 79.32 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/0.6741, allocations: 72 kB / 0.7311 GB, free: 79.25 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001852/0.6759, allocations: 1.154 MB / 0.7322 GB, free: 78.08 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/0.676, allocations: 0 / 0.7322 GB, free: 78.08 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.034e-05/0.6761, allocations: 28 kB / 0.7323 GB, free: 78.05 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.485e-05/0.6761, allocations: 23.95 kB / 0.7323 GB, free: 78.03 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001742/0.6778, allocations: 1.066 MB / 0.7333 GB, free: 76.96 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.00533/0.6832, allocations: 3.839 MB / 0.7371 GB, free: 72.93 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007048/0.6902, allocations: 2.882 MB / 0.7399 GB, free: 69.95 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.264e-05/0.6904, allocations: 13 kB / 0.7399 GB, free: 69.94 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.6904, allocations: 55.44 kB / 0.74 GB, free: 69.88 MB / 474.7 MB Notification: Performance of pre-optimization done (n=93): time 2.685e-06/0.6904, allocations: 0 / 0.74 GB, free: 69.88 MB / 474.7 MB Notification: Performance of matching and sorting (n=93): time 0.02506/0.7155, allocations: 8.011 MB / 0.7478 GB, free: 61.82 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/0.7156, allocations: 137.5 kB / 0.7479 GB, free: 61.66 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001448/0.717, allocations: 0.9054 MB / 0.7488 GB, free: 60.74 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001859/0.7172, allocations: 45.7 kB / 0.7488 GB, free: 60.69 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002745/0.7175, allocations: 0.5051 MB / 0.7493 GB, free: 60.18 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003096/0.7178, allocations: 335.2 kB / 0.7497 GB, free: 59.84 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.177e-05/0.7179, allocations: 23.94 kB / 0.7497 GB, free: 59.82 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.868e-05/0.718, allocations: 345.9 kB / 0.75 GB, free: 59.48 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001143/0.7191, allocations: 0.6344 MB / 0.7506 GB, free: 58.84 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001148/0.7203, allocations: 0.7771 MB / 0.7514 GB, free: 58.02 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/0.7214, allocations: 0.7434 MB / 0.7521 GB, free: 57.27 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.7215, allocations: 0 / 0.7521 GB, free: 57.27 MB / 474.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01199/0.7334, allocations: 4.668 MB / 0.7567 GB, free: 52.58 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002737/0.7338, allocations: 1.201 MB / 0.7578 GB, free: 51.29 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.7338, allocations: 4 kB / 0.7578 GB, free: 51.28 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005351/0.7391, allocations: 1.863 MB / 0.7597 GB, free: 49.41 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009514/0.7401, allocations: 167.7 kB / 0.7598 GB, free: 49.25 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01772/0.7579, allocations: 9.194 MB / 0.7688 GB, free: 39.91 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001796/0.7597, allocations: 191.1 kB / 0.769 GB, free: 39.73 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.001e-05/0.7598, allocations: 35.98 kB / 0.769 GB, free: 39.69 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.7598, allocations: 7.938 kB / 0.769 GB, free: 39.68 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0116/0.7714, allocations: 4.508 MB / 0.7734 GB, free: 35.16 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.771e-05/0.7715, allocations: 4 kB / 0.7734 GB, free: 35.16 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005277/0.7768, allocations: 1.856 MB / 0.7752 GB, free: 33.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008815/0.7777, allocations: 163.8 kB / 0.7754 GB, free: 33.14 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01744/0.7951, allocations: 9.182 MB / 0.7844 GB, free: 23.81 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001799/0.797, allocations: 187.1 kB / 0.7845 GB, free: 23.63 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.694e-05/0.7971, allocations: 32 kB / 0.7846 GB, free: 23.6 MB / 474.7 MB Warning: Assuming fixed start value for the following 4 variables: order4.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order4.delta:VARIABLE(start = order4.delta0 unit = "rad" fixed = true ) "Rotor angle" 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 (87): * Single equations (assignments): 84 * 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 {20 12} Notification: Performance of prepare postOptimizeDAE: time 0.0007755/0.7978, allocations: 367.7 kB / 0.7849 GB, free: 23.22 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002539/0.7981, allocations: 122.5 kB / 0.785 GB, free: 23.1 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01149/0.8096, allocations: 4.61 MB / 0.7895 GB, free: 18.47 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.837e-05/0.8097, allocations: 12 kB / 0.7896 GB, free: 18.46 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/0.8097, allocations: 11.95 kB / 0.7896 GB, free: 18.45 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.043e-05/0.8097, allocations: 3.984 kB / 0.7896 GB, free: 18.45 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.01408/0.8238, allocations: 6.221 MB / 0.7956 GB, free: 12.11 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-05/0.8239, allocations: 3.984 kB / 0.7957 GB, free: 12.11 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007606/0.8246, allocations: 111.9 kB / 0.7958 GB, free: 12 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005076/0.8297, allocations: 1.789 MB / 0.7975 GB, free: 10.2 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002884/0.8301, allocations: 27.98 kB / 0.7975 GB, free: 10.18 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01628/0.8464, allocations: 8.007 MB / 0.8054 GB, free: 2.023 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.8464, allocations: 0 / 0.8054 GB, free: 2.023 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01451/0.8609, allocations: 5.544 MB / 0.8108 GB, free: 12.45 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006602/0.8616, allocations: 219.3 kB / 0.811 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000348/0.862, allocations: 24 kB / 0.811 GB, free: 12.19 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001437/0.8634, allocations: 139.9 kB / 0.8111 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006765/0.8641, allocations: 184.6 kB / 0.8113 GB, free: 11.87 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001143/0.8643, allocations: 20 kB / 0.8113 GB, free: 11.85 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001731/0.866, allocations: 0.7196 MB / 0.812 GB, free: 11.12 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.747e-06/0.866, allocations: 0 / 0.812 GB, free: 11.12 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003206/0.8692, allocations: 0.6709 MB / 0.8127 GB, free: 10.45 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,aVRTypeIchange1_1.firstOrder.y,aVRTypeIchange1_1.firstOrder2.y,aVRTypeIchange1_1.transferFunction.x_scaled[1],aVRTypeIchange1_1.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 (67): * Single equations (assignments): 65 * 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 {(19,24.4%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004755/0.8697, allocations: 156.8 kB / 0.8128 GB, free: 10.29 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01083/0.8806, allocations: 4.23 MB / 0.817 GB, free: 5.988 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.8806, allocations: 0.75 kB / 0.817 GB, free: 5.988 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004155/0.8848, allocations: 1.661 MB / 0.8186 GB, free: 4.297 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001172/0.886, allocations: 108.5 kB / 0.8187 GB, free: 4.188 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005172/0.8912, allocations: 2.69 MB / 0.8213 GB, free: 1.477 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008741/0.8921, allocations: 1.155 MB / 0.8224 GB, free: 292 kB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008416/0.8929, allocations: 122.6 kB / 0.8226 GB, free: 164 kB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004015/0.8933, allocations: 63.42 kB / 0.8226 GB, free: 100 kB / 490.7 MB Notification: Performance of SimCode: time 1.102e-06/0.8934, allocations: 4 kB / 0.8226 GB, free: 96 kB / 490.7 MB Notification: Performance of Templates: time 0.05375/0.9471, allocations: 25.72 MB / 0.8477 GB, free: 6.383 MB / 0.5105 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe 2>&1)