Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_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.OEL.AVRTypeII_OEL_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test") translateModel(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_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.002013/0.002013, allocations: 175.7 kB / 7.46 MB, free: 2.484 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.049/1.049, allocations: 221.4 MB / 229.3 MB, free: 3.039 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.0008186/0.0008185, allocations: 105.7 kB / 280.1 MB, free: 1.309 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3646/0.3646, allocations: 78.09 MB / 409 MB, free: 15.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.079e-06/5.099e-06, allocations: 0 / 484.4 MB, free: 4.555 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/0.2205, allocations: 69.34 MB / 0.5408 GB, free: 21.52 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09614/0.3167, allocations: 101.9 MB / 0.6403 GB, free: 3.047 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001706/0.3169, allocations: 83.95 kB / 0.6403 GB, free: 2.965 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.2466/0.5635, allocations: 35.76 MB / 0.6753 GB, free: 104.1 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.304e-05/0.5636, allocations: 30.91 kB / 0.6753 GB, free: 104.1 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.004167/0.5678, allocations: 2.011 MB / 0.6772 GB, free: 103.4 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.674e-05/0.5678, allocations: 7.75 kB / 0.6773 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002999/0.5708, allocations: 0.5999 MB / 0.6778 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001347/0.5722, allocations: 0.8876 MB / 0.6787 GB, free: 102.9 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000249/0.5724, allocations: 307.3 kB / 0.679 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/0.5726, allocations: 55.97 kB / 0.6791 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001367/0.5739, allocations: 0.9264 MB / 0.68 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00135/0.5753, allocations: 0.9666 MB / 0.6809 GB, free: 102.6 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.5753, allocations: 0 / 0.6809 GB, free: 102.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.665e-05/0.5754, allocations: 6.234 kB / 0.6809 GB, free: 102.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/0.5754, allocations: 26.48 kB / 0.6809 GB, free: 102.6 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005474/0.5809, allocations: 4.124 MB / 0.685 GB, free: 101.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001476/0.5824, allocations: 0.8186 MB / 0.6858 GB, free: 101.4 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007363/0.5832, allocations: 0.6306 MB / 0.6864 GB, free: 101.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000104/0.5833, allocations: 20.92 kB / 0.6864 GB, free: 101.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008888/0.5842, allocations: 0.7346 MB / 0.6871 GB, free: 101.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=108): time 2.014e-06/0.5842, allocations: 0 / 0.6871 GB, free: 101.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=108): time 0.01243/0.5966, allocations: 4.616 MB / 0.6916 GB, free: 100.9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.618e-05/0.5966, allocations: 113.8 kB / 0.6917 GB, free: 100.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008094/0.5975, allocations: 0.7833 MB / 0.6925 GB, free: 100.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.46e-05/0.5975, allocations: 25.7 kB / 0.6925 GB, free: 100.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.5977, allocations: 344.3 kB / 0.6928 GB, free: 100.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002591/0.5979, allocations: 367.2 kB / 0.6932 GB, free: 100.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.454e-05/0.598, allocations: 1.219 kB / 0.6932 GB, free: 100.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.275e-05/0.5981, allocations: 350.7 kB / 0.6935 GB, free: 99.78 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007019/0.5988, allocations: 0.502 MB / 0.694 GB, free: 99.55 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000751/0.5995, allocations: 0.6321 MB / 0.6946 GB, free: 99.18 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00073/0.6003, allocations: 0.5417 MB / 0.6952 GB, free: 98.93 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.6003, allocations: 3.906 kB / 0.6952 GB, free: 98.93 MB / 490.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.01281/0.6131, allocations: 4.672 MB / 0.6997 GB, free: 97.87 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.6131, allocations: 5.156 kB / 0.6997 GB, free: 97.87 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.6131, allocations: 2.844 kB / 0.6997 GB, free: 97.87 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006027/0.6192, allocations: 1.866 MB / 0.7016 GB, free: 97.49 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/0.6202, allocations: 215.3 kB / 0.7018 GB, free: 97.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01434/0.6345, allocations: 7.108 MB / 0.7087 GB, free: 93.85 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0015/0.6361, allocations: 228.9 kB / 0.7089 GB, free: 93.79 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001111/0.6362, allocations: 40.09 kB / 0.709 GB, free: 93.78 MB / 490.7 MB Warning: Assuming fixed start value for the following 3 variables: generator.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real exciter_Type_II.firstOrder2.y:VARIABLE(start = exciter_Type_II.firstOrder2.y_start ) "Connector of Real output signal" type: Real generator.e1d:VARIABLE(start = generator.e1d0 unit = "1" ) "d-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,oXL.limIntegrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 95 * 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.0002496/0.6364, allocations: 154.9 kB / 0.7091 GB, free: 93.64 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001761/0.6366, allocations: 137.2 kB / 0.7092 GB, free: 93.57 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01285/0.6495, allocations: 4.742 MB / 0.7139 GB, free: 91.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.086e-06/0.6495, allocations: 8 kB / 0.7139 GB, free: 91.49 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.6495, allocations: 4 kB / 0.7139 GB, free: 91.48 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.6495, allocations: 3.656 kB / 0.7139 GB, free: 91.48 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01362/0.6631, allocations: 6.365 MB / 0.7201 GB, free: 86.45 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.6632, allocations: 1.938 kB / 0.7201 GB, free: 86.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006779/0.6638, allocations: 140.3 kB / 0.7202 GB, free: 86.34 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005126/0.669, allocations: 1.888 MB / 0.7221 GB, free: 84.82 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.683e-05/0.6691, allocations: 4 kB / 0.7221 GB, free: 84.81 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01387/0.683, allocations: 7.851 MB / 0.7298 GB, free: 77.51 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.683, allocations: 4.516 kB / 0.7298 GB, free: 77.5 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0135/0.6965, allocations: 5.625 MB / 0.7353 GB, free: 71.93 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002759/0.6968, allocations: 223.2 kB / 0.7355 GB, free: 71.69 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002172/0.697, allocations: 4 kB / 0.7355 GB, free: 71.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001312/0.6983, allocations: 183.8 kB / 0.7356 GB, free: 71.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003256/0.6987, allocations: 148.6 kB / 0.7358 GB, free: 71.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.554e-05/0.6988, allocations: 28.19 kB / 0.7358 GB, free: 71.33 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0005956/0.6994, allocations: 0.5948 MB / 0.7364 GB, free: 70.73 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001067/0.7004, allocations: 431.3 kB / 0.7368 GB, free: 70.31 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (generator.delta,generator.w,generator.e1q,generator.e1d,exciter_Type_II.ExcitationSystem.x_scaled[1],exciter_Type_II.derivativeBlock.x,exciter_Type_II.firstOrder2.y,exciter_Type_II.simpleLagLim.state,oXL.limIntegrator.y) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 64 * 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 13,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002193/0.7007, allocations: 141.6 kB / 0.7369 GB, free: 70.17 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004608/0.7053, allocations: 2.188 MB / 0.7391 GB, free: 67.98 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.7053, allocations: 0 / 0.7391 GB, free: 67.98 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003799/0.7091, allocations: 1.681 MB / 0.7407 GB, free: 66.29 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005376/0.7096, allocations: 90.84 kB / 0.7408 GB, free: 66.21 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003803/0.7135, allocations: 1.923 MB / 0.7427 GB, free: 64.27 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006555/0.7141, allocations: 1.226 MB / 0.7439 GB, free: 63.02 MB / 490.7 MB Notification: Performance of SimCode: time 2.5e-07/0.7141, allocations: 0 / 0.7439 GB, free: 63.02 MB / 490.7 MB Notification: Performance of Templates: time 0.03224/0.7464, allocations: 22.2 MB / 0.7656 GB, free: 41.06 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.sim & ./OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1)