Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_2.0.0_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_2.0.0_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 3.2.3+maint.om/package.mo): time 0.002106/0.002107, allocations: 184.3 kB / 7.454 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.141/1.141, allocations: 205.2 MB / 213.1 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009491/0.0009492, allocations: 91.81 kB / 261.1 MB, free: 13.61 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06582/0.06582, allocations: 12.58 MB / 321.6 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2934/0.2934, allocations: 78.05 MB / 450.4 MB, free: 3.215 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.714e-06/7.744e-06, allocations: 0 / 0.5141 GB, free: 29.96 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1378, allocations: 69.32 MB / 0.5818 GB, free: 8.738 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3294/0.4673, allocations: 103.6 MB / 0.683 GB, free: 4.887 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000229/0.4676, allocations: 89.83 kB / 0.683 GB, free: 4.84 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.09418/0.5618, allocations: 34.75 MB / 0.717 GB, free: 8.184 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001087/0.5619, allocations: 31.94 kB / 0.717 GB, free: 8.152 MB / 458.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.005796/0.5677, allocations: 2.013 MB / 0.719 GB, free: 6.215 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.5678, allocations: 15.97 kB / 0.719 GB, free: 6.199 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003667/0.5715, allocations: 0.6087 MB / 0.7196 GB, free: 5.637 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002151/0.5736, allocations: 0.8824 MB / 0.7204 GB, free: 4.883 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003863/0.574, allocations: 311 kB / 0.7207 GB, free: 4.535 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000225/0.5743, allocations: 56 kB / 0.7208 GB, free: 4.48 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001812/0.5761, allocations: 0.9267 MB / 0.7217 GB, free: 3.922 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001818/0.5779, allocations: 0.9716 MB / 0.7227 GB, free: 3.246 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.707e-05/0.578, allocations: 0 / 0.7227 GB, free: 3.246 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001587/0.5781, allocations: 0 / 0.7227 GB, free: 3.246 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.455e-05/0.5782, allocations: 20 kB / 0.7227 GB, free: 3.227 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007672/0.5858, allocations: 4.123 MB / 0.7267 GB, free: 15.99 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001816/0.5877, allocations: 0.8225 MB / 0.7275 GB, free: 15.46 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009223/0.5886, allocations: 0.6385 MB / 0.7281 GB, free: 15.11 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001219/0.5888, allocations: 12.98 kB / 0.7281 GB, free: 15.09 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001131/0.5899, allocations: 0.7294 MB / 0.7288 GB, free: 14.61 MB / 474.7 MB Notification: Performance of pre-optimization done (n=108): time 4.498e-06/0.5899, allocations: 0 / 0.7288 GB, free: 14.61 MB / 474.7 MB Notification: Performance of matching and sorting (n=108): time 0.01452/0.6044, allocations: 4.629 MB / 0.7334 GB, free: 10.55 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.47e-05/0.6045, allocations: 111.8 kB / 0.7335 GB, free: 10.42 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001413/0.606, allocations: 0.7827 MB / 0.7342 GB, free: 9.836 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002181/0.6062, allocations: 25.7 kB / 0.7343 GB, free: 9.805 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002167/0.6064, allocations: 342.6 kB / 0.7346 GB, free: 9.516 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006086/0.607, allocations: 372.2 kB / 0.7349 GB, free: 9.191 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.6072, allocations: 0 / 0.7349 GB, free: 9.191 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.6073, allocations: 353 kB / 0.7353 GB, free: 8.859 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008923/0.6082, allocations: 0.4961 MB / 0.7358 GB, free: 8.602 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009589/0.6092, allocations: 0.6332 MB / 0.7364 GB, free: 8.188 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009758/0.6102, allocations: 0.543 MB / 0.7369 GB, free: 7.883 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.6102, allocations: 0 / 0.7369 GB, free: 7.883 MB / 474.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.01526/0.6255, allocations: 4.665 MB / 0.7415 GB, free: 3.473 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.6255, allocations: 7.938 kB / 0.7415 GB, free: 3.465 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.069e-05/0.6256, allocations: 7.984 kB / 0.7415 GB, free: 3.457 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006967/0.6325, allocations: 1.866 MB / 0.7433 GB, free: 1.586 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001321/0.6339, allocations: 211.8 kB / 0.7435 GB, free: 1.379 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01765/0.6516, allocations: 7.1 MB / 0.7504 GB, free: 10.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002412/0.654, allocations: 231 kB / 0.7507 GB, free: 9.934 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003266/0.6544, allocations: 47.92 kB / 0.7507 GB, free: 9.887 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.0006352/0.655, allocations: 155.5 kB / 0.7509 GB, free: 9.723 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004935/0.6555, allocations: 134.3 kB / 0.751 GB, free: 9.59 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0152/0.6707, allocations: 4.733 MB / 0.7556 GB, free: 4.824 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.742e-05/0.6708, allocations: 12 kB / 0.7556 GB, free: 4.812 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.6708, allocations: 3.938 kB / 0.7556 GB, free: 4.809 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.876e-05/0.6709, allocations: 7.969 kB / 0.7556 GB, free: 4.801 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01779/0.6887, allocations: 6.359 MB / 0.7618 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.488e-05/0.6888, allocations: 4 kB / 0.7618 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009974/0.6898, allocations: 139.8 kB / 0.762 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006463/0.6963, allocations: 1.903 MB / 0.7638 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003002/0.6966, allocations: 7.984 kB / 0.7638 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01758/0.7142, allocations: 7.84 MB / 0.7715 GB, free: 4.207 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.7142, allocations: 4 kB / 0.7715 GB, free: 4.203 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0163/0.7305, allocations: 5.62 MB / 0.777 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004883/0.7311, allocations: 215.3 kB / 0.7772 GB, free: 14.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002242/0.7313, allocations: 11.98 kB / 0.7772 GB, free: 14.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001472/0.7328, allocations: 183.8 kB / 0.7774 GB, free: 14.13 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003653/0.7331, allocations: 132.8 kB / 0.7775 GB, free: 14 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000102/0.7332, allocations: 35.98 kB / 0.7775 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0008048/0.7341, allocations: 0.5947 MB / 0.7781 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001334/0.7354, allocations: 435.3 kB / 0.7785 GB, free: 12.94 MB / 0.5105 GB 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.0002752/0.7357, allocations: 136.2 kB / 0.7787 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005384/0.7411, allocations: 2.194 MB / 0.7808 GB, free: 10.58 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.7411, allocations: 4 kB / 0.7808 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0045/0.7456, allocations: 1.675 MB / 0.7825 GB, free: 8.871 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006497/0.7463, allocations: 87.27 kB / 0.7825 GB, free: 8.789 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004704/0.751, allocations: 1.931 MB / 0.7844 GB, free: 6.824 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009815/0.752, allocations: 1.226 MB / 0.7856 GB, free: 5.562 MB / 0.5105 GB Notification: Performance of SimCode: time 5.21e-07/0.752, allocations: 0 / 0.7856 GB, free: 5.562 MB / 0.5105 GB Notification: Performance of Templates: time 0.0328/0.7848, allocations: 22.19 MB / 0.8073 GB, free: 15.38 MB / 0.5417 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1)