Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.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.PSSE.TG.TGOV1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1") [: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.002438/0.002438, allocations: 183.2 kB / 7.451 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.626/1.626, allocations: 205.2 MB / 213.1 MB, free: 13.86 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.0009869/0.0009872, allocations: 96.75 kB / 261.1 MB, free: 13.54 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.07902/0.07902, allocations: 12.59 MB / 321.6 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2823/0.2823, allocations: 78.05 MB / 450.4 MB, free: 3.219 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.013e-06/7.043e-06, allocations: 0 / 0.5141 GB, free: 29.98 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1357, allocations: 69.33 MB / 0.5818 GB, free: 8.75 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3656/0.5013, allocations: 110.4 MB / 0.6897 GB, free: 13.82 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/0.5017, allocations: 82.14 kB / 0.6897 GB, free: 13.78 MB / 442.7 MB Notification: Performance of FrontEnd: time 0.1112/0.6129, allocations: 39.12 MB / 0.728 GB, free: 13.82 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001056/0.613, allocations: 31.94 kB / 0.728 GB, free: 13.79 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.006342/0.6194, allocations: 2.059 MB / 0.73 GB, free: 11.82 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.6194, allocations: 11.97 kB / 0.73 GB, free: 11.8 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003593/0.623, allocations: 0.5759 MB / 0.7306 GB, free: 11.27 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002381/0.6254, allocations: 0.9529 MB / 0.7315 GB, free: 10.5 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004998/0.6259, allocations: 392.7 kB / 0.7319 GB, free: 10.05 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003688/0.6263, allocations: 67.92 kB / 0.7319 GB, free: 9.992 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002217/0.6286, allocations: 1.034 MB / 0.7329 GB, free: 9.371 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002216/0.6308, allocations: 1.032 MB / 0.734 GB, free: 8.66 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.431e-05/0.6308, allocations: 0 / 0.734 GB, free: 8.66 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001366/0.631, allocations: 3.906 kB / 0.734 GB, free: 8.656 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.333e-05/0.631, allocations: 23.94 kB / 0.734 GB, free: 8.633 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00976/0.6408, allocations: 4.552 MB / 0.7384 GB, free: 5.047 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001825/0.6427, allocations: 1.036 MB / 0.7394 GB, free: 4.375 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001054/0.6437, allocations: 0.6822 MB / 0.7401 GB, free: 4 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001564/0.6439, allocations: 20.8 kB / 0.7401 GB, free: 3.984 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001328/0.6453, allocations: 0.8165 MB / 0.7409 GB, free: 3.43 MB / 474.7 MB Notification: Performance of pre-optimization done (n=124): time 5e-06/0.6453, allocations: 0 / 0.7409 GB, free: 3.43 MB / 474.7 MB Notification: Performance of matching and sorting (n=124): time 0.01715/0.6624, allocations: 5.177 MB / 0.746 GB, free: 14.83 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.878e-05/0.6625, allocations: 119.8 kB / 0.7461 GB, free: 14.69 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002163/0.6647, allocations: 1.021 MB / 0.7471 GB, free: 13.66 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003272/0.6651, allocations: 25.7 kB / 0.7471 GB, free: 13.63 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000265/0.6653, allocations: 354.8 kB / 0.7475 GB, free: 13.28 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007729/0.6661, allocations: 429.5 kB / 0.7479 GB, free: 12.85 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001509/0.6663, allocations: 0 / 0.7479 GB, free: 12.85 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.6665, allocations: 353.9 kB / 0.7482 GB, free: 12.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00119/0.6677, allocations: 0.5533 MB / 0.7487 GB, free: 11.95 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001179/0.6688, allocations: 0.6952 MB / 0.7494 GB, free: 11.21 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001263/0.6701, allocations: 0.612 MB / 0.75 GB, free: 10.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.114e-06/0.6701, allocations: 4 kB / 0.75 GB, free: 10.59 MB / 490.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.004398/0.6745, allocations: 1.956 MB / 0.7519 GB, free: 8.625 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.6746, allocations: 15.31 kB / 0.7519 GB, free: 8.613 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.6746, allocations: 0 / 0.7519 GB, free: 8.613 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008849/0.6835, allocations: 2.361 MB / 0.7542 GB, free: 6.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/0.6846, allocations: 179.7 kB / 0.7544 GB, free: 6.074 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005753/0.6904, allocations: 2.524 MB / 0.7569 GB, free: 3.512 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002312/0.6927, allocations: 238.9 kB / 0.7571 GB, free: 3.277 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002286/0.693, allocations: 43.98 kB / 0.7572 GB, free: 3.234 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 96 * 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 {30 26} Notification: Performance of prepare postOptimizeDAE: time 0.0003329/0.6933, allocations: 120.8 kB / 0.7573 GB, free: 3.109 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004799/0.6938, allocations: 150.1 kB / 0.7574 GB, free: 2.961 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01648/0.7103, allocations: 5.234 MB / 0.7625 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.195e-05/0.7104, allocations: 15.91 kB / 0.7625 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.386e-05/0.7104, allocations: 0 / 0.7625 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.329e-05/0.7105, allocations: 11.97 kB / 0.7626 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02096/0.7315, allocations: 7.067 MB / 0.7695 GB, free: 6.516 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-05/0.7315, allocations: 0 / 0.7695 GB, free: 6.516 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001119/0.7327, allocations: 143.8 kB / 0.7696 GB, free: 6.375 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006978/0.7397, allocations: 2.068 MB / 0.7716 GB, free: 4.305 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002692/0.7399, allocations: 7.984 kB / 0.7716 GB, free: 4.297 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0187/0.7587, allocations: 7.156 MB / 0.7786 GB, free: 13.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.7587, allocations: 3.906 kB / 0.7786 GB, free: 13.01 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01832/0.777, allocations: 6.247 MB / 0.7847 GB, free: 6.719 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000708/0.7778, allocations: 270.8 kB / 0.785 GB, free: 6.434 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006135/0.7784, allocations: 3.984 kB / 0.785 GB, free: 6.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002066/0.7805, allocations: 171.9 kB / 0.7851 GB, free: 6.262 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005378/0.7811, allocations: 161 kB / 0.7853 GB, free: 6.105 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001765/0.7812, allocations: 32 kB / 0.7853 GB, free: 6.074 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.001421/0.7827, allocations: 0.7801 MB / 0.7861 GB, free: 5.293 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001764/0.7844, allocations: 435.4 kB / 0.7865 GB, free: 4.867 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,tGOV1.imLeadLag.TF.x_scaled[1],tGOV1.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 80 * 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.0003827/0.7848, allocations: 151 kB / 0.7866 GB, free: 4.707 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00726/0.7921, allocations: 2.328 MB / 0.7889 GB, free: 2.379 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.7922, allocations: 0 / 0.7889 GB, free: 2.379 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006113/0.7983, allocations: 1.812 MB / 0.7907 GB, free: 0.5586 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001272/0.7996, allocations: 92.94 kB / 0.7908 GB, free: 476 kB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006525/0.8061, allocations: 2.313 MB / 0.793 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00127/0.8074, allocations: 1.316 MB / 0.7943 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of SimCode: time 1.202e-06/0.8074, allocations: 0 / 0.7943 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of Templates: time 0.03786/0.8453, allocations: 22.91 MB / 0.8167 GB, free: 5.844 MB / 0.5417 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe 2>&1)