Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.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.TwoArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") [: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.00185/0.001851, allocations: 181.2 kB / 7.457 MB, free: 2.5 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.026/1.026, allocations: 221.4 MB / 229.3 MB, free: 3.234 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.0008359/0.0008359, allocations: 89 kB / 280.1 MB, free: 1.312 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.359/0.359, allocations: 78.1 MB / 409 MB, free: 15.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.789e-06/4.879e-06, allocations: 0 / 484.4 MB, free: 4.523 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2223, allocations: 69.34 MB / 0.5407 GB, free: 21.52 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1007/0.3231, allocations: 102 MB / 0.6404 GB, free: 2.848 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001873/0.3233, allocations: 75.95 kB / 0.6404 GB, free: 2.773 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.3948/0.7181, allocations: 99.98 MB / 0.7381 GB, free: 69.94 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002554/0.7184, allocations: 84 kB / 0.7382 GB, free: 69.86 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: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.01567/0.7341, allocations: 6.028 MB / 0.7441 GB, free: 63.75 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.012e-05/0.7341, allocations: 12.03 kB / 0.7441 GB, free: 63.74 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01657/0.7507, allocations: 2.923 MB / 0.7469 GB, free: 60.81 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003657/0.7544, allocations: 2.269 MB / 0.7491 GB, free: 58.46 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005881/0.755, allocations: 0.8831 MB / 0.75 GB, free: 57.44 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004665/0.7555, allocations: 200 kB / 0.7502 GB, free: 57.25 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00522/0.7607, allocations: 3.447 MB / 0.7536 GB, free: 53.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005348/0.766, allocations: 3.614 MB / 0.7571 GB, free: 50.16 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.887e-05/0.7661, allocations: 4 kB / 0.7571 GB, free: 50.15 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003419/0.7665, allocations: 3.906 kB / 0.7571 GB, free: 50.15 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.434e-05/0.7665, allocations: 88 kB / 0.7572 GB, free: 50.06 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02465/0.7912, allocations: 18.63 MB / 0.7754 GB, free: 30.4 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002878/0.7941, allocations: 2.278 MB / 0.7776 GB, free: 28.11 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00249/0.7966, allocations: 2.128 MB / 0.7797 GB, free: 25.97 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003606/0.7969, allocations: 70.92 kB / 0.7797 GB, free: 25.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003182/0.8001, allocations: 2.489 MB / 0.7822 GB, free: 23.37 MB / 490.7 MB Notification: Performance of pre-optimization done (n=385): time 4.779e-06/0.8001, allocations: 0 / 0.7822 GB, free: 23.37 MB / 490.7 MB Notification: Performance of matching and sorting (n=385): time 0.04813/0.8483, allocations: 18.41 MB / 0.8001 GB, free: 4.91 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.8483, allocations: 149.9 kB / 0.8003 GB, free: 4.738 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002883/0.8512, allocations: 2.476 MB / 0.8027 GB, free: 2.25 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004804/0.8517, allocations: 29.7 kB / 0.8027 GB, free: 2.215 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004404/0.8522, allocations: 1.186 MB / 0.8039 GB, free: 1.012 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001736/0.8539, allocations: 1.262 MB / 0.8051 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002684/0.8542, allocations: 0 / 0.8051 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001802/0.8544, allocations: 449.8 kB / 0.8055 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002881/0.8573, allocations: 1.785 MB / 0.8073 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003125/0.8604, allocations: 2.35 MB / 0.8096 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003085/0.8635, allocations: 1.977 MB / 0.8115 GB, free: 8.961 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.079e-05/0.8635, allocations: 8 kB / 0.8115 GB, free: 8.953 MB / 0.4948 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.05117/0.9147, allocations: 18.51 MB / 0.8296 GB, free: 6.391 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.9147, allocations: 13.41 kB / 0.8296 GB, free: 6.379 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.472e-05/0.9148, allocations: 12 kB / 0.8296 GB, free: 6.367 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02376/0.9385, allocations: 7.278 MB / 0.8367 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002855/0.9414, allocations: 0.5539 MB / 0.8373 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05607/0.9975, allocations: 23.61 MB / 0.8603 GB, free: 6.648 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005584/1.003, allocations: 0.6723 MB / 0.861 GB, free: 5.973 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007367/1.004, allocations: 136 kB / 0.8611 GB, free: 5.84 MB / 0.5417 GB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start ) "Connector of Real output signal" type: Real order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" ) "d-axis sub-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: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (334): * Single equations (assignments): 330 * 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: 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 {93 45} Notification: Performance of prepare postOptimizeDAE: time 0.0009486/1.005, allocations: 202.8 kB / 0.8613 GB, free: 5.629 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001095/1.006, allocations: 458.4 kB / 0.8617 GB, free: 5.176 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05399/1.06, allocations: 18.85 MB / 0.8802 GB, free: 2.266 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.768e-05/1.06, allocations: 39.94 kB / 0.8802 GB, free: 2.227 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.47e-05/1.06, allocations: 28 kB / 0.8802 GB, free: 2.199 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.555e-05/1.06, allocations: 19.94 kB / 0.8802 GB, free: 2.18 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1977/1.258, allocations: 23.45 MB / 0.9031 GB, free: 163.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/1.258, allocations: 3.969 kB / 0.9031 GB, free: 163.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002132/1.26, allocations: 392.4 kB / 0.9035 GB, free: 163.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02094/1.281, allocations: 7.282 MB / 0.9106 GB, free: 163.9 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004428/1.281, allocations: 26.62 kB / 0.9107 GB, free: 163.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04631/1.328, allocations: 21.95 MB / 0.9321 GB, free: 161.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/1.328, allocations: 0 / 0.9321 GB, free: 161.1 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05411/1.382, allocations: 21.8 MB / 0.9534 GB, free: 157.7 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001172/1.383, allocations: 0.5667 MB / 0.9539 GB, free: 157.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007271/1.384, allocations: 3.156 kB / 0.9539 GB, free: 157.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003955/1.388, allocations: 482.9 kB / 0.9544 GB, free: 157.3 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001098/1.389, allocations: 462.1 kB / 0.9548 GB, free: 157.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003261/1.389, allocations: 98.59 kB / 0.9549 GB, free: 157.2 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.002088/1.391, allocations: 1.839 MB / 0.9567 GB, free: 156.4 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003498/1.395, allocations: 1.58 MB / 0.9583 GB, free: 156.3 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (249): * Single equations (assignments): 246 * 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: 2 * 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: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004227/1.395, allocations: 155 kB / 0.9584 GB, free: 156.2 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01857/1.414, allocations: 8.061 MB / 0.9663 GB, free: 151.7 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/1.414, allocations: 6.438 kB / 0.9663 GB, free: 151.6 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01505/1.429, allocations: 5.955 MB / 0.9721 GB, free: 146.4 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001835/1.431, allocations: 241 kB / 0.9724 GB, free: 146.1 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01243/1.443, allocations: 6.106 MB / 0.9783 GB, free: 140.6 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002063/1.445, allocations: 2.668 MB / 0.9809 GB, free: 138.6 MB / 0.5573 GB Notification: Performance of SimCode: time 6.42e-07/1.445, allocations: 4 kB / 0.9809 GB, free: 138.6 MB / 0.5573 GB Notification: Performance of Templates: time 0.08334/1.529, allocations: 74.16 MB / 1.053 GB, free: 85.9 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1)