Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002195/0.002195, allocations: 186.6 kB / 7.456 MB, free: 2.52 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.207/1.207, allocations: 221.4 MB / 229.3 MB, free: 3.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009304/0.0009304, allocations: 101.5 kB / 280.1 MB, free: 1.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4639/0.4639, allocations: 78.06 MB / 409 MB, free: 15.52 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.69e-06/5.901e-06, allocations: 0 / 484.3 MB, free: 4.441 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2561, allocations: 69.35 MB / 0.5407 GB, free: 21.68 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1134/0.3695, allocations: 99.73 MB / 0.6381 GB, free: 5.164 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001824/0.3697, allocations: 79.95 kB / 0.6382 GB, free: 5.086 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.3704/0.7402, allocations: 66.72 MB / 0.7033 GB, free: 98.07 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002796/0.7405, allocations: 55.47 kB / 0.7034 GB, free: 98.07 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 519 * Number of variables: 519 Notification: Performance of Generate backend data structure: time 0.01466/0.7552, allocations: 4.205 MB / 0.7075 GB, free: 95.92 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.7552, allocations: 13.66 kB / 0.7075 GB, free: 95.92 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01205/0.7673, allocations: 1.672 MB / 0.7092 GB, free: 95.13 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004667/0.772, allocations: 1.686 MB / 0.7108 GB, free: 93.93 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006255/0.7726, allocations: 0.6197 MB / 0.7114 GB, free: 93.39 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008/0.7735, allocations: 131.9 kB / 0.7115 GB, free: 93.38 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005013/0.7785, allocations: 2.232 MB / 0.7137 GB, free: 92.37 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005318/0.7838, allocations: 2.301 MB / 0.716 GB, free: 91.05 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.656e-05/0.7839, allocations: 1.25 kB / 0.716 GB, free: 91.05 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003028/0.7842, allocations: 0 / 0.716 GB, free: 91.05 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-05/0.7843, allocations: 49 kB / 0.716 GB, free: 91.05 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01936/0.8036, allocations: 10.02 MB / 0.7258 GB, free: 81.46 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002561/0.8062, allocations: 1.583 MB / 0.7273 GB, free: 79.84 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001996/0.8082, allocations: 1.47 MB / 0.7288 GB, free: 78.37 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002916/0.8085, allocations: 41.64 kB / 0.7288 GB, free: 78.33 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.8086, allocations: 68.55 kB / 0.7289 GB, free: 78.26 MB / 490.7 MB Notification: Performance of pre-optimization done (n=244): time 4.438e-06/0.8086, allocations: 0 / 0.7289 GB, free: 78.26 MB / 490.7 MB Notification: Performance of matching and sorting (n=244): time 0.03978/0.8484, allocations: 12.9 MB / 0.7415 GB, free: 65.36 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.01e-05/0.8485, allocations: 239.6 kB / 0.7417 GB, free: 65.08 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002495/0.851, allocations: 1.733 MB / 0.7434 GB, free: 63.34 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005179/0.8515, allocations: 33.69 kB / 0.7434 GB, free: 63.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003146/0.8518, allocations: 0.6998 MB / 0.7441 GB, free: 62.59 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001141/0.853, allocations: 0.812 MB / 0.7449 GB, free: 61.77 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000216/0.8532, allocations: 3.938 kB / 0.7449 GB, free: 61.76 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.571e-05/0.8533, allocations: 398.6 kB / 0.7453 GB, free: 61.37 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002048/0.8553, allocations: 1.215 MB / 0.7465 GB, free: 60.15 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002187/0.8575, allocations: 1.507 MB / 0.7479 GB, free: 58.54 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002149/0.8597, allocations: 1.332 MB / 0.7492 GB, free: 57.18 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.732e-06/0.8597, allocations: 0 / 0.7492 GB, free: 57.18 MB / 490.7 MB Notification: Performance of matching and sorting (n=302) (initialization): time 0.03995/0.8997, allocations: 13.03 MB / 0.762 GB, free: 44.11 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000396/0.9001, allocations: 2.763 MB / 0.7647 GB, free: 41.15 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.671e-05/0.9001, allocations: 4 kB / 0.7647 GB, free: 41.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01698/0.9171, allocations: 5.147 MB / 0.7697 GB, free: 36 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002191/0.9193, allocations: 375.5 kB / 0.7701 GB, free: 35.63 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03845/0.9578, allocations: 16.5 MB / 0.7862 GB, free: 18.89 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004514/0.9623, allocations: 0.5017 MB / 0.7867 GB, free: 18.39 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004258/0.9628, allocations: 87.97 kB / 0.7868 GB, free: 18.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.506e-06/0.9628, allocations: 4 kB / 0.7868 GB, free: 18.3 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03902/1.002, allocations: 12.7 MB / 0.7992 GB, free: 5.586 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.172e-05/1.002, allocations: 4 kB / 0.7992 GB, free: 5.582 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01721/1.019, allocations: 5.146 MB / 0.8042 GB, free: 440 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002123/1.021, allocations: 355.5 kB / 0.8045 GB, free: 84 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04265/1.064, allocations: 16.49 MB / 0.8206 GB, free: 15.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004412/1.068, allocations: 489.8 kB / 0.8211 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003424/1.069, allocations: 87.97 kB / 0.8212 GB, free: 14.78 MB / 0.5105 GB Warning: Assuming fixed start value for the following 6 variables: Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Syn2.delta:VARIABLE(start = Syn2.delta0 unit = "rad" ) "Rotor angle" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(start = order2.delta0 unit = "rad" ) "Rotor angle" type: Real order3_2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (213): * Single equations (assignments): 207 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {63 26} Notification: Performance of prepare postOptimizeDAE: time 0.0006952/1.069, allocations: 205.2 kB / 0.8214 GB, free: 14.56 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000662/1.07, allocations: 296.3 kB / 0.8217 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04254/1.113, allocations: 13.18 MB / 0.8345 GB, free: 1.086 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.311e-05/1.113, allocations: 24 kB / 0.8345 GB, free: 1.062 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.59e-05/1.113, allocations: 20 kB / 0.8346 GB, free: 1.043 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.77e-05/1.113, allocations: 15.89 kB / 0.8346 GB, free: 1.027 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04852/1.161, allocations: 16.71 MB / 0.8509 GB, free: 300 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.181e-05/1.161, allocations: 0 / 0.8509 GB, free: 300 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00209/1.163, allocations: 287.5 kB / 0.8512 GB, free: 12 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01694/1.18, allocations: 4.97 MB / 0.856 GB, free: 11.03 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005613/1.181, allocations: 15.98 kB / 0.8561 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03676/1.218, allocations: 13.74 MB / 0.8695 GB, free: 13.16 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/1.218, allocations: 3.984 kB / 0.8695 GB, free: 13.16 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.196/1.414, allocations: 15.2 MB / 0.8843 GB, free: 188.8 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001018/1.415, allocations: 411.3 kB / 0.8847 GB, free: 188.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000658/1.416, allocations: 9.266 kB / 0.8847 GB, free: 188.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003447/1.419, allocations: 388.8 kB / 0.8851 GB, free: 188.7 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008886/1.42, allocations: 326.2 kB / 0.8854 GB, free: 188.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002656/1.42, allocations: 59 kB / 0.8855 GB, free: 188.7 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.001629/1.422, allocations: 1.3 MB / 0.8867 GB, free: 188.5 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003786/1.426, allocations: 1.615 MB / 0.8883 GB, free: 188.5 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,Syn2.e2q,Syn2.e2d,Exc1.firstOrder.y,Exc1.firstOrder2.y,Exc1.transferFunction.x_scaled[1],Exc1.transferFunction.x_scaled[2],Exc2.firstOrder.y,Exc2.firstOrder2.y,Exc2.transferFunction.x_scaled[1],Exc2.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (165): * Single equations (assignments): 162 * 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: 1 {(63,8.1%) 25} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004151/1.426, allocations: 154.8 kB / 0.8884 GB, free: 188.4 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02735/1.453, allocations: 9.863 MB / 0.8981 GB, free: 187.6 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.241e-06/1.453, allocations: 0 / 0.8981 GB, free: 187.6 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01191/1.465, allocations: 3.945 MB / 0.9019 GB, free: 187.3 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001789/1.467, allocations: 196.1 kB / 0.9021 GB, free: 187.3 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01105/1.478, allocations: 4.439 MB / 0.9065 GB, free: 186.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001864/1.48, allocations: 1.959 MB / 0.9084 GB, free: 185.4 MB / 0.5573 GB Notification: Performance of SimCode: time 1.423e-06/1.48, allocations: 7.266 kB / 0.9084 GB, free: 185.4 MB / 0.5573 GB Notification: Performance of Templates: time 0.1123/1.592, allocations: 77.48 MB / 0.984 GB, free: 157.7 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe 2>&1)