Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.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.FourthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII") [: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.002374/0.002374, allocations: 181.2 kB / 7.454 MB, free: 2.512 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.188/1.188, allocations: 221.4 MB / 229.3 MB, free: 3.012 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.0009671/0.0009669, allocations: 92.8 kB / 280.1 MB, free: 1.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4167/0.4167, allocations: 78.06 MB / 408.9 MB, free: 15.52 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.616e-06/8.707e-06, allocations: 0 / 484.3 MB, free: 4.438 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2537, allocations: 69.36 MB / 0.5407 GB, free: 21.49 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1122/0.3659, allocations: 97.87 MB / 0.6363 GB, free: 6.855 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002275/0.3662, allocations: 75.95 kB / 0.6364 GB, free: 6.781 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.3485/0.7147, allocations: 59.83 MB / 0.6948 GB, free: 97.6 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000194/0.7149, allocations: 51.03 kB / 0.6948 GB, free: 97.6 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: 487 * Number of variables: 487 Notification: Performance of Generate backend data structure: time 0.01219/0.7271, allocations: 3.893 MB / 0.6986 GB, free: 96.31 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.7272, allocations: 7.812 kB / 0.6987 GB, free: 96.31 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01076/0.7379, allocations: 1.644 MB / 0.7003 GB, free: 96.1 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003229/0.7412, allocations: 1.477 MB / 0.7017 GB, free: 95.6 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005344/0.7417, allocations: 0.6174 MB / 0.7023 GB, free: 95.09 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006637/0.7424, allocations: 121 kB / 0.7024 GB, free: 95.08 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004947/0.7474, allocations: 2.074 MB / 0.7044 GB, free: 95.07 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004265/0.7517, allocations: 2.144 MB / 0.7065 GB, free: 94.23 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.259e-05/0.7517, allocations: 0.9375 kB / 0.7065 GB, free: 94.23 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002314/0.7519, allocations: 0 / 0.7065 GB, free: 94.23 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.552e-05/0.752, allocations: 49.17 kB / 0.7066 GB, free: 94.23 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01809/0.7701, allocations: 9.488 MB / 0.7158 GB, free: 88.78 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003598/0.7737, allocations: 1.933 MB / 0.7177 GB, free: 87.89 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002056/0.7758, allocations: 1.361 MB / 0.7191 GB, free: 87.21 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002783/0.7761, allocations: 40.89 kB / 0.7191 GB, free: 87.21 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.7761, allocations: 60.03 kB / 0.7192 GB, free: 87.14 MB / 490.7 MB Notification: Performance of pre-optimization done (n=228): time 4.428e-06/0.7761, allocations: 0 / 0.7192 GB, free: 87.14 MB / 490.7 MB Notification: Performance of matching and sorting (n=228): time 0.0389/0.8151, allocations: 12.71 MB / 0.7316 GB, free: 74.88 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/0.8151, allocations: 132.8 kB / 0.7317 GB, free: 74.73 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002054/0.8172, allocations: 1.475 MB / 0.7331 GB, free: 73.23 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005257/0.8177, allocations: 29.7 kB / 0.7332 GB, free: 73.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00029/0.818, allocations: 0.6516 MB / 0.7338 GB, free: 72.54 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001011/0.819, allocations: 0.758 MB / 0.7345 GB, free: 71.77 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000195/0.8192, allocations: 3.938 kB / 0.7346 GB, free: 71.76 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.899e-05/0.8193, allocations: 390.2 kB / 0.7349 GB, free: 71.38 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001842/0.8212, allocations: 1.117 MB / 0.736 GB, free: 70.25 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00195/0.8231, allocations: 1.412 MB / 0.7374 GB, free: 68.74 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001919/0.8251, allocations: 1.226 MB / 0.7386 GB, free: 67.51 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.8251, allocations: 0 / 0.7386 GB, free: 67.51 MB / 490.7 MB Notification: Performance of matching and sorting (n=276) (initialization): time 0.03924/0.8643, allocations: 12.82 MB / 0.7511 GB, free: 54.71 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003517/0.8647, allocations: 2.729 MB / 0.7538 GB, free: 51.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.8647, allocations: 4 kB / 0.7538 GB, free: 51.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01753/0.8823, allocations: 5.187 MB / 0.7588 GB, free: 46.62 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001854/0.8842, allocations: 323.5 kB / 0.7591 GB, free: 46.31 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04003/0.9242, allocations: 15.49 MB / 0.7743 GB, free: 30.74 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003836/0.9281, allocations: 489.8 kB / 0.7747 GB, free: 30.26 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005281/0.9286, allocations: 71.98 kB / 0.7748 GB, free: 30.19 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.275e-06/0.9286, allocations: 4 kB / 0.7748 GB, free: 30.19 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03959/0.9682, allocations: 12.52 MB / 0.7871 GB, free: 17.69 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.549e-05/0.9683, allocations: 4 kB / 0.7871 GB, free: 17.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01727/0.9856, allocations: 5.188 MB / 0.7921 GB, free: 12.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00176/0.9874, allocations: 319.5 kB / 0.7924 GB, free: 12.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0412/1.029, allocations: 15.48 MB / 0.8075 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004122/1.033, allocations: 462.1 kB / 0.808 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006031/1.033, allocations: 75.97 kB / 0.8081 GB, free: 12.04 MB / 0.4948 GB Warning: Assuming fixed start value for the following 7 variables: Exc2.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Exc1.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real order4_1.e1d:VARIABLE(start = order4_1.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4_1.e1q:VARIABLE(start = order4_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order4_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" 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 (186): * Single equations (assignments): 185 * Array equations: 0 * Algorithm blocks: 0 * 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 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.0009523/1.034, allocations: 150.8 kB / 0.8082 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009646/1.035, allocations: 268.6 kB / 0.8085 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04219/1.077, allocations: 12.96 MB / 0.8211 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.194e-05/1.078, allocations: 24 kB / 0.8211 GB, free: 14.65 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-05/1.078, allocations: 20 kB / 0.8211 GB, free: 14.63 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.143e-05/1.078, allocations: 11.95 kB / 0.8212 GB, free: 14.62 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04866/1.126, allocations: 16.11 MB / 0.8369 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.599e-05/1.126, allocations: 4 kB / 0.8369 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001866/1.128, allocations: 255.6 kB / 0.8371 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01706/1.145, allocations: 4.982 MB / 0.842 GB, free: 9.234 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004957/1.146, allocations: 11.98 kB / 0.842 GB, free: 9.223 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03766/1.184, allocations: 13.72 MB / 0.8554 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/1.184, allocations: 3.938 kB / 0.8554 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04611/1.23, allocations: 14.9 MB / 0.87 GB, free: 12.44 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009404/1.231, allocations: 377.1 kB / 0.8703 GB, free: 12.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009694/1.232, allocations: 4 kB / 0.8703 GB, free: 12.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003602/1.235, allocations: 363.7 kB / 0.8707 GB, free: 11.69 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001061/1.236, allocations: 317.3 kB / 0.871 GB, free: 11.38 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003546/1.237, allocations: 63.92 kB / 0.871 GB, free: 11.32 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.001933/1.239, allocations: 1.106 MB / 0.8721 GB, free: 10.2 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004745/1.243, allocations: 1.528 MB / 0.8736 GB, free: 8.668 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 15 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,Exc1.vm,Exc1.vr,Exc1.vf1,Exc2.vm,Exc2.vr,Exc2.vf1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 146 * Array equations: 0 * Algorithm blocks: 0 * 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.0004896/1.244, allocations: 150.8 kB / 0.8738 GB, free: 8.512 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02832/1.272, allocations: 9.118 MB / 0.8827 GB, free: 15.36 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/1.272, allocations: 4.375 kB / 0.8827 GB, free: 15.36 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01242/1.285, allocations: 3.798 MB / 0.8864 GB, free: 11.55 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001885/1.287, allocations: 156.1 kB / 0.8865 GB, free: 11.39 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01285/1.299, allocations: 4.08 MB / 0.8905 GB, free: 7.254 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002096/1.302, allocations: 1.823 MB / 0.8923 GB, free: 5.395 MB / 0.573 GB Notification: Performance of SimCode: time 7.41e-07/1.302, allocations: 0 / 0.8923 GB, free: 5.395 MB / 0.573 GB Notification: Performance of Templates: time 0.2593/1.561, allocations: 73.29 MB / 0.9639 GB, free: 203.4 MB / 0.573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe 2>&1)