Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.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.Tests.Controls.PSAT.AVR.AVRTypeII_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test") translateModel(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test") [: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.001746/0.001746, allocations: 184.2 kB / 7.462 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.028/1.028, 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.0007944/0.0007947, allocations: 106.9 kB / 280.1 MB, free: 1.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3504/0.3504, allocations: 78.1 MB / 409 MB, free: 15.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.27e-06/5.36e-06, allocations: 0 / 484.4 MB, free: 4.551 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.229, allocations: 69.34 MB / 0.5408 GB, free: 21.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09633/0.3254, allocations: 100 MB / 0.6384 GB, free: 4.828 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000178/0.3256, allocations: 83.95 kB / 0.6385 GB, free: 4.746 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.075/0.4006, allocations: 29.28 MB / 0.6671 GB, free: 7.258 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.956e-05/0.4007, allocations: 24 kB / 0.6671 GB, free: 7.234 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.005198/0.4059, allocations: 1.937 MB / 0.669 GB, free: 5.234 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.4059, allocations: 8.031 kB / 0.669 GB, free: 5.227 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003475/0.4094, allocations: 0.5914 MB / 0.6696 GB, free: 4.633 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001759/0.4112, allocations: 0.8304 MB / 0.6704 GB, free: 3.75 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002457/0.4115, allocations: 228.1 kB / 0.6706 GB, free: 3.488 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002243/0.4117, allocations: 55.91 kB / 0.6707 GB, free: 3.434 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001679/0.4134, allocations: 0.8631 MB / 0.6715 GB, free: 2.57 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001622/0.415, allocations: 0.8954 MB / 0.6724 GB, free: 1.664 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.415, allocations: 3.938 kB / 0.6724 GB, free: 1.66 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.999e-05/0.4151, allocations: 4 kB / 0.6724 GB, free: 1.656 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.576e-05/0.4152, allocations: 16 kB / 0.6724 GB, free: 1.641 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.139/0.5542, allocations: 3.625 MB / 0.676 GB, free: 140.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009959/0.5552, allocations: 0.6557 MB / 0.6766 GB, free: 140.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007033/0.5559, allocations: 0.5965 MB / 0.6772 GB, free: 140.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001107/0.556, allocations: 22.8 kB / 0.6772 GB, free: 140.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008762/0.5569, allocations: 0.6945 MB / 0.6779 GB, free: 140.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=102): time 2.605e-06/0.5569, allocations: 0 / 0.6779 GB, free: 140.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=102): time 0.01171/0.5686, allocations: 4.495 MB / 0.6823 GB, free: 140.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.932e-05/0.5687, allocations: 122.7 kB / 0.6824 GB, free: 140.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000885/0.5696, allocations: 0.7879 MB / 0.6832 GB, free: 140.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001065/0.5697, allocations: 25.7 kB / 0.6832 GB, free: 140.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/0.5698, allocations: 327.1 kB / 0.6835 GB, free: 140.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002707/0.5701, allocations: 350.9 kB / 0.6838 GB, free: 140 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.394e-05/0.5702, allocations: 0 / 0.6838 GB, free: 140 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.818e-05/0.5703, allocations: 349.4 kB / 0.6842 GB, free: 139.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007006/0.571, allocations: 0.4888 MB / 0.6846 GB, free: 139.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007291/0.5717, allocations: 0.5998 MB / 0.6852 GB, free: 139.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000742/0.5724, allocations: 0.533 MB / 0.6858 GB, free: 139.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.5725, allocations: 0 / 0.6858 GB, free: 139.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01192/0.5844, allocations: 4.598 MB / 0.6902 GB, free: 139.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.5844, allocations: 3.938 kB / 0.6902 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.5844, allocations: 3.688 kB / 0.6902 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005866/0.5903, allocations: 1.872 MB / 0.6921 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009254/0.5912, allocations: 185.4 kB / 0.6923 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0137/0.6049, allocations: 6.755 MB / 0.6989 GB, free: 137.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001616/0.6066, allocations: 199.4 kB / 0.699 GB, free: 137.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/0.6067, allocations: 38.75 kB / 0.6991 GB, free: 137.5 MB / 490.7 MB Warning: Assuming fixed start value for the following 2 variables: order6Type2_Inputs_Outputs.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real aVRI.firstOrder2.y:VARIABLE(start = aVRI.firstOrder2.y_start ) "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (97): * Single equations (assignments): 94 * 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: 0 * Non-linear torn systems: 1 {25 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002767/0.607, allocations: 147.8 kB / 0.6992 GB, free: 137.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001908/0.6072, allocations: 126.2 kB / 0.6993 GB, free: 137.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01265/0.6199, allocations: 4.595 MB / 0.7038 GB, free: 136.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.628e-05/0.6199, allocations: 10.72 kB / 0.7038 GB, free: 136.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.6199, allocations: 0 / 0.7038 GB, free: 136.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.092e-05/0.6199, allocations: 8.344 kB / 0.7038 GB, free: 136.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01392/0.6339, allocations: 6.154 MB / 0.7099 GB, free: 136 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.6339, allocations: 0 / 0.7099 GB, free: 136 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007053/0.6346, allocations: 117.3 kB / 0.71 GB, free: 136 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004998/0.6396, allocations: 1.811 MB / 0.7117 GB, free: 135.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001122/0.6397, allocations: 6.812 kB / 0.7117 GB, free: 135.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01243/0.6522, allocations: 7.564 MB / 0.7191 GB, free: 131.6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.6522, allocations: 0 / 0.7191 GB, free: 131.6 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01276/0.665, allocations: 5.446 MB / 0.7244 GB, free: 130 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000389/0.6654, allocations: 221.5 kB / 0.7247 GB, free: 129.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002009/0.6656, allocations: 0.6562 kB / 0.7247 GB, free: 129.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00124/0.6668, allocations: 149.3 kB / 0.7248 GB, free: 129.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003204/0.6672, allocations: 124.1 kB / 0.7249 GB, free: 129.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.094e-05/0.6673, allocations: 31.11 kB / 0.7249 GB, free: 129.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.000671/0.6679, allocations: 0.599 MB / 0.7255 GB, free: 129.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001166/0.6691, allocations: 420.2 kB / 0.7259 GB, free: 129.5 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order6Type2_Inputs_Outputs.delta,order6Type2_Inputs_Outputs.w,order6Type2_Inputs_Outputs.e1q,order6Type2_Inputs_Outputs.e1d,order6Type2_Inputs_Outputs.e2q,order6Type2_Inputs_Outputs.e2d,aVRI.ExcitationSystem.x_scaled[1],aVRI.derivativeBlock.x,aVRI.firstOrder2.y,aVRI.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 61 * 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: 0 * Non-linear torn systems: 2 {26 10,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002453/0.6694, allocations: 137.3 kB / 0.7261 GB, free: 129.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005102/0.6745, allocations: 2.163 MB / 0.7282 GB, free: 128.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.6745, allocations: 1.25 kB / 0.7282 GB, free: 128.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004179/0.6787, allocations: 1.646 MB / 0.7298 GB, free: 128 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006769/0.6794, allocations: 75.3 kB / 0.7299 GB, free: 127.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004376/0.6837, allocations: 1.82 MB / 0.7316 GB, free: 127.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009789/0.6847, allocations: 1.197 MB / 0.7328 GB, free: 126.3 MB / 490.7 MB Notification: Performance of SimCode: time 4.11e-07/0.6847, allocations: 2.219 kB / 0.7328 GB, free: 126.3 MB / 490.7 MB Notification: Performance of Templates: time 0.02613/0.7109, allocations: 21.16 MB / 0.7535 GB, free: 113.6 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.sim & ./OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1)