Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.Tests.Controls.PSAT.AVR.AVRTypeII_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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_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.00234/0.00234, allocations: 187.5 kB / 7.461 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.199/1.199, allocations: 221.4 MB / 229.3 MB, free: 3.004 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.0009248/0.0009248, allocations: 95.89 kB / 280.1 MB, free: 1.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4148/0.4148, allocations: 78.07 MB / 409 MB, free: 15.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.701e-06/5.741e-06, allocations: 0 / 484.3 MB, free: 4.492 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.254, allocations: 69.35 MB / 0.5407 GB, free: 21.43 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1157/0.3697, allocations: 100 MB / 0.6384 GB, free: 4.691 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002439/0.37, allocations: 87.94 kB / 0.6385 GB, free: 4.605 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.08737/0.4574, allocations: 29.28 MB / 0.6671 GB, free: 7.125 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.864e-05/0.4575, allocations: 28 kB / 0.6671 GB, free: 7.098 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.00613/0.4637, allocations: 1.937 MB / 0.669 GB, free: 5.098 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.4637, allocations: 8.031 kB / 0.669 GB, free: 5.09 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003948/0.4677, allocations: 0.5875 MB / 0.6696 GB, free: 4.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002023/0.4697, allocations: 0.8304 MB / 0.6704 GB, free: 3.617 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003091/0.47, allocations: 244.1 kB / 0.6706 GB, free: 3.34 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003369/0.4704, allocations: 55.89 kB / 0.6707 GB, free: 3.285 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001973/0.4724, allocations: 0.8592 MB / 0.6715 GB, free: 2.426 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001779/0.4742, allocations: 0.8954 MB / 0.6724 GB, free: 1.52 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/0.4742, allocations: 0 / 0.6724 GB, free: 1.52 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000129/0.4743, allocations: 7.984 kB / 0.6724 GB, free: 1.512 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.164e-05/0.4744, allocations: 20 kB / 0.6724 GB, free: 1.492 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1642/0.6385, allocations: 3.628 MB / 0.6759 GB, free: 141.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/0.6397, allocations: 0.6501 MB / 0.6766 GB, free: 141.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008004/0.6405, allocations: 0.597 MB / 0.6772 GB, free: 141.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001228/0.6407, allocations: 20.58 kB / 0.6772 GB, free: 141.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009884/0.6416, allocations: 0.6958 MB / 0.6779 GB, free: 141.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=102): time 4.559e-06/0.6417, allocations: 0 / 0.6779 GB, free: 141.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=102): time 0.01337/0.655, allocations: 4.493 MB / 0.6822 GB, free: 141 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.6551, allocations: 115.2 kB / 0.6824 GB, free: 140.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/0.6562, allocations: 0.7846 MB / 0.6831 GB, free: 140.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002262/0.6565, allocations: 35.73 kB / 0.6832 GB, free: 140.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001973/0.6567, allocations: 326.8 kB / 0.6835 GB, free: 140.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003919/0.6571, allocations: 349.1 kB / 0.6838 GB, free: 140.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.258e-05/0.6572, allocations: 0 / 0.6838 GB, free: 140.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.09e-05/0.6573, allocations: 346.7 kB / 0.6841 GB, free: 140 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008516/0.6581, allocations: 0.4894 MB / 0.6846 GB, free: 140 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008763/0.659, allocations: 0.601 MB / 0.6852 GB, free: 139.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009769/0.66, allocations: 0.5311 MB / 0.6857 GB, free: 139.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.66, allocations: 5.312 kB / 0.6857 GB, free: 139.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01324/0.6732, allocations: 4.6 MB / 0.6902 GB, free: 139.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.6733, allocations: 7.219 kB / 0.6902 GB, free: 139.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/0.6733, allocations: 3.312 kB / 0.6902 GB, free: 139.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006681/0.68, allocations: 1.867 MB / 0.692 GB, free: 139.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/0.6812, allocations: 191.9 kB / 0.6922 GB, free: 139.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01559/0.6968, allocations: 6.741 MB / 0.6988 GB, free: 137.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001831/0.6986, allocations: 199 kB / 0.699 GB, free: 137.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001294/0.6988, allocations: 41.45 kB / 0.699 GB, free: 137.8 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.0003249/0.6991, allocations: 148 kB / 0.6992 GB, free: 137.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002139/0.6993, allocations: 121.7 kB / 0.6993 GB, free: 137.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01417/0.7135, allocations: 4.6 MB / 0.7038 GB, free: 137.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.762e-05/0.7135, allocations: 9.625 kB / 0.7038 GB, free: 137.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.7136, allocations: 9.281 kB / 0.7038 GB, free: 137.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.1e-05/0.7136, allocations: 7.125 kB / 0.7038 GB, free: 137.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01575/0.7293, allocations: 6.152 MB / 0.7098 GB, free: 136.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/0.7294, allocations: 2.938 kB / 0.7098 GB, free: 136.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007923/0.7302, allocations: 115.8 kB / 0.7099 GB, free: 136.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005727/0.7359, allocations: 1.815 MB / 0.7117 GB, free: 136.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001408/0.7361, allocations: 10.81 kB / 0.7117 GB, free: 136.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01496/0.7511, allocations: 7.551 MB / 0.7191 GB, free: 132 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.289e-06/0.7511, allocations: 2.938 kB / 0.7191 GB, free: 132 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01457/0.7657, allocations: 5.443 MB / 0.7244 GB, free: 130.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004352/0.7661, allocations: 220.7 kB / 0.7246 GB, free: 130.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003164/0.7665, allocations: 9.812 kB / 0.7246 GB, free: 130.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00149/0.768, allocations: 148 kB / 0.7248 GB, free: 130.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003758/0.7683, allocations: 118.2 kB / 0.7249 GB, free: 130.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001146/0.7685, allocations: 34 kB / 0.7249 GB, free: 130.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0008905/0.7694, allocations: 0.5996 MB / 0.7255 GB, free: 129.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001429/0.7708, allocations: 424 kB / 0.7259 GB, free: 129.9 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.0002828/0.7711, allocations: 135.1 kB / 0.726 GB, free: 129.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006042/0.7771, allocations: 2.16 MB / 0.7281 GB, free: 129 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.7772, allocations: 3.125 kB / 0.7281 GB, free: 129 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004809/0.782, allocations: 1.643 MB / 0.7298 GB, free: 128.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007166/0.7827, allocations: 80.94 kB / 0.7298 GB, free: 128.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005116/0.7878, allocations: 1.814 MB / 0.7316 GB, free: 127.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001075/0.7889, allocations: 1.2 MB / 0.7328 GB, free: 126.6 MB / 490.7 MB Notification: Performance of SimCode: time 4.9e-07/0.7889, allocations: 0 / 0.7328 GB, free: 126.6 MB / 490.7 MB Notification: Performance of Templates: time 0.02856/0.8175, allocations: 21.16 MB / 0.7534 GB, free: 113.4 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1)