Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.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.TwoArea.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001351/0.001351, allocations: 174.7 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.529/1.529, allocations: 205.2 MB / 218.5 MB, free: 9.215 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.0007548/0.0007549, allocations: 82.33 kB / 266.6 MB, free: 9.281 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.06708/0.06708, allocations: 12.59 MB / 327.3 MB, free: 12.49 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.403/0.403, allocations: 78.02 MB / 456.1 MB, free: 14.91 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.966e-05/2.968e-05, allocations: 4 kB / 0.5218 GB, free: 23.75 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1051, allocations: 69.33 MB / 0.5895 GB, free: 2.473 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3792/0.4843, allocations: 103.7 MB / 0.6908 GB, free: 11.72 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002019/0.4846, allocations: 86.31 kB / 0.6909 GB, free: 11.67 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2481/0.7327, allocations: 96.51 MB / 0.7851 GB, free: 5.477 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7328, allocations: 3.938 kB / 0.7851 GB, free: 5.473 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000294/0.7331, allocations: 91.94 kB / 0.7852 GB, free: 5.383 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 891 * Number of variables: 891 Notification: Performance of Generate backend data structure: time 0.0195/0.7526, allocations: 5.766 MB / 0.7908 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.7526, allocations: 15.98 kB / 0.7908 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01779/0.7704, allocations: 2.783 MB / 0.7936 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006243/0.7767, allocations: 2.283 MB / 0.7958 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001041/0.7778, allocations: 0.9596 MB / 0.7967 GB, free: 9.281 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001345/0.7792, allocations: 343.9 kB / 0.7971 GB, free: 8.945 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01002/0.7892, allocations: 4.089 MB / 0.801 GB, free: 4.824 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-05/0.7893, allocations: 0 / 0.801 GB, free: 4.824 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005254/0.7899, allocations: 144 kB / 0.8012 GB, free: 4.684 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.834e-05/0.7899, allocations: 91.94 kB / 0.8013 GB, free: 4.594 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008344/0.7983, allocations: 3.624 MB / 0.8048 GB, free: 0.9648 MB / 0.5261 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.04238/0.8407, allocations: 18.71 MB / 0.8231 GB, free: 13.06 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01231/0.8531, allocations: 4.768 MB / 0.8277 GB, free: 8.199 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004733/0.8578, allocations: 2.229 MB / 0.8299 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006004/0.8585, allocations: 70.91 kB / 0.83 GB, free: 5.891 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.328e-05/0.8585, allocations: 73.55 kB / 0.8301 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=381): time 5.651e-06/0.8585, allocations: 0 / 0.8301 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of matching and sorting (n=381): time 0.05685/0.9154, allocations: 17.47 MB / 0.8471 GB, free: 4.281 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001134/0.9156, allocations: 167.5 kB / 0.8473 GB, free: 4.086 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004818/0.9204, allocations: 2.682 MB / 0.8499 GB, free: 1.387 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.00104/0.9215, allocations: 89.7 kB / 0.85 GB, free: 1.293 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001668/0.9231, allocations: 2.006 MB / 0.8519 GB, free: 15.27 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.002184/0.9253, allocations: 1.301 MB / 0.8532 GB, free: 13.95 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003114/0.9256, allocations: 72 kB / 0.8533 GB, free: 13.88 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0002403/0.9259, allocations: 446.6 kB / 0.8537 GB, free: 13.43 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003351/0.9293, allocations: 1.827 MB / 0.8555 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003705/0.933, allocations: 2.41 MB / 0.8578 GB, free: 8.992 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005138/0.9381, allocations: 2.086 MB / 0.8599 GB, free: 6.879 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-05/0.9382, allocations: 4 kB / 0.8599 GB, free: 6.875 MB / 0.5886 GB Notification: Performance of matching and sorting (n=460) (initialization): time 0.3728/1.311, allocations: 17.66 MB / 0.8771 GB, free: 128.8 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.001207/1.312, allocations: 6.679 MB / 0.8836 GB, free: 121.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.027e-05/1.312, allocations: 18.91 kB / 0.8837 GB, free: 121.8 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02369/1.336, allocations: 6.893 MB / 0.8904 GB, free: 121.8 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002991/1.339, allocations: 0.5599 MB / 0.8909 GB, free: 121.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05487/1.394, allocations: 25.42 MB / 0.9158 GB, free: 120 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005904/1.4, allocations: 0.6983 MB / 0.9164 GB, free: 119.9 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008195/1.401, allocations: 129.5 kB / 0.9166 GB, free: 119.9 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/1.401, allocations: 3.406 kB / 0.9166 GB, free: 119.9 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04949/1.45, allocations: 17.25 MB / 0.9334 GB, free: 119.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.479e-05/1.45, allocations: 22.33 kB / 0.9334 GB, free: 119.1 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0222/1.473, allocations: 6.89 MB / 0.9402 GB, free: 118.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003034/1.476, allocations: 0.5535 MB / 0.9407 GB, free: 118.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0551/1.531, allocations: 25.41 MB / 0.9655 GB, free: 105.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005893/1.537, allocations: 0.6566 MB / 0.9662 GB, free: 105.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007828/1.538, allocations: 131.5 kB / 0.9663 GB, free: 105.2 MB / 0.5886 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" ) "q-axis sub-transient voltage" type: Real order5.e1q:VARIABLE(start = order5.e1q0 unit = "1" ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (326): * Single equations (assignments): 323 * 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 {92 43} Notification: Performance of prepare postOptimizeDAE: time 0.0009631/1.539, allocations: 332.2 kB / 0.9666 GB, free: 104.9 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001251/1.54, allocations: 458.3 kB / 0.967 GB, free: 104.4 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04895/1.589, allocations: 18.01 MB / 0.9846 GB, free: 90.57 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.827e-05/1.589, allocations: 37.5 kB / 0.9847 GB, free: 90.54 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.444e-05/1.589, allocations: 31.75 kB / 0.9847 GB, free: 90.51 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000167/1.589, allocations: 15.38 kB / 0.9847 GB, free: 90.51 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.05665/1.646, allocations: 23.29 MB / 1.007 GB, free: 72.89 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-05/1.646, allocations: 4 kB / 1.007 GB, free: 72.88 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002482/1.648, allocations: 411 kB / 1.008 GB, free: 72.54 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02163/1.67, allocations: 6.959 MB / 1.015 GB, free: 67.13 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000997/1.671, allocations: 79.62 kB / 1.015 GB, free: 67.06 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0505/1.722, allocations: 22.54 MB / 1.037 GB, free: 47.09 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/1.722, allocations: 0 / 1.037 GB, free: 47.09 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05618/1.778, allocations: 20.83 MB / 1.057 GB, free: 27.82 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001924/1.78, allocations: 0.5637 MB / 1.058 GB, free: 27.29 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00152/1.781, allocations: 64 kB / 1.058 GB, free: 27.23 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005581/1.787, allocations: 491.5 kB / 1.058 GB, free: 26.75 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003185/1.79, allocations: 0.7755 MB / 1.059 GB, free: 25.97 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000554/1.791, allocations: 95.98 kB / 1.059 GB, free: 25.88 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.003084/1.794, allocations: 2.03 MB / 1.061 GB, free: 23.84 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.7e-07/1.794, allocations: 0 / 1.061 GB, free: 23.84 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0106/1.804, allocations: 2.874 MB / 1.064 GB, free: 21.09 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (251): * Single equations (assignments): 249 * 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 {(100,5.4%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008126/1.805, allocations: 213.2 kB / 1.064 GB, free: 20.89 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.03893/1.844, allocations: 14.45 MB / 1.078 GB, free: 6.359 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/1.844, allocations: 0 / 1.078 GB, free: 6.359 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01796/1.862, allocations: 5.998 MB / 1.084 GB, free: 340 kB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003033/1.865, allocations: 310.3 kB / 1.084 GB, free: 24 kB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0134/1.879, allocations: 6.116 MB / 1.09 GB, free: 9.902 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002176/1.881, allocations: 2.602 MB / 1.093 GB, free: 7.262 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.003317/1.884, allocations: 0.6101 MB / 1.093 GB, free: 6.668 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007475/1.885, allocations: 175.4 kB / 1.094 GB, free: 6.5 MB / 0.6042 GB Notification: Performance of SimCode: time 1.052e-06/1.885, allocations: 0 / 1.094 GB, free: 6.5 MB / 0.6042 GB Notification: Performance of Templates: time 0.4349/2.32, allocations: 112.8 MB / 1.204 GB, free: 111.1 MB / 0.6042 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe 2>&1)