Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.TwoArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.002788/0.002788, allocations: 180.8 kB / 7.456 MB, free: 2.508 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.201/1.201, allocations: 221.4 MB / 229.3 MB, free: 3.02 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.000953/0.0009532, allocations: 100.7 kB / 280.1 MB, free: 1.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4059/0.4059, allocations: 78.06 MB / 409 MB, free: 15.5 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.217e-06/9.257e-06, allocations: 4 kB / 484.3 MB, free: 4.438 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.2522, allocations: 69.35 MB / 0.5407 GB, free: 21.43 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.116/0.3682, allocations: 102 MB / 0.6403 GB, free: 2.852 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002876/0.3686, allocations: 79.95 kB / 0.6404 GB, free: 2.773 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.441/0.8096, allocations: 99.96 MB / 0.738 GB, free: 70.03 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003181/0.8099, allocations: 88 kB / 0.7381 GB, free: 69.94 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.01898/0.8289, allocations: 6.028 MB / 0.744 GB, free: 63.84 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.829, allocations: 12.03 kB / 0.744 GB, free: 63.82 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01925/0.8482, allocations: 2.927 MB / 0.7469 GB, free: 60.89 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005142/0.8534, allocations: 2.273 MB / 0.7491 GB, free: 58.54 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008141/0.8542, allocations: 0.8792 MB / 0.75 GB, free: 57.52 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001237/0.8555, allocations: 200 kB / 0.7502 GB, free: 57.33 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007497/0.863, allocations: 3.458 MB / 0.7535 GB, free: 53.87 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007469/0.8705, allocations: 3.606 MB / 0.7571 GB, free: 50.23 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-05/0.8706, allocations: 3.984 kB / 0.7571 GB, free: 50.23 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003983/0.871, allocations: 7.844 kB / 0.7571 GB, free: 50.22 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.457e-05/0.8711, allocations: 84 kB / 0.7571 GB, free: 50.14 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03201/0.9031, allocations: 18.62 MB / 0.7753 GB, free: 30.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003489/0.9066, allocations: 2.286 MB / 0.7776 GB, free: 28.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002937/0.9096, allocations: 2.128 MB / 0.7796 GB, free: 26.06 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004181/0.91, allocations: 66.92 kB / 0.7797 GB, free: 26 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003664/0.9137, allocations: 2.497 MB / 0.7821 GB, free: 23.46 MB / 490.7 MB Notification: Performance of pre-optimization done (n=385): time 5.581e-06/0.9137, allocations: 0 / 0.7821 GB, free: 23.46 MB / 490.7 MB Notification: Performance of matching and sorting (n=385): time 0.05569/0.9694, allocations: 18.41 MB / 0.8001 GB, free: 4.996 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.9694, allocations: 149.8 kB / 0.8003 GB, free: 4.824 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003511/0.973, allocations: 2.48 MB / 0.8027 GB, free: 2.332 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007327/0.9737, allocations: 25.7 kB / 0.8027 GB, free: 2.301 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00051/0.9742, allocations: 1.186 MB / 0.8039 GB, free: 1.098 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002513/0.9768, allocations: 1.262 MB / 0.8051 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003389/0.9771, allocations: 0 / 0.8051 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002591/0.9774, allocations: 441.8 kB / 0.8055 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003507/0.9809, allocations: 1.785 MB / 0.8073 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003852/0.9848, allocations: 2.353 MB / 0.8096 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003757/0.9885, allocations: 1.981 MB / 0.8115 GB, free: 9.047 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-05/0.9885, allocations: 4 kB / 0.8115 GB, free: 9.043 MB / 0.4948 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.06122/1.05, allocations: 18.52 MB / 0.8296 GB, free: 6.477 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/1.05, allocations: 4 kB / 0.8296 GB, free: 6.473 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.71e-05/1.05, allocations: 16 kB / 0.8296 GB, free: 6.457 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02876/1.079, allocations: 7.282 MB / 0.8367 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003497/1.082, allocations: 0.55 MB / 0.8372 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06977/1.152, allocations: 23.6 MB / 0.8603 GB, free: 6.746 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006557/1.159, allocations: 0.684 MB / 0.861 GB, free: 6.059 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008523/1.159, allocations: 132 kB / 0.8611 GB, free: 5.93 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.001258/1.161, allocations: 202.8 kB / 0.8613 GB, free: 5.719 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001388/1.162, allocations: 458.3 kB / 0.8617 GB, free: 5.266 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06346/1.226, allocations: 18.84 MB / 0.8801 GB, free: 2.359 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.311e-05/1.226, allocations: 40 kB / 0.8802 GB, free: 2.32 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.546e-05/1.226, allocations: 28 kB / 0.8802 GB, free: 2.293 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001117/1.226, allocations: 23.92 kB / 0.8802 GB, free: 2.27 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2324/1.458, allocations: 23.46 MB / 0.9031 GB, free: 164.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-05/1.458, allocations: 2.812 kB / 0.9031 GB, free: 164.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002806/1.461, allocations: 396.4 kB / 0.9035 GB, free: 164.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02485/1.486, allocations: 7.274 MB / 0.9106 GB, free: 164 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009542/1.487, allocations: 22.66 kB / 0.9106 GB, free: 164 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05423/1.541, allocations: 21.95 MB / 0.9321 GB, free: 161.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/1.541, allocations: 0.6562 kB / 0.9321 GB, free: 161.2 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.06437/1.606, allocations: 21.81 MB / 0.9534 GB, free: 157.6 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001387/1.607, allocations: 0.5625 MB / 0.9539 GB, free: 157.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001615/1.609, allocations: 6.062 kB / 0.9539 GB, free: 157.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005638/1.614, allocations: 485.4 kB / 0.9544 GB, free: 157.2 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001742/1.616, allocations: 463.9 kB / 0.9548 GB, free: 157.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007308/1.617, allocations: 98.97 kB / 0.9549 GB, free: 157.1 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.002851/1.62, allocations: 1.837 MB / 0.9567 GB, free: 156.3 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00624/1.626, allocations: 1.576 MB / 0.9582 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.0007711/1.627, allocations: 160.1 kB / 0.9584 GB, free: 156.2 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02317/1.65, allocations: 8.059 MB / 0.9663 GB, free: 151.7 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.329e-05/1.65, allocations: 8.125 kB / 0.9663 GB, free: 151.7 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01878/1.669, allocations: 5.959 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.002758/1.672, allocations: 240.6 kB / 0.9723 GB, free: 146.2 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01639/1.688, allocations: 6.107 MB / 0.9783 GB, free: 140.7 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002704/1.691, allocations: 2.667 MB / 0.9809 GB, free: 138.7 MB / 0.5573 GB Notification: Performance of SimCode: time 8.91e-07/1.691, allocations: 0 / 0.9809 GB, free: 138.7 MB / 0.5573 GB Notification: Performance of Templates: time 0.1035/1.794, allocations: 74.16 MB / 1.053 GB, free: 86.08 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1)