Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_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.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001647/0.001647, allocations: 174.6 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.247/1.247, allocations: 205.2 MB / 218.5 MB, free: 9.219 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.0008005/0.0008005, allocations: 82.59 kB / 266.6 MB, free: 9.289 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.06755/0.06755, allocations: 12.59 MB / 327.3 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.2945/0.2945, allocations: 78.02 MB / 456.1 MB, free: 14.91 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.399e-05/2.403e-05, allocations: 7.938 kB / 0.5218 GB, free: 23.78 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.102, allocations: 69.32 MB / 0.5895 GB, free: 2.5 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3949/0.4969, allocations: 99.72 MB / 0.6869 GB, free: 15.77 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001925/0.4972, allocations: 81.95 kB / 0.6869 GB, free: 15.73 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08042/0.5776, allocations: 29.18 MB / 0.7154 GB, free: 7.113 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.5776, allocations: 0 / 0.7154 GB, free: 7.113 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.816e-05/0.5777, allocations: 20 kB / 0.7155 GB, free: 7.094 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.004188/0.5819, allocations: 1.699 MB / 0.7171 GB, free: 5.445 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.582, allocations: 11.98 kB / 0.7171 GB, free: 5.434 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003522/0.5855, allocations: 0.5614 MB / 0.7177 GB, free: 4.914 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001354/0.5869, allocations: 0.772 MB / 0.7184 GB, free: 4.258 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000251/0.5872, allocations: 237.2 kB / 0.7186 GB, free: 4.02 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001764/0.5874, allocations: 73.25 kB / 0.7187 GB, free: 3.973 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001577/0.5889, allocations: 0.9208 MB / 0.7196 GB, free: 3.363 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.589, allocations: 0 / 0.7196 GB, free: 3.363 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.133e-05/0.5891, allocations: 38.56 kB / 0.7197 GB, free: 3.352 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.11e-05/0.5891, allocations: 19.95 kB / 0.7197 GB, free: 3.332 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001477/0.5906, allocations: 0.8439 MB / 0.7205 GB, free: 2.793 MB / 458.7 MB 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.007059/0.5977, allocations: 3.83 MB / 0.7242 GB, free: 15.71 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007413/0.6051, allocations: 2.591 MB / 0.7268 GB, free: 13.34 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009676/0.6061, allocations: 0.538 MB / 0.7273 GB, free: 13.05 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000119/0.6062, allocations: 20.77 kB / 0.7273 GB, free: 13.03 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.6063, allocations: 46.78 kB / 0.7274 GB, free: 12.98 MB / 474.7 MB Notification: Performance of pre-optimization done (n=92): time 3.436e-06/0.6063, allocations: 0 / 0.7274 GB, free: 12.98 MB / 474.7 MB Notification: Performance of matching and sorting (n=92): time 0.01229/0.6186, allocations: 3.888 MB / 0.7312 GB, free: 9.609 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.352e-05/0.6187, allocations: 152.7 kB / 0.7313 GB, free: 9.434 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001438/0.6202, allocations: 0.8836 MB / 0.7322 GB, free: 8.766 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002055/0.6204, allocations: 43.33 kB / 0.7322 GB, free: 8.73 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003261/0.6207, allocations: 0.5088 MB / 0.7327 GB, free: 8.453 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003584/0.6211, allocations: 332.2 kB / 0.733 GB, free: 8.168 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.694e-05/0.6212, allocations: 16.75 kB / 0.733 GB, free: 8.164 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.6213, allocations: 340.3 kB / 0.7334 GB, free: 7.84 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000754/0.622, allocations: 442 kB / 0.7338 GB, free: 7.598 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008041/0.6229, allocations: 0.5568 MB / 0.7343 GB, free: 7.203 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008181/0.6237, allocations: 0.5365 MB / 0.7348 GB, free: 6.855 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/0.6237, allocations: 4 kB / 0.7349 GB, free: 6.852 MB / 474.7 MB Notification: Performance of matching and sorting (n=116) (initialization): time 0.0124/0.6361, allocations: 4.058 MB / 0.7388 GB, free: 3.336 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004981/0.6366, allocations: 1.205 MB / 0.74 GB, free: 2.062 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.6367, allocations: 4 kB / 0.74 GB, free: 2.059 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00534/0.642, allocations: 1.47 MB / 0.7414 GB, free: 0.7812 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009238/0.643, allocations: 159.5 kB / 0.7416 GB, free: 0.6289 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0137/0.6567, allocations: 6.576 MB / 0.748 GB, free: 11.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001563/0.6583, allocations: 195.2 kB / 0.7482 GB, free: 10.95 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/0.6584, allocations: 35.98 kB / 0.7482 GB, free: 10.92 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.829e-06/0.6584, allocations: 4 kB / 0.7482 GB, free: 10.91 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01216/0.6706, allocations: 3.93 MB / 0.7521 GB, free: 6.969 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/0.6706, allocations: 4 kB / 0.7521 GB, free: 6.965 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005097/0.6757, allocations: 1.472 MB / 0.7535 GB, free: 5.488 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008356/0.6766, allocations: 151.8 kB / 0.7537 GB, free: 5.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01345/0.69, allocations: 6.569 MB / 0.7601 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001504/0.6916, allocations: 187.3 kB / 0.7602 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001349/0.6917, allocations: 35.98 kB / 0.7603 GB, free: 14.41 MB / 0.4948 GB Warning: Assuming fixed start value for the following 4 variables: order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3.delta:VARIABLE(start = order3.delta0 unit = "rad" ) "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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * 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 {18 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003296/0.6921, allocations: 190.6 kB / 0.7605 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002831/0.6923, allocations: 126.4 kB / 0.7606 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01229/0.7046, allocations: 4.001 MB / 0.7645 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.7047, allocations: 8 kB / 0.7645 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.7047, allocations: 8 kB / 0.7645 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.52e-05/0.7047, allocations: 3.984 kB / 0.7645 GB, free: 10.05 MB / 0.4948 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.01426/0.719, allocations: 5.618 MB / 0.77 GB, free: 4.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.719, allocations: 0 / 0.77 GB, free: 4.32 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006669/0.7197, allocations: 111.9 kB / 0.7701 GB, free: 4.211 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004686/0.7244, allocations: 1.422 MB / 0.7715 GB, free: 2.785 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001152/0.7245, allocations: 24 kB / 0.7715 GB, free: 2.762 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01181/0.7363, allocations: 5.744 MB / 0.7771 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.175e-06/0.7364, allocations: 0 / 0.7771 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01332/0.7497, allocations: 4.713 MB / 0.7817 GB, free: 8.121 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004704/0.7502, allocations: 227.3 kB / 0.7819 GB, free: 7.879 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003319/0.7506, allocations: 20.19 kB / 0.782 GB, free: 7.859 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001364/0.7519, allocations: 143.9 kB / 0.7821 GB, free: 7.719 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005764/0.7525, allocations: 180.4 kB / 0.7823 GB, free: 7.539 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001141/0.7527, allocations: 24 kB / 0.7823 GB, free: 7.516 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001162/0.7538, allocations: 0.6856 MB / 0.783 GB, free: 6.82 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.4e-07/0.7538, allocations: 0 / 0.783 GB, free: 6.82 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002144/0.756, allocations: 0.667 MB / 0.7836 GB, free: 6.152 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,aVRTypeII.firstOrder.y,aVRTypeII.firstOrder2.y,aVRTypeII.transferFunction.x_scaled[1],aVRTypeII.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 64 * 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 {(20,23.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003208/0.7563, allocations: 156.6 kB / 0.7838 GB, free: 5.988 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009035/0.7654, allocations: 3.565 MB / 0.7872 GB, free: 2.352 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.201e-06/0.7654, allocations: 0 / 0.7872 GB, free: 2.352 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003899/0.7693, allocations: 1.436 MB / 0.7886 GB, free: 0.8828 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008495/0.7702, allocations: 112.5 kB / 0.7888 GB, free: 0.7695 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003457/0.7737, allocations: 1.716 MB / 0.7904 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008203/0.7745, allocations: 1.154 MB / 0.7916 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0009223/0.7755, allocations: 197.8 kB / 0.7917 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002005/0.7757, allocations: 59.42 kB / 0.7918 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of SimCode: time 5.11e-07/0.7757, allocations: 4 kB / 0.7918 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of Templates: time 0.04254/0.8182, allocations: 27.75 MB / 0.8189 GB, free: 1.812 MB / 0.5417 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe 2>&1)