Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.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.TwoArea.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009681/0.0009682, allocations: 175.2 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.251/1.251, 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.0008604/0.0008604, allocations: 77.48 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.06515/0.06515, allocations: 12.58 MB / 327.2 MB, free: 12.5 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2857/0.2857, allocations: 78.02 MB / 456.1 MB, free: 14.9 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.577e-05/2.586e-05, allocations: 7.984 kB / 0.5218 GB, free: 23.78 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09767/0.09771, allocations: 69.33 MB / 0.5895 GB, free: 2.512 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3611/0.4588, allocations: 103.3 MB / 0.6904 GB, free: 12.26 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002574/0.4592, allocations: 80.08 kB / 0.6905 GB, free: 12.22 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2492/0.7084, allocations: 95.65 MB / 0.7839 GB, free: 6.832 MB / 0.5105 GB Notification: Performance of FrontEnd: time 4.608e-06/0.7084, allocations: 4 kB / 0.7839 GB, free: 6.828 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002573/0.7087, allocations: 87.94 kB / 0.784 GB, free: 6.742 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: 890 * Number of variables: 890 Notification: Performance of Generate backend data structure: time 0.01787/0.7266, allocations: 5.723 MB / 0.7895 GB, free: 0.9414 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.7266, allocations: 15.98 kB / 0.7896 GB, free: 0.9258 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0175/0.7441, allocations: 2.787 MB / 0.7923 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005214/0.7494, allocations: 2.267 MB / 0.7945 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009052/0.7503, allocations: 0.9596 MB / 0.7954 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001004/0.7513, allocations: 339.9 kB / 0.7958 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007969/0.7593, allocations: 4.081 MB / 0.7997 GB, free: 6.25 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.33e-05/0.7594, allocations: 0 / 0.7997 GB, free: 6.25 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000445/0.7598, allocations: 144 kB / 0.7999 GB, free: 6.109 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.964e-05/0.7599, allocations: 87.95 kB / 0.8 GB, free: 6.023 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007106/0.767, allocations: 3.609 MB / 0.8035 GB, free: 2.41 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.03606/0.8031, allocations: 18.62 MB / 0.8217 GB, free: 14.59 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0111/0.8142, allocations: 4.752 MB / 0.8263 GB, free: 9.746 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004011/0.8183, allocations: 2.229 MB / 0.8285 GB, free: 7.508 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005862/0.8189, allocations: 62.92 kB / 0.8285 GB, free: 7.445 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.599e-05/0.819, allocations: 81.53 kB / 0.8286 GB, free: 7.355 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=380): time 5.68e-06/0.819, allocations: 0 / 0.8286 GB, free: 7.355 MB / 0.5573 GB Notification: Performance of matching and sorting (n=380): time 0.05373/0.8727, allocations: 17.45 MB / 0.8457 GB, free: 5.848 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/0.8729, allocations: 171.5 kB / 0.8458 GB, free: 5.648 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004742/0.8776, allocations: 2.626 MB / 0.8484 GB, free: 3.004 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0008088/0.8785, allocations: 85.7 kB / 0.8485 GB, free: 2.914 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001585/0.8801, allocations: 1.994 MB / 0.8504 GB, free: 0.9023 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.00175/0.8818, allocations: 1.297 MB / 0.8517 GB, free: 15.59 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004879/0.8823, allocations: 68 kB / 0.8518 GB, free: 15.52 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0002616/0.8826, allocations: 449.5 kB / 0.8522 GB, free: 15.07 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003475/0.8861, allocations: 1.816 MB / 0.854 GB, free: 13.26 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003785/0.8899, allocations: 2.399 MB / 0.8563 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003645/0.8935, allocations: 2.082 MB / 0.8583 GB, free: 8.543 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.361e-05/0.8936, allocations: 7.938 kB / 0.8583 GB, free: 8.535 MB / 0.5886 GB Notification: Performance of matching and sorting (n=458) (initialization): time 0.3195/1.213, allocations: 17.64 MB / 0.8756 GB, free: 128.8 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.001119/1.214, allocations: 6.682 MB / 0.8821 GB, free: 121.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.746e-05/1.214, allocations: 14.39 kB / 0.8821 GB, free: 121.8 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02438/1.239, allocations: 6.912 MB / 0.8889 GB, free: 121.8 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002923/1.242, allocations: 0.5428 MB / 0.8894 GB, free: 121.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0557/1.297, allocations: 25.54 MB / 0.9143 GB, free: 120.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006316/1.304, allocations: 0.6869 MB / 0.915 GB, free: 120.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006852/1.305, allocations: 130.8 kB / 0.9151 GB, free: 120.1 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/1.305, allocations: 7.375 kB / 0.9151 GB, free: 120.1 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04942/1.354, allocations: 17.24 MB / 0.932 GB, free: 119.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-05/1.354, allocations: 16.5 kB / 0.932 GB, free: 119.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02175/1.376, allocations: 6.908 MB / 0.9387 GB, free: 118.4 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002539/1.378, allocations: 0.5328 MB / 0.9393 GB, free: 118.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05481/1.433, allocations: 25.53 MB / 0.9642 GB, free: 106.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005626/1.439, allocations: 0.6689 MB / 0.9648 GB, free: 106.2 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00066/1.44, allocations: 131 kB / 0.965 GB, free: 106.1 MB / 0.5886 GB Warning: Assuming fixed start value for the following 5 variables: order4.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order4.delta:VARIABLE(start = order4.delta0 unit = "rad" ) "Rotor angle" 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 (322): * Single equations (assignments): 319 * 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 45} Notification: Performance of prepare postOptimizeDAE: time 0.00116/1.441, allocations: 337.9 kB / 0.9653 GB, free: 105.8 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001193/1.442, allocations: 450.4 kB / 0.9657 GB, free: 105.3 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05011/1.492, allocations: 17.99 MB / 0.9833 GB, free: 91.47 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.817e-05/1.492, allocations: 36 kB / 0.9833 GB, free: 91.44 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.4e-05/1.492, allocations: 28 kB / 0.9833 GB, free: 91.41 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.581e-05/1.492, allocations: 25.91 kB / 0.9834 GB, free: 91.41 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.06097/1.553, allocations: 23.22 MB / 1.006 GB, free: 73.83 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.378e-05/1.553, allocations: 0 / 1.006 GB, free: 73.83 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002519/1.556, allocations: 407.2 kB / 1.006 GB, free: 73.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02233/1.578, allocations: 6.967 MB / 1.013 GB, free: 68.09 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008977/1.579, allocations: 67.84 kB / 1.013 GB, free: 68.02 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0522/1.631, allocations: 22.55 MB / 1.035 GB, free: 48.04 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/1.631, allocations: 0 / 1.035 GB, free: 48.04 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05517/1.687, allocations: 20.81 MB / 1.056 GB, free: 29.45 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001546/1.688, allocations: 0.5506 MB / 1.056 GB, free: 28.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001585/1.69, allocations: 67.28 kB / 1.056 GB, free: 28.87 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00545/1.695, allocations: 487.6 kB / 1.057 GB, free: 28.39 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003233/1.698, allocations: 0.7646 MB / 1.057 GB, free: 27.62 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007568/1.699, allocations: 95.98 kB / 1.058 GB, free: 27.53 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.00362/1.703, allocations: 2.002 MB / 1.06 GB, free: 25.52 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.71e-07/1.703, allocations: 0 / 1.06 GB, free: 25.52 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.01076/1.714, allocations: 2.868 MB / 1.062 GB, free: 22.78 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order3.delta,order3.w,order3.e1q,order4.delta,order4.w,order4.e1q,order4.e1d,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 (250): * Single equations (assignments): 248 * 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.5%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001197/1.715, allocations: 206.1 kB / 1.063 GB, free: 22.58 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.04103/1.756, allocations: 14.44 MB / 1.077 GB, free: 8.059 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/1.756, allocations: 0 / 1.077 GB, free: 8.059 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01693/1.773, allocations: 5.985 MB / 1.082 GB, free: 2.047 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002891/1.776, allocations: 314.2 kB / 1.083 GB, free: 1.734 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01288/1.789, allocations: 6.03 MB / 1.089 GB, free: 11.7 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002665/1.791, allocations: 2.59 MB / 1.091 GB, free: 9.066 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.003527/1.795, allocations: 0.608 MB / 1.092 GB, free: 8.477 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008143/1.796, allocations: 175.3 kB / 1.092 GB, free: 8.309 MB / 0.6042 GB Notification: Performance of SimCode: time 8.42e-07/1.796, allocations: 4 kB / 1.092 GB, free: 8.305 MB / 0.6042 GB Notification: Performance of Templates: time 0.4275/2.223, allocations: 112.5 MB / 1.202 GB, free: 113.5 MB / 0.6042 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe 2>&1)