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.0009032/0.0009033, allocations: 174.5 kB / 7.654 MB, free: 1.395 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.238/1.238, 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.0007949/0.0007949, allocations: 89.27 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.06632/0.06632, allocations: 12.6 MB / 322 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.291/0.291, allocations: 78.06 MB / 450.8 MB, free: 3.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.126e-05/1.128e-05, allocations: 4 kB / 0.5147 GB, free: 29.58 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1031, allocations: 69.33 MB / 0.5824 GB, free: 8.371 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3698/0.473, allocations: 103.1 MB / 0.6831 GB, free: 4.977 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001662/0.4732, allocations: 86.06 kB / 0.6831 GB, free: 4.93 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2391/0.7123, allocations: 95.19 MB / 0.7761 GB, free: 232 kB / 0.4948 GB Notification: Performance of FrontEnd: time 1.272e-06/0.7124, allocations: 0 / 0.7761 GB, free: 232 kB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003064/0.7127, allocations: 99.88 kB / 0.7762 GB, free: 132 kB / 0.4948 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.01834/0.731, allocations: 5.758 MB / 0.7818 GB, free: 10.29 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.7311, allocations: 8.031 kB / 0.7818 GB, free: 10.29 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01773/0.7488, allocations: 2.779 MB / 0.7845 GB, free: 7.496 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005984/0.7549, allocations: 2.275 MB / 0.7868 GB, free: 5.145 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001033/0.7559, allocations: 0.8385 MB / 0.7876 GB, free: 4.176 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001279/0.7572, allocations: 207.9 kB / 0.7878 GB, free: 3.973 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008775/0.766, allocations: 3.439 MB / 0.7911 GB, free: 0.5312 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01198/0.778, allocations: 3.602 MB / 0.7947 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.163e-05/0.7782, allocations: 0 / 0.7947 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005279/0.7787, allocations: 4 kB / 0.7947 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001053/0.7788, allocations: 87.95 kB / 0.7947 GB, free: 12.8 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.05151/0.8304, allocations: 18.17 MB / 0.8125 GB, free: 9.469 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0162/0.8466, allocations: 4.66 MB / 0.817 GB, free: 4.727 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005866/0.8525, allocations: 2.124 MB / 0.8191 GB, free: 2.594 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006954/0.8532, allocations: 66.91 kB / 0.8192 GB, free: 2.527 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.84e-05/0.8533, allocations: 81.5 kB / 0.8193 GB, free: 2.438 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=381): time 9.618e-06/0.8533, allocations: 0 / 0.8193 GB, free: 2.438 MB / 0.5417 GB Notification: Performance of matching and sorting (n=381): time 0.05556/0.9089, allocations: 17.18 MB / 0.836 GB, free: 1.207 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/0.9091, allocations: 171.5 kB / 0.8362 GB, free: 1.008 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004643/0.9137, allocations: 2.46 MB / 0.8386 GB, free: 14.54 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001212/0.9149, allocations: 29.64 kB / 0.8386 GB, free: 14.5 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001847/0.9168, allocations: 2.018 MB / 0.8406 GB, free: 12.46 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002323/0.9191, allocations: 1.247 MB / 0.8418 GB, free: 11.2 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000315/0.9195, allocations: 0 / 0.8418 GB, free: 11.2 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002416/0.9197, allocations: 449.6 kB / 0.8422 GB, free: 10.75 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002825/0.9226, allocations: 1.757 MB / 0.844 GB, free: 8.996 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00323/0.9258, allocations: 2.321 MB / 0.8462 GB, free: 6.473 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003191/0.929, allocations: 1.963 MB / 0.8481 GB, free: 4.496 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.29e-05/0.929, allocations: 4 kB / 0.8481 GB, free: 4.492 MB / 0.573 GB Notification: Performance of matching and sorting (n=460) (initialization): time 0.05074/0.9798, allocations: 17.26 MB / 0.865 GB, free: 3.18 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.2747/1.254, allocations: 6.671 MB / 0.8715 GB, free: 125.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.158e-05/1.255, allocations: 14.34 kB / 0.8715 GB, free: 125.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02319/1.278, allocations: 6.819 MB / 0.8782 GB, free: 125.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003195/1.281, allocations: 0.5588 MB / 0.8787 GB, free: 125.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05521/1.336, allocations: 24.92 MB / 0.9031 GB, free: 124.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00556/1.342, allocations: 0.6222 MB / 0.9037 GB, free: 124 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007324/1.343, allocations: 131.4 kB / 0.9038 GB, free: 124 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/1.343, allocations: 3.656 kB / 0.9038 GB, free: 124 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04472/1.387, allocations: 16.78 MB / 0.9202 GB, free: 123.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.128e-05/1.388, allocations: 15.31 kB / 0.9202 GB, free: 123.8 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02069/1.408, allocations: 6.813 MB / 0.9269 GB, free: 123.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002949/1.411, allocations: 0.5558 MB / 0.9274 GB, free: 123.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04864/1.46, allocations: 24.92 MB / 0.9517 GB, free: 113.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005466/1.465, allocations: 0.5949 MB / 0.9523 GB, free: 113.2 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004671/1.466, allocations: 130.3 kB / 0.9525 GB, free: 113.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.0008787/1.467, allocations: 205.6 kB / 0.9526 GB, free: 113 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008201/1.468, allocations: 455.2 kB / 0.9531 GB, free: 112.8 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04444/1.512, allocations: 17.63 MB / 0.9703 GB, free: 105.8 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.004e-05/1.512, allocations: 36 kB / 0.9703 GB, free: 105.8 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.977e-05/1.512, allocations: 32 kB / 0.9704 GB, free: 105.7 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001042/1.512, allocations: 17.53 kB / 0.9704 GB, free: 105.7 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.05511/1.567, allocations: 22.56 MB / 0.9924 GB, free: 88.78 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.277e-05/1.567, allocations: 3.953 kB / 0.9924 GB, free: 88.77 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002413/1.57, allocations: 408.8 kB / 0.9928 GB, free: 88.45 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01996/1.59, allocations: 6.901 MB / 0.9995 GB, free: 83.1 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008309/1.591, allocations: 19.89 kB / 0.9996 GB, free: 83.08 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04373/1.634, allocations: 22.28 MB / 1.021 GB, free: 63.42 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/1.634, allocations: 0 / 1.021 GB, free: 63.42 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05018/1.685, allocations: 20.49 MB / 1.041 GB, free: 46.64 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00159/1.686, allocations: 0.5549 MB / 1.042 GB, free: 46.15 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001355/1.688, allocations: 15.66 kB / 1.042 GB, free: 46.14 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004864/1.693, allocations: 428.1 kB / 1.042 GB, free: 45.82 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002806/1.695, allocations: 0.7646 MB / 1.043 GB, free: 45.41 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003852/1.696, allocations: 91.89 kB / 1.043 GB, free: 45.32 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002598/1.698, allocations: 1.83 MB / 1.045 GB, free: 43.65 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.41e-07/1.698, allocations: 0 / 1.045 GB, free: 43.65 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.008994/1.707, allocations: 2.624 MB / 1.047 GB, free: 41.16 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.0006151/1.708, allocations: 148.7 kB / 1.048 GB, free: 41.01 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.03686/1.745, allocations: 13.98 MB / 1.061 GB, free: 28.38 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 8.727e-06/1.745, allocations: 0 / 1.061 GB, free: 28.38 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01701/1.762, allocations: 5.859 MB / 1.067 GB, free: 23.23 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003271/1.765, allocations: 247.2 kB / 1.067 GB, free: 23 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01175/1.777, allocations: 5.975 MB / 1.073 GB, free: 17.55 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001653/1.779, allocations: 2.597 MB / 1.076 GB, free: 15.62 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.003162/1.782, allocations: 0.6092 MB / 1.076 GB, free: 15.22 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006943/1.783, allocations: 185.2 kB / 1.076 GB, free: 15.05 MB / 0.5886 GB Notification: Performance of SimCode: time 1.382e-06/1.783, allocations: 0 / 1.076 GB, free: 15.05 MB / 0.5886 GB Notification: Performance of Templates: time 0.4191/2.202, allocations: 104.3 MB / 1.178 GB, free: 115.2 MB / 0.5886 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)