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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_IEEEG1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_IEEEG1",fmuType="me",version="2.0",platforms={"static"}) [: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.003147/0.003147, allocations: 180.5 kB / 7.459 MB, free: 2.5 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.29/1.29, allocations: 221.4 MB / 229.3 MB, free: 3.09 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.001271/0.001271, allocations: 94.06 kB / 280.1 MB, free: 1.344 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4868/0.4868, allocations: 78.06 MB / 409 MB, free: 15.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1673/0.6542, allocations: 75.5 MB / 484.4 MB, free: 4.363 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4017/1.056, allocations: 69.35 MB / 0.5408 GB, free: 21.44 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1517/1.208, allocations: 115.5 MB / 0.6536 GB, free: 5.25 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002935/1.208, allocations: 91.94 kB / 0.6537 GB, free: 5.16 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: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.4478/1.656, allocations: 54.84 MB / 0.7072 GB, free: 45.72 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/1.656, allocations: 11.75 kB / 0.7073 GB, free: 45.72 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003958/1.66, allocations: 0.6447 MB / 0.7079 GB, free: 45.58 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002902/1.663, allocations: 1.251 MB / 0.7091 GB, free: 45.14 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005166/1.663, allocations: 0.5432 MB / 0.7096 GB, free: 44.62 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004966/1.664, allocations: 85.45 kB / 0.7097 GB, free: 44.62 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002768/1.667, allocations: 1.306 MB / 0.711 GB, free: 44.61 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002685/1.669, allocations: 1.381 MB / 0.7123 GB, free: 44.45 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.152e-05/1.669, allocations: 3.906 kB / 0.7123 GB, free: 44.45 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001871/1.669, allocations: 0 / 0.7123 GB, free: 44.45 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.416e-05/1.67, allocations: 31.22 kB / 0.7124 GB, free: 44.45 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01465/1.684, allocations: 6.073 MB / 0.7183 GB, free: 42.59 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001761/1.686, allocations: 0.9562 MB / 0.7192 GB, free: 42.52 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001261/1.687, allocations: 0.8067 MB / 0.72 GB, free: 42.49 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005357/1.688, allocations: 0.7366 MB / 0.7207 GB, free: 41.64 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001668/1.69, allocations: 0.9727 MB / 0.7217 GB, free: 41.54 MB / 490.7 MB Notification: Performance of pre-optimization done (n=159): time 5.38e-06/1.69, allocations: 0 / 0.7217 GB, free: 41.54 MB / 490.7 MB Notification: Performance of matching and sorting (n=159): time 0.01662/1.706, allocations: 5.411 MB / 0.727 GB, free: 41.02 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.504e-05/1.706, allocations: 145.5 kB / 0.7271 GB, free: 40.87 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002544/1.709, allocations: 1.299 MB / 0.7284 GB, free: 40.71 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005016/1.709, allocations: 29.77 kB / 0.7284 GB, free: 40.67 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003137/1.71, allocations: 489.3 kB / 0.7289 GB, free: 40.43 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001028/1.711, allocations: 0.5359 MB / 0.7294 GB, free: 40.07 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002229/1.711, allocations: 0 / 0.7294 GB, free: 40.07 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001372/1.711, allocations: 368.6 kB / 0.7298 GB, free: 39.76 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001288/1.712, allocations: 0.686 MB / 0.7304 GB, free: 39.76 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001396/1.714, allocations: 0.9014 MB / 0.7313 GB, free: 39.57 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001795/1.716, allocations: 0.7853 MB / 0.7321 GB, free: 39.55 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.786e-06/1.716, allocations: 0 / 0.7321 GB, free: 39.55 MB / 490.7 MB Notification: Performance of matching and sorting (n=214) (initialization): time 0.005263/1.721, allocations: 2.4 MB / 0.7344 GB, free: 39.32 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003206/1.721, allocations: 1.733 MB / 0.7361 GB, free: 37.51 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.504e-05/1.721, allocations: 3.875 kB / 0.7361 GB, free: 37.51 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008371/1.73, allocations: 2.371 MB / 0.7384 GB, free: 37.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001808/1.732, allocations: 305.5 kB / 0.7387 GB, free: 37.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006404/1.738, allocations: 2.529 MB / 0.7412 GB, free: 36.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00324/1.741, allocations: 282.6 kB / 0.7415 GB, free: 36.61 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000467/1.742, allocations: 62.17 kB / 0.7415 GB, free: 36.61 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/1.742, allocations: 7.906 kB / 0.7415 GB, free: 36.61 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005173/1.747, allocations: 2.151 MB / 0.7436 GB, free: 36.53 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.575e-05/1.747, allocations: 7.812 kB / 0.7436 GB, free: 36.53 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008303/1.755, allocations: 2.369 MB / 0.7459 GB, free: 36.37 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001869/1.757, allocations: 290.9 kB / 0.7462 GB, free: 36.35 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005436/1.763, allocations: 2.528 MB / 0.7487 GB, free: 35.74 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002967/1.766, allocations: 268.1 kB / 0.7489 GB, free: 35.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004441/1.766, allocations: 61.19 kB / 0.749 GB, free: 35.66 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.0006668/1.767, allocations: 128 kB / 0.7491 GB, free: 35.54 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007941/1.768, allocations: 203 kB / 0.7493 GB, free: 35.43 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01826/1.786, allocations: 5.54 MB / 0.7547 GB, free: 34.98 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-05/1.786, allocations: 16.62 kB / 0.7547 GB, free: 34.98 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.989e-05/1.786, allocations: 8.75 kB / 0.7548 GB, free: 34.97 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.072e-05/1.786, allocations: 10.31 kB / 0.7548 GB, free: 34.97 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02924/1.815, allocations: 7.785 MB / 0.7624 GB, free: 32.15 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.844e-05/1.816, allocations: 1.094 kB / 0.7624 GB, free: 32.15 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001732/1.817, allocations: 235.4 kB / 0.7626 GB, free: 32 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006685/1.824, allocations: 2.072 MB / 0.7646 GB, free: 29.92 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005808/1.825, allocations: 15.98 kB / 0.7646 GB, free: 29.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01816/1.843, allocations: 7.168 MB / 0.7716 GB, free: 22.62 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/1.843, allocations: 4 kB / 0.7716 GB, free: 22.62 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02039/1.863, allocations: 6.753 MB / 0.7782 GB, free: 15.84 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02127/1.885, allocations: 8.251 MB / 0.7863 GB, free: 7.566 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001039/1.886, allocations: 310.2 kB / 0.7866 GB, free: 7.242 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000929/1.887, allocations: 15.98 kB / 0.7866 GB, free: 7.227 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002972/1.89, allocations: 199.8 kB / 0.7868 GB, free: 7.031 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006932/1.89, allocations: 180.9 kB / 0.787 GB, free: 6.855 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002769/1.891, allocations: 47.92 kB / 0.787 GB, free: 6.809 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.002057/1.893, allocations: 0.9791 MB / 0.788 GB, free: 5.84 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005667/1.898, allocations: 0.8613 MB / 0.7888 GB, free: 4.977 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.0007627/1.899, allocations: 184.3 kB / 0.789 GB, free: 4.789 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0145/1.914, allocations: 4.737 MB / 0.7936 GB, free: 32 kB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/1.914, allocations: 0 / 0.7936 GB, free: 32 kB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006718/1.92, allocations: 1.971 MB / 0.7955 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002161/1.923, allocations: 134.3 kB / 0.7957 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01002/1.933, allocations: 3.163 MB / 0.7988 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001643/1.934, allocations: 1.594 MB / 0.8003 GB, free: 9.09 MB / 0.4948 GB Notification: Performance of SimCode: time 7.51e-07/1.934, allocations: 0 / 0.8003 GB, free: 9.09 MB / 0.4948 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_IEEEG1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_IEEEG1.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.pipe 2>&1)