Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.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.PSSE.TG.IEEEG1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1") [: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.003996/0.003996, allocations: 179.4 kB / 7.455 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.211/1.211, allocations: 221.4 MB / 229.3 MB, free: 3.012 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.0009271/0.0009271, allocations: 96.25 kB / 280.1 MB, free: 1.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4135/0.4135, allocations: 78.06 MB / 408.9 MB, free: 15.5 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.42e-06/5.44e-06, allocations: 0 / 484.3 MB, free: 4.426 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.2835, allocations: 69.35 MB / 0.5407 GB, free: 21.59 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1337/0.4173, allocations: 115.5 MB / 0.6535 GB, free: 5.328 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002561/0.4176, allocations: 83.95 kB / 0.6536 GB, free: 5.246 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.3592/0.7768, allocations: 52.26 MB / 0.7046 GB, free: 39.65 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001171/0.777, allocations: 39.12 kB / 0.7046 GB, free: 39.65 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: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.006776/0.7838, allocations: 2.56 MB / 0.7071 GB, free: 38.59 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.7838, allocations: 7.562 kB / 0.7072 GB, free: 38.59 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004034/0.7879, allocations: 0.6421 MB / 0.7078 GB, free: 38.45 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002592/0.7905, allocations: 1.249 MB / 0.709 GB, free: 38.02 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004884/0.791, allocations: 0.5434 MB / 0.7095 GB, free: 37.5 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002595/0.7913, allocations: 87.33 kB / 0.7096 GB, free: 37.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002495/0.7938, allocations: 1.308 MB / 0.7109 GB, free: 37.49 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002309/0.7961, allocations: 1.38 MB / 0.7122 GB, free: 37.32 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.001e-05/0.7961, allocations: 3.938 kB / 0.7122 GB, free: 37.32 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001547/0.7963, allocations: 3.875 kB / 0.7122 GB, free: 37.32 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.111e-05/0.7963, allocations: 31 kB / 0.7123 GB, free: 37.32 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01197/0.8083, allocations: 6.069 MB / 0.7182 GB, free: 35.46 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001615/0.81, allocations: 0.9556 MB / 0.7191 GB, free: 35.39 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001174/0.8112, allocations: 0.8057 MB / 0.7199 GB, free: 35.37 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005151/0.8117, allocations: 0.7368 MB / 0.7206 GB, free: 34.52 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001576/0.8133, allocations: 0.9698 MB / 0.7216 GB, free: 34.42 MB / 490.7 MB Notification: Performance of pre-optimization done (n=159): time 5.39e-06/0.8133, allocations: 7.984 kB / 0.7216 GB, free: 34.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=159): time 0.01685/0.8302, allocations: 5.414 MB / 0.7269 GB, free: 33.89 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/0.8302, allocations: 145.2 kB / 0.727 GB, free: 33.74 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002176/0.8324, allocations: 1.297 MB / 0.7283 GB, free: 33.58 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005002/0.8329, allocations: 25.7 kB / 0.7283 GB, free: 33.55 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002939/0.8332, allocations: 486.6 kB / 0.7288 GB, free: 33.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000845/0.8341, allocations: 0.542 MB / 0.7293 GB, free: 32.94 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.8342, allocations: 0 / 0.7293 GB, free: 32.94 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.62e-05/0.8343, allocations: 366.7 kB / 0.7297 GB, free: 32.63 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001209/0.8355, allocations: 0.6903 MB / 0.7303 GB, free: 32.63 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001269/0.8368, allocations: 0.8967 MB / 0.7312 GB, free: 32.45 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001749/0.8386, allocations: 0.7825 MB / 0.732 GB, free: 32.43 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.025e-05/0.8386, allocations: 0 / 0.732 GB, free: 32.43 MB / 490.7 MB Notification: Performance of matching and sorting (n=214) (initialization): time 0.005208/0.8438, allocations: 2.397 MB / 0.7343 GB, free: 32.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002668/0.8441, allocations: 1.734 MB / 0.736 GB, free: 30.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.083e-05/0.8441, allocations: 7.688 kB / 0.736 GB, free: 30.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008347/0.8525, allocations: 2.359 MB / 0.7383 GB, free: 30.22 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001718/0.8542, allocations: 309.2 kB / 0.7386 GB, free: 30.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005444/0.8597, allocations: 2.538 MB / 0.7411 GB, free: 29.57 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002992/0.8627, allocations: 286.3 kB / 0.7414 GB, free: 29.49 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003615/0.8631, allocations: 63.8 kB / 0.7414 GB, free: 29.49 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.8631, allocations: 3.875 kB / 0.7414 GB, free: 29.49 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004717/0.8679, allocations: 2.151 MB / 0.7435 GB, free: 29.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.555e-05/0.8679, allocations: 4.562 kB / 0.7435 GB, free: 29.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008297/0.8762, allocations: 2.37 MB / 0.7458 GB, free: 29.24 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001712/0.878, allocations: 294.2 kB / 0.7461 GB, free: 29.22 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005149/0.8832, allocations: 2.524 MB / 0.7486 GB, free: 28.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002868/0.8861, allocations: 268.7 kB / 0.7489 GB, free: 28.54 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002795/0.8864, allocations: 61.81 kB / 0.7489 GB, free: 28.54 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,iEEEG1.limIntegrator.local_reset,iEEET1.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {30 26} Notification: Performance of prepare postOptimizeDAE: time 0.00043/0.8868, allocations: 130.2 kB / 0.749 GB, free: 28.41 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004807/0.8873, allocations: 201.7 kB / 0.7492 GB, free: 28.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01746/0.9047, allocations: 5.54 MB / 0.7546 GB, free: 27.77 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.137e-05/0.9048, allocations: 21.31 kB / 0.7547 GB, free: 27.76 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/0.9048, allocations: 7.891 kB / 0.7547 GB, free: 27.75 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.646e-05/0.9049, allocations: 9.906 kB / 0.7547 GB, free: 27.75 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0223/0.9272, allocations: 7.773 MB / 0.7623 GB, free: 24.13 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.999e-05/0.9273, allocations: 5.031 kB / 0.7623 GB, free: 24.13 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001712/0.929, allocations: 234.1 kB / 0.7625 GB, free: 24.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007063/0.9361, allocations: 2.065 MB / 0.7645 GB, free: 22.42 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000406/0.9365, allocations: 19.98 kB / 0.7645 GB, free: 22.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01805/0.9545, allocations: 7.175 MB / 0.7715 GB, free: 15.11 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.9546, allocations: 0 / 0.7715 GB, free: 15.11 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01869/0.9733, allocations: 6.762 MB / 0.7781 GB, free: 8.316 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008409/0.9742, allocations: 310.3 kB / 0.7784 GB, free: 7.992 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005003/0.9747, allocations: 7.906 kB / 0.7784 GB, free: 7.984 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002157/0.9769, allocations: 203.8 kB / 0.7786 GB, free: 7.785 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004856/0.9774, allocations: 177 kB / 0.7788 GB, free: 7.613 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001517/0.9775, allocations: 47.98 kB / 0.7789 GB, free: 7.566 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001273/0.9788, allocations: 0.979 MB / 0.7798 GB, free: 6.598 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002058/0.9809, allocations: 0.8457 MB / 0.7806 GB, free: 5.75 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,iEEET1.derivativeLag.x,iEEET1.simpleLagLim.state,iEEET1.rotatingExciter.sISO.y,iEEET1.TransducerDelay.state,iEEEG1.imLeadLag.TF.x_scaled[1],iEEEG1.imSimpleLag.state,iEEEG1.imSimpleLag1.state,iEEEG1.imSimpleLag2.state,iEEEG1.imSimpleLag3.state,iEEEG1.limIntegrator.y) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * 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 {26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003837/0.9813, allocations: 192.2 kB / 0.7808 GB, free: 5.555 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01328/0.9945, allocations: 4.726 MB / 0.7854 GB, free: 0.8086 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.9946, allocations: 0 / 0.7854 GB, free: 0.8086 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006334/1.001, allocations: 1.973 MB / 0.7874 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001347/1.002, allocations: 138.3 kB / 0.7875 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008102/1.01, allocations: 3.13 MB / 0.7905 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001516/1.012, allocations: 1.545 MB / 0.7921 GB, free: 9.941 MB / 0.4948 GB Notification: Performance of SimCode: time 7.12e-07/1.012, allocations: 0 / 0.7921 GB, free: 9.941 MB / 0.4948 GB Notification: Performance of Templates: time 0.06997/1.082, allocations: 40.69 MB / 0.8318 GB, free: 1.363 MB / 0.5261 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.pipe 2>&1)