Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.OEL.AVRTypeII_OEL_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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_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.001103/0.001103, allocations: 183.3 kB / 7.464 MB, free: 476 kB / 6.207 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 221.4 MB / 229.3 MB, free: 7.758 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009068/0.0009068, allocations: 107.8 kB / 280.1 MB, free: 5.133 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4077/0.4077, allocations: 78.06 MB / 409 MB, free: 19.39 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 5.119e-06/5.149e-06, allocations: 0 / 484.3 MB, free: 8.562 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2654/0.2655, allocations: 69.35 MB / 0.5407 GB, free: 23.91 MB / 382.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1121/0.3776, allocations: 101.9 MB / 0.6402 GB, free: 6.852 MB / 462.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002356/0.3779, allocations: 87.94 kB / 0.6403 GB, free: 6.766 MB / 462.1 MB Notification: Performance of FrontEnd: time 0.108/0.486, allocations: 35.76 MB / 0.6752 GB, free: 2.766 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.248e-05/0.4861, allocations: 35.94 kB / 0.6752 GB, free: 2.73 MB / 494.1 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.00601/0.4921, allocations: 2.011 MB / 0.6772 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.4922, allocations: 8.031 kB / 0.6772 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003966/0.4961, allocations: 0.603 MB / 0.6778 GB, free: 48 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1384/0.6346, allocations: 0.89 MB / 0.6787 GB, free: 144 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003562/0.635, allocations: 310 kB / 0.679 GB, free: 143.8 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002869/0.6353, allocations: 57.03 kB / 0.679 GB, free: 143.8 MB / 494.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001839/0.6371, allocations: 0.9291 MB / 0.6799 GB, free: 143.8 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001717/0.6388, allocations: 0.9668 MB / 0.6809 GB, free: 143.7 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.35e-05/0.6389, allocations: 1.594 kB / 0.6809 GB, free: 143.7 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001197/0.639, allocations: 7.812 kB / 0.6809 GB, free: 143.7 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.925e-05/0.639, allocations: 18.94 kB / 0.6809 GB, free: 143.7 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007051/0.6461, allocations: 4.118 MB / 0.6849 GB, free: 142.6 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001725/0.6478, allocations: 0.8193 MB / 0.6857 GB, free: 142.6 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008655/0.6487, allocations: 0.6328 MB / 0.6863 GB, free: 142.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000123/0.6488, allocations: 15.52 kB / 0.6864 GB, free: 142.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001052/0.6499, allocations: 0.7356 MB / 0.6871 GB, free: 142.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=108): time 3.657e-06/0.6499, allocations: 0 / 0.6871 GB, free: 142.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=108): time 0.01444/0.6644, allocations: 4.609 MB / 0.6916 GB, free: 142.3 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/0.6644, allocations: 128.9 kB / 0.6917 GB, free: 142.1 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/0.6656, allocations: 0.779 MB / 0.6925 GB, free: 142 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000174/0.6658, allocations: 25.7 kB / 0.6925 GB, free: 142 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001501/0.6659, allocations: 345 kB / 0.6928 GB, free: 141.8 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003698/0.6663, allocations: 371.2 kB / 0.6932 GB, free: 141.6 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.671e-05/0.6664, allocations: 0 / 0.6932 GB, free: 141.6 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.928e-05/0.6665, allocations: 350 kB / 0.6935 GB, free: 141.3 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008406/0.6673, allocations: 0.5005 MB / 0.694 GB, free: 141.3 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008698/0.6682, allocations: 0.6257 MB / 0.6946 GB, free: 141.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009595/0.6692, allocations: 0.5443 MB / 0.6951 GB, free: 141.1 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.6692, allocations: 3.719 kB / 0.6951 GB, free: 141.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.01411/0.6833, allocations: 4.672 MB / 0.6997 GB, free: 140.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.6833, allocations: 7.875 kB / 0.6997 GB, free: 140.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.6834, allocations: 0 / 0.6997 GB, free: 140.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006374/0.6897, allocations: 1.874 MB / 0.7015 GB, free: 140.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/0.6909, allocations: 210 kB / 0.7017 GB, free: 140.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01718/0.7081, allocations: 7.102 MB / 0.7087 GB, free: 139 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001893/0.71, allocations: 228.9 kB / 0.7089 GB, free: 138.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002023/0.7102, allocations: 41.62 kB / 0.7089 GB, free: 138.9 MB / 494.1 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.0003792/0.7106, allocations: 167 kB / 0.7091 GB, free: 138.8 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003142/0.7109, allocations: 136.4 kB / 0.7092 GB, free: 138.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01506/0.726, allocations: 4.742 MB / 0.7139 GB, free: 138.1 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.304e-05/0.7261, allocations: 12.06 kB / 0.7139 GB, free: 138.1 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.7261, allocations: 3 kB / 0.7139 GB, free: 138.1 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.619e-05/0.7261, allocations: 7.219 kB / 0.7139 GB, free: 138.1 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0172/0.7433, allocations: 6.351 MB / 0.7201 GB, free: 136.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.169e-05/0.7434, allocations: 0 / 0.7201 GB, free: 136.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009478/0.7443, allocations: 145.6 kB / 0.7202 GB, free: 136.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006172/0.7505, allocations: 1.89 MB / 0.7221 GB, free: 135.7 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002362/0.7508, allocations: 5.938 kB / 0.7221 GB, free: 135.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01665/0.7674, allocations: 7.847 MB / 0.7297 GB, free: 131 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.7675, allocations: 10.19 kB / 0.7297 GB, free: 131 MB / 494.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01677/0.7842, allocations: 5.614 MB / 0.7352 GB, free: 129.4 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000442/0.7847, allocations: 215.3 kB / 0.7354 GB, free: 129.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004236/0.7852, allocations: 13.45 kB / 0.7354 GB, free: 129.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001826/0.787, allocations: 179 kB / 0.7356 GB, free: 129.2 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000473/0.7875, allocations: 141.5 kB / 0.7357 GB, free: 129.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001469/0.7876, allocations: 27.09 kB / 0.7358 GB, free: 129.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 0.0009661/0.7886, allocations: 0.6008 MB / 0.7364 GB, free: 128.9 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00168/0.7903, allocations: 435.3 kB / 0.7368 GB, free: 128.9 MB / 494.1 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.0003604/0.7907, allocations: 143.5 kB / 0.7369 GB, free: 128.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006003/0.7967, allocations: 2.195 MB / 0.7391 GB, free: 127.9 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.7967, allocations: 0 / 0.7391 GB, free: 127.9 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004666/0.8014, allocations: 1.677 MB / 0.7407 GB, free: 126.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009402/0.8024, allocations: 92.52 kB / 0.7408 GB, free: 126.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00546/0.8078, allocations: 1.92 MB / 0.7427 GB, free: 124.7 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001057/0.8089, allocations: 1.223 MB / 0.7438 GB, free: 123.6 MB / 494.1 MB Notification: Performance of SimCode: time 6.22e-07/0.8089, allocations: 4 kB / 0.7439 GB, free: 123.6 MB / 494.1 MB Notification: Performance of Templates: time 0.0322/0.8411, allocations: 22.18 MB / 0.7655 GB, free: 108.3 MB / 494.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1)