Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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.001755/0.001755, allocations: 175.9 kB / 7.46 MB, free: 2.488 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.035/1.035, allocations: 221.4 MB / 229.3 MB, free: 3.203 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.0008564/0.0008564, allocations: 100.3 kB / 280.1 MB, free: 1.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3598/0.3598, allocations: 78.1 MB / 409 MB, free: 15.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.142e-06/6.232e-06, allocations: 4 kB / 484.4 MB, free: 4.57 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.22, allocations: 69.34 MB / 0.5408 GB, free: 21.55 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09731/0.3174, allocations: 97.85 MB / 0.6363 GB, free: 7.098 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001893/0.3176, allocations: 79.95 kB / 0.6364 GB, free: 7.02 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.2967/0.6143, allocations: 59.84 MB / 0.6948 GB, free: 97.38 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001204/0.6145, allocations: 44.84 kB / 0.6949 GB, free: 97.38 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.009825/0.6243, allocations: 3.885 MB / 0.6987 GB, free: 96.09 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.905e-05/0.6244, allocations: 14 kB / 0.6987 GB, free: 96.09 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008948/0.6333, allocations: 1.641 MB / 0.7003 GB, free: 95.88 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002293/0.6356, allocations: 1.479 MB / 0.7017 GB, free: 95.39 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004311/0.6361, allocations: 0.6214 MB / 0.7023 GB, free: 94.87 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003576/0.6364, allocations: 126 kB / 0.7025 GB, free: 94.86 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003781/0.6402, allocations: 2.075 MB / 0.7045 GB, free: 94.86 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00397/0.6442, allocations: 2.143 MB / 0.7066 GB, free: 94.11 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.549e-05/0.6442, allocations: 0.8438 kB / 0.7066 GB, free: 94.11 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002064/0.6445, allocations: 4 kB / 0.7066 GB, free: 94.11 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.296e-05/0.6445, allocations: 45.88 kB / 0.7066 GB, free: 94.11 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01665/0.6612, allocations: 9.481 MB / 0.7159 GB, free: 88.86 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003322/0.6645, allocations: 1.93 MB / 0.7178 GB, free: 87.97 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001851/0.6664, allocations: 1.363 MB / 0.7191 GB, free: 87.29 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002607/0.6667, allocations: 44.95 kB / 0.7191 GB, free: 87.28 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.6667, allocations: 56.94 kB / 0.7192 GB, free: 87.22 MB / 490.7 MB Notification: Performance of pre-optimization done (n=228): time 3.657e-06/0.6667, allocations: 0 / 0.7192 GB, free: 87.22 MB / 490.7 MB Notification: Performance of matching and sorting (n=228): time 0.03469/0.7014, allocations: 12.7 MB / 0.7316 GB, free: 75.27 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.7015, allocations: 136.8 kB / 0.7317 GB, free: 75.12 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001953/0.7034, allocations: 1.475 MB / 0.7332 GB, free: 73.62 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003882/0.7038, allocations: 29.7 kB / 0.7332 GB, free: 73.59 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002478/0.7041, allocations: 0.6593 MB / 0.7338 GB, free: 72.92 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009487/0.705, allocations: 0.758 MB / 0.7346 GB, free: 72.15 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001995/0.7052, allocations: 0 / 0.7346 GB, free: 72.15 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.864e-05/0.7053, allocations: 390.2 kB / 0.735 GB, free: 71.76 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001655/0.707, allocations: 1.117 MB / 0.736 GB, free: 70.64 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001758/0.7088, allocations: 1.408 MB / 0.7374 GB, free: 69.13 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001738/0.7105, allocations: 1.226 MB / 0.7386 GB, free: 67.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.7105, allocations: 0 / 0.7386 GB, free: 67.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=276) (initialization): time 0.03475/0.7453, allocations: 12.83 MB / 0.7511 GB, free: 55.09 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003495/0.7457, allocations: 2.722 MB / 0.7538 GB, free: 52.14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.7457, allocations: 4 kB / 0.7538 GB, free: 52.13 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01507/0.7608, allocations: 5.188 MB / 0.7589 GB, free: 47.01 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001646/0.7624, allocations: 331.5 kB / 0.7592 GB, free: 46.69 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03356/0.796, allocations: 15.49 MB / 0.7743 GB, free: 31.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003157/0.7992, allocations: 477.9 kB / 0.7748 GB, free: 30.67 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000243/0.7994, allocations: 71.98 kB / 0.7748 GB, free: 30.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.603e-06/0.7995, allocations: 8 kB / 0.7748 GB, free: 30.59 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03381/0.8333, allocations: 12.52 MB / 0.7871 GB, free: 18.09 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.481e-05/0.8333, allocations: 7.938 kB / 0.7871 GB, free: 18.09 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01493/0.8483, allocations: 5.188 MB / 0.7922 GB, free: 12.89 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001567/0.8498, allocations: 311.5 kB / 0.7924 GB, free: 12.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03397/0.8838, allocations: 15.49 MB / 0.8076 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003152/0.887, allocations: 454.1 kB / 0.808 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002659/0.8873, allocations: 80.53 kB / 0.8081 GB, free: 12.44 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.0005524/0.8878, allocations: 148 kB / 0.8082 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004877/0.8883, allocations: 268.6 kB / 0.8085 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03702/0.9254, allocations: 12.96 MB / 0.8211 GB, free: 15.08 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.813e-05/0.9254, allocations: 24 kB / 0.8212 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.07e-05/0.9255, allocations: 16 kB / 0.8212 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.534e-05/0.9255, allocations: 15.95 kB / 0.8212 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04114/0.9667, allocations: 16.11 MB / 0.8369 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.484e-05/0.9667, allocations: 4 kB / 0.8369 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001623/0.9683, allocations: 251.8 kB / 0.8372 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01464/0.983, allocations: 4.978 MB / 0.842 GB, free: 9.645 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003696/0.9834, allocations: 19.92 kB / 0.842 GB, free: 9.625 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03248/1.016, allocations: 13.72 MB / 0.8554 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/1.016, allocations: 0 / 0.8554 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04079/1.057, allocations: 14.9 MB / 0.87 GB, free: 12.84 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008223/1.058, allocations: 373.2 kB / 0.8704 GB, free: 12.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004609/1.058, allocations: 4 kB / 0.8704 GB, free: 12.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002666/1.061, allocations: 363.7 kB / 0.8707 GB, free: 12.1 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007911/1.062, allocations: 313.4 kB / 0.871 GB, free: 11.79 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002231/1.062, allocations: 63.98 kB / 0.8711 GB, free: 11.73 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.001424/1.063, allocations: 1.106 MB / 0.8721 GB, free: 10.61 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003389/1.067, allocations: 1.532 MB / 0.8736 GB, free: 9.078 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.000358/1.067, allocations: 149.7 kB / 0.8738 GB, free: 8.93 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.1558/1.223, allocations: 9.125 MB / 0.8827 GB, free: 200.6 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/1.223, allocations: 2.688 kB / 0.8827 GB, free: 200.6 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01033/1.233, allocations: 3.804 MB / 0.8864 GB, free: 200.4 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001271/1.234, allocations: 148.5 kB / 0.8866 GB, free: 200.4 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009004/1.243, allocations: 4.066 MB / 0.8905 GB, free: 199.4 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001241/1.245, allocations: 1.826 MB / 0.8923 GB, free: 198.6 MB / 0.5573 GB Notification: Performance of SimCode: time 4.71e-07/1.245, allocations: 0 / 0.8923 GB, free: 198.6 MB / 0.5573 GB Notification: Performance of Templates: time 0.08449/1.329, allocations: 73.31 MB / 0.9639 GB, free: 175.6 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe 2>&1)