Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_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_dev_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.002794/0.002794, allocations: 178.7 kB / 7.463 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.205/1.205, allocations: 221.4 MB / 229.3 MB, free: 3.066 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.0009021/0.000902, allocations: 100.9 kB / 280.1 MB, free: 1.312 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4136/0.4136, allocations: 78.92 MB / 409.8 MB, free: 15.03 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.703e-06/6.733e-06, allocations: 0 / 485.4 MB, free: 3.695 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/0.2998, allocations: 69.5 MB / 0.5419 GB, free: 20.72 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1228/0.4227, allocations: 102.6 MB / 0.642 GB, free: 1.363 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000274/0.423, allocations: 83.94 kB / 0.6421 GB, free: 1.281 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.3295/0.7526, allocations: 36.44 MB / 0.6777 GB, free: 104.4 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.896e-05/0.7527, allocations: 26.22 kB / 0.6777 GB, free: 104.4 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.004818/0.7575, allocations: 2.022 MB / 0.6797 GB, free: 103.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.7575, allocations: 7.688 kB / 0.6797 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00323/0.7608, allocations: 0.5988 MB / 0.6803 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001557/0.7624, allocations: 0.8815 MB / 0.6812 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002771/0.7626, allocations: 309.2 kB / 0.6815 GB, free: 102.9 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001471/0.7628, allocations: 50.75 kB / 0.6815 GB, free: 102.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001524/0.7643, allocations: 0.9273 MB / 0.6824 GB, free: 102.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001502/0.7658, allocations: 0.9668 MB / 0.6834 GB, free: 102.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.193e-05/0.7659, allocations: 0 / 0.6834 GB, free: 102.9 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001195/0.766, allocations: 7.719 kB / 0.6834 GB, free: 102.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.637e-05/0.766, allocations: 20.91 kB / 0.6834 GB, free: 102.9 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006442/0.7725, allocations: 4.155 MB / 0.6874 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00154/0.774, allocations: 0.8186 MB / 0.6882 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007856/0.7748, allocations: 0.6306 MB / 0.6889 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001152/0.7749, allocations: 18.09 kB / 0.6889 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009665/0.7759, allocations: 0.7289 MB / 0.6896 GB, free: 101.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=108): time 2.394e-06/0.7759, allocations: 4 kB / 0.6896 GB, free: 101.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=108): time 0.01335/0.7893, allocations: 4.617 MB / 0.6941 GB, free: 100.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/0.7894, allocations: 119.6 kB / 0.6942 GB, free: 100.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009769/0.7903, allocations: 0.7807 MB / 0.695 GB, free: 100.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001598/0.7905, allocations: 29.12 kB / 0.695 GB, free: 100.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/0.7907, allocations: 341 kB / 0.6953 GB, free: 100.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00032/0.791, allocations: 366.5 kB / 0.6957 GB, free: 99.78 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.994e-05/0.7911, allocations: 0 / 0.6957 GB, free: 99.78 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.204e-05/0.7911, allocations: 356.6 kB / 0.696 GB, free: 99.45 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007588/0.7919, allocations: 0.4984 MB / 0.6965 GB, free: 99.22 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007981/0.7927, allocations: 0.6289 MB / 0.6971 GB, free: 98.86 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007916/0.7935, allocations: 0.5387 MB / 0.6976 GB, free: 98.61 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.7935, allocations: 4 kB / 0.6976 GB, free: 98.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.01469/0.8082, allocations: 4.664 MB / 0.7022 GB, free: 97.55 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.8083, allocations: 5.031 kB / 0.7022 GB, free: 97.55 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/0.8083, allocations: 2.875 kB / 0.7022 GB, free: 97.55 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007055/0.8154, allocations: 1.87 MB / 0.704 GB, free: 97.17 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00126/0.8167, allocations: 213.7 kB / 0.7042 GB, free: 97.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01633/0.833, allocations: 7.117 MB / 0.7112 GB, free: 93.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001843/0.8349, allocations: 227.4 kB / 0.7114 GB, free: 93.47 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001985/0.8351, allocations: 39.83 kB / 0.7114 GB, free: 93.46 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.0003494/0.8355, allocations: 161.8 kB / 0.7116 GB, free: 93.31 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003074/0.8358, allocations: 133.4 kB / 0.7117 GB, free: 93.24 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01344/0.8492, allocations: 4.726 MB / 0.7163 GB, free: 89.77 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-05/0.8493, allocations: 15.84 kB / 0.7164 GB, free: 89.76 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.8493, allocations: 6.156 kB / 0.7164 GB, free: 89.76 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.222e-05/0.8493, allocations: 7.75 kB / 0.7164 GB, free: 89.75 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01746/0.8668, allocations: 6.369 MB / 0.7226 GB, free: 84.72 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/0.8668, allocations: 4 kB / 0.7226 GB, free: 84.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009045/0.8677, allocations: 136.9 kB / 0.7227 GB, free: 84.61 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00567/0.8734, allocations: 1.887 MB / 0.7246 GB, free: 82.77 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002356/0.8737, allocations: 11.98 kB / 0.7246 GB, free: 82.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01513/0.8888, allocations: 7.84 MB / 0.7322 GB, free: 74.74 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.8889, allocations: 4 kB / 0.7322 GB, free: 74.74 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01536/0.9042, allocations: 5.619 MB / 0.7377 GB, free: 69.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005333/0.9048, allocations: 219.2 kB / 0.7379 GB, free: 68.87 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005637/0.9054, allocations: 11.98 kB / 0.7379 GB, free: 68.86 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001853/0.9073, allocations: 187.8 kB / 0.7381 GB, free: 68.67 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004643/0.9077, allocations: 140.8 kB / 0.7383 GB, free: 68.54 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001538/0.9079, allocations: 27.98 kB / 0.7383 GB, free: 68.51 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0009003/0.9088, allocations: 0.5909 MB / 0.7389 GB, free: 67.91 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00179/0.9106, allocations: 427.4 kB / 0.7393 GB, free: 67.49 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.000351/0.911, allocations: 145.6 kB / 0.7394 GB, free: 67.35 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005366/0.9164, allocations: 2.188 MB / 0.7415 GB, free: 65.16 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.9164, allocations: 4 kB / 0.7415 GB, free: 65.16 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004257/0.9206, allocations: 1.682 MB / 0.7432 GB, free: 63.46 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.9217, allocations: 80.58 kB / 0.7433 GB, free: 63.38 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00519/0.9269, allocations: 1.92 MB / 0.7451 GB, free: 61.46 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008701/0.9278, allocations: 1.229 MB / 0.7463 GB, free: 60.2 MB / 490.7 MB Notification: Performance of SimCode: time 1.052e-06/0.9278, allocations: 0 / 0.7463 GB, free: 60.2 MB / 490.7 MB Notification: Performance of Templates: time 0.03091/0.9587, allocations: 22.19 MB / 0.768 GB, free: 38.22 MB / 490.7 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1)