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.00475/0.00475, allocations: 172 kB / 15.11 MB, free: 5.98 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.389/1.389, allocations: 205.4 MB / 221.3 MB, free: 13.84 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.0009355/0.0009354, allocations: 102.8 kB / 269.6 MB, free: 13.36 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.07301/0.07301, allocations: 12.6 MB / 330.5 MB, free: 10.29 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4977/0.4977, allocations: 78.52 MB / 460 MB, free: 3.461 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005249/0.0005249, allocations: 22.78 kB / 0.5285 GB, free: 35.11 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1311, allocations: 69.33 MB / 0.5962 GB, free: 3.809 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4148/0.5459, allocations: 103.8 MB / 0.6976 GB, free: 36.71 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003128/0.5463, allocations: 87.08 kB / 0.6976 GB, free: 36.71 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2147/0.761, allocations: 96.81 MB / 0.7922 GB, free: 2.266 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.7611, allocations: 0 / 0.7922 GB, free: 2.266 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002471/0.7613, allocations: 87.94 kB / 0.7923 GB, free: 2.18 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: 891 * Number of variables: 891 Notification: Performance of Generate backend data structure: time 0.02205/0.7834, allocations: 6.601 MB / 0.7987 GB, free: 12 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.7834, allocations: 11.98 kB / 0.7987 GB, free: 11.98 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01856/0.802, allocations: 2.807 MB / 0.8015 GB, free: 9.398 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008266/0.8103, allocations: 2.328 MB / 0.8037 GB, free: 7.59 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001294/0.8117, allocations: 0.9562 MB / 0.8047 GB, free: 6.629 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002008/0.8137, allocations: 343.5 kB / 0.805 GB, free: 6.402 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01615/0.8299, allocations: 4.958 MB / 0.8098 GB, free: 1.781 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001704/0.8301, allocations: 4 kB / 0.8099 GB, free: 1.777 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001385/0.8315, allocations: 136 kB / 0.81 GB, free: 1.645 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.3e-05/0.8316, allocations: 87.95 kB / 0.8101 GB, free: 1.559 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01226/0.8439, allocations: 4.521 MB / 0.8145 GB, free: 13.03 MB / 0.4949 GB 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.04776/0.8917, allocations: 18.69 MB / 0.8327 GB, free: 9.148 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01461/0.9064, allocations: 5.672 MB / 0.8383 GB, free: 3.395 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008713/0.9073, allocations: 74.89 kB / 0.8383 GB, free: 3.32 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001033/0.9074, allocations: 77.5 kB / 0.8384 GB, free: 3.234 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=381): time 6.993e-06/0.9074, allocations: 0 / 0.8384 GB, free: 3.234 MB / 0.5105 GB Notification: Performance of matching and sorting (n=381): time 0.3212/1.229, allocations: 78.5 MB / 0.9151 GB, free: 4.555 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001277/1.229, allocations: 171.5 kB / 0.9152 GB, free: 4.355 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006556/1.235, allocations: 2.742 MB / 0.9179 GB, free: 1.602 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.00111/1.237, allocations: 89.7 kB / 0.918 GB, free: 1.508 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.2812/1.518, allocations: 2.001 MB / 0.92 GB, free: 137.2 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.002306/1.52, allocations: 1.29 MB / 0.9212 GB, free: 136.6 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003226/1.52, allocations: 70.94 kB / 0.9213 GB, free: 136.6 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001749/1.521, allocations: 444.7 kB / 0.9217 GB, free: 136.2 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005109/1.526, allocations: 2.665 MB / 0.9243 GB, free: 136.2 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005625/1.531, allocations: 3.245 MB / 0.9275 GB, free: 135.7 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00614/1.538, allocations: 2.921 MB / 0.9303 GB, free: 135.6 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.119e-05/1.538, allocations: 2.938 kB / 0.9303 GB, free: 135.6 MB / 0.5886 GB Notification: Performance of matching and sorting (n=460) (initialization): time 0.05702/1.595, allocations: 20.13 MB / 0.95 GB, free: 135 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.001137/1.596, allocations: 6.688 MB / 0.9565 GB, free: 128.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.84e-05/1.596, allocations: 13.12 kB / 0.9565 GB, free: 128.1 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02482/1.621, allocations: 8.469 MB / 0.9648 GB, free: 127.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003163/1.624, allocations: 0.5553 MB / 0.9653 GB, free: 127.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07599/1.7, allocations: 36.72 MB / 1.001 GB, free: 121.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005853/1.706, allocations: 0.6869 MB / 1.002 GB, free: 120.7 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007116/1.707, allocations: 134.6 kB / 1.002 GB, free: 120.6 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/1.707, allocations: 4 kB / 1.002 GB, free: 120.6 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0516/1.758, allocations: 19.69 MB / 1.021 GB, free: 105.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.82e-05/1.758, allocations: 12 kB / 1.021 GB, free: 105.4 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02428/1.783, allocations: 8.463 MB / 1.03 GB, free: 98.93 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003057/1.786, allocations: 0.5522 MB / 1.03 GB, free: 98.47 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07656/1.862, allocations: 36.72 MB / 1.066 GB, free: 67.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005941/1.868, allocations: 0.6629 MB / 1.067 GB, free: 66.8 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006615/1.869, allocations: 131.2 kB / 1.067 GB, free: 66.68 MB / 0.5886 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.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: 65 * 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 (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.002238/1.871, allocations: 0.7316 MB / 1.067 GB, free: 65.98 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001226/1.872, allocations: 457.3 kB / 1.068 GB, free: 65.54 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05157/1.924, allocations: 20.45 MB / 1.088 GB, free: 49.73 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.084e-05/1.924, allocations: 40 kB / 1.088 GB, free: 49.69 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.245e-05/1.924, allocations: 28 kB / 1.088 GB, free: 49.66 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001035/1.924, allocations: 23.17 kB / 1.088 GB, free: 49.66 MB / 0.5886 GB 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.05955/1.984, allocations: 25.74 MB / 1.113 GB, free: 24.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-05/1.984, allocations: 0 / 1.113 GB, free: 24.98 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003091/1.987, allocations: 407.5 kB / 1.113 GB, free: 24.58 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02465/2.012, allocations: 8.55 MB / 1.122 GB, free: 16.02 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001116/2.013, allocations: 67.98 kB / 1.122 GB, free: 15.96 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3552/2.368, allocations: 32.22 MB / 1.153 GB, free: 142.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/2.368, allocations: 0.9062 kB / 1.153 GB, free: 142.3 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06236/2.43, allocations: 24.12 MB / 1.177 GB, free: 141.8 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001565/2.432, allocations: 0.5646 MB / 1.177 GB, free: 141.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001116/2.433, allocations: 66.53 kB / 1.177 GB, free: 141.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004219/2.437, allocations: 491.9 kB / 1.178 GB, free: 141.6 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002703/2.44, allocations: 0.7663 MB / 1.179 GB, free: 141.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003069/2.44, allocations: 90.16 kB / 1.179 GB, free: 141.6 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.002793/2.443, allocations: 2.096 MB / 1.181 GB, free: 141.4 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/2.443, allocations: 3.875 kB / 1.181 GB, free: 141.4 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.007649/2.451, allocations: 2.875 MB / 1.184 GB, free: 141.2 MB / 0.6042 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 () * Number of clocked 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.000568/2.452, allocations: 210.8 kB / 1.184 GB, free: 141.2 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.04018/2.492, allocations: 16.93 MB / 1.2 GB, free: 139.9 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/2.492, allocations: 0 / 1.2 GB, free: 139.9 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.01812/2.51, allocations: 6.918 MB / 1.207 GB, free: 139.3 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003787/2.514, allocations: 319.9 kB / 1.207 GB, free: 139.3 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01805/2.532, allocations: 9.824 MB / 1.217 GB, free: 134.4 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002977/2.535, allocations: 2.583 MB / 1.22 GB, free: 133.6 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.003107/2.538, allocations: 356.5 kB / 1.22 GB, free: 133.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001204/2.539, allocations: 203.8 kB / 1.22 GB, free: 133.5 MB / 0.6042 GB Notification: Performance of SimCode: time 1.513e-06/2.539, allocations: 0 / 1.22 GB, free: 133.5 MB / 0.6042 GB Notification: Performance of Templates: time 0.1469/2.686, allocations: 106 MB / 1.324 GB, free: 56.25 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)