Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_IEEEG1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1,fileNamePrefix="OpenIPSL_dev_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.002456/0.002456, allocations: 182.9 kB / 7.461 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.236/1.236, allocations: 221.4 MB / 229.3 MB, free: 3.039 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.0008975/0.0008976, allocations: 99.48 kB / 280.1 MB, free: 1.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4826/0.4826, allocations: 78.91 MB / 409.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1618/0.6444, allocations: 75.65 MB / 485.5 MB, free: 3.578 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3987/1.043, allocations: 69.51 MB / 0.542 GB, free: 20.92 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1484/1.192, allocations: 116.2 MB / 0.6554 GB, free: 3.758 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002705/1.192, allocations: 83.95 kB / 0.6555 GB, free: 3.676 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.4542/1.646, allocations: 53.31 MB / 0.7075 GB, free: 95.38 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.625e-05/1.646, allocations: 8.938 kB / 0.7075 GB, free: 95.38 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004895/1.651, allocations: 0.6369 MB / 0.7082 GB, free: 95.12 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004995/1.656, allocations: 1.264 MB / 0.7094 GB, free: 94.53 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007545/1.657, allocations: 0.5522 MB / 0.7099 GB, free: 93.99 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007024/1.658, allocations: 79.53 kB / 0.71 GB, free: 93.99 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004013/1.662, allocations: 1.305 MB / 0.7113 GB, free: 93.93 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004013/1.666, allocations: 1.378 MB / 0.7126 GB, free: 93.44 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.302e-05/1.666, allocations: 0 / 0.7126 GB, free: 93.44 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002528/1.666, allocations: 2 kB / 0.7126 GB, free: 93.44 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.415e-05/1.666, allocations: 35.48 kB / 0.7127 GB, free: 93.44 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0144/1.681, allocations: 6.068 MB / 0.7186 GB, free: 88.34 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001559/1.682, allocations: 0.9597 MB / 0.7195 GB, free: 87.36 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001154/1.683, allocations: 0.8033 MB / 0.7203 GB, free: 86.55 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000524/1.684, allocations: 0.7412 MB / 0.721 GB, free: 85.65 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001474/1.685, allocations: 0.971 MB / 0.722 GB, free: 84.66 MB / 490.7 MB Notification: Performance of pre-optimization done (n=159): time 5.791e-06/1.685, allocations: 0 / 0.722 GB, free: 84.66 MB / 490.7 MB Notification: Performance of matching and sorting (n=159): time 0.01605/1.701, allocations: 5.408 MB / 0.7273 GB, free: 79.25 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.457e-05/1.702, allocations: 153.9 kB / 0.7274 GB, free: 79.07 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003397/1.705, allocations: 1.295 MB / 0.7287 GB, free: 77.78 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005889/1.706, allocations: 29.69 kB / 0.7287 GB, free: 77.74 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004474/1.706, allocations: 484.9 kB / 0.7292 GB, free: 77.26 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001196/1.707, allocations: 0.5387 MB / 0.7297 GB, free: 76.71 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002483/1.707, allocations: 0 / 0.7297 GB, free: 76.71 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001307/1.708, allocations: 369.9 kB / 0.7301 GB, free: 76.35 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001372/1.709, allocations: 0.6914 MB / 0.7307 GB, free: 75.66 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001443/1.71, allocations: 0.8936 MB / 0.7316 GB, free: 74.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001932/1.712, allocations: 0.7868 MB / 0.7324 GB, free: 73.92 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/1.712, allocations: 0 / 0.7324 GB, free: 73.92 MB / 490.7 MB Notification: Performance of matching and sorting (n=214) (initialization): time 0.005242/1.718, allocations: 2.399 MB / 0.7347 GB, free: 71.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004104/1.718, allocations: 1.739 MB / 0.7364 GB, free: 69.64 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.081e-05/1.718, allocations: 4 kB / 0.7364 GB, free: 69.63 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007874/1.726, allocations: 2.369 MB / 0.7387 GB, free: 67.26 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001602/1.728, allocations: 299.6 kB / 0.739 GB, free: 66.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005613/1.733, allocations: 2.54 MB / 0.7415 GB, free: 64.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003311/1.737, allocations: 286.5 kB / 0.7418 GB, free: 64.12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004262/1.737, allocations: 63.98 kB / 0.7418 GB, free: 64.05 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/1.737, allocations: 4 kB / 0.7418 GB, free: 64.05 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004831/1.742, allocations: 2.154 MB / 0.7439 GB, free: 61.89 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.366e-05/1.742, allocations: 4 kB / 0.7439 GB, free: 61.89 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0078/1.75, allocations: 2.369 MB / 0.7463 GB, free: 59.52 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001503/1.751, allocations: 291.5 kB / 0.7465 GB, free: 59.23 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005117/1.756, allocations: 2.528 MB / 0.749 GB, free: 56.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003642/1.76, allocations: 270.6 kB / 0.7493 GB, free: 56.41 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004314/1.761, allocations: 59.98 kB / 0.7493 GB, free: 56.36 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.0007223/1.761, allocations: 140.4 kB / 0.7494 GB, free: 56.21 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001182/1.762, allocations: 205.5 kB / 0.7496 GB, free: 56.01 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01584/1.778, allocations: 5.53 MB / 0.755 GB, free: 50.48 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.558e-05/1.778, allocations: 16 kB / 0.7551 GB, free: 50.46 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/1.778, allocations: 3.906 kB / 0.7551 GB, free: 50.46 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.707e-05/1.778, allocations: 11.97 kB / 0.7551 GB, free: 50.45 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02047/1.799, allocations: 7.787 MB / 0.7627 GB, free: 42.63 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.558e-05/1.799, allocations: 0 / 0.7627 GB, free: 42.63 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001599/1.801, allocations: 239.7 kB / 0.7629 GB, free: 42.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006817/1.807, allocations: 2.072 MB / 0.7649 GB, free: 40.31 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007069/1.808, allocations: 15.98 kB / 0.7649 GB, free: 40.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01788/1.826, allocations: 7.175 MB / 0.772 GB, free: 33.01 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/1.826, allocations: 8 kB / 0.772 GB, free: 33 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01849/1.845, allocations: 6.762 MB / 0.7786 GB, free: 26.22 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02111/1.866, allocations: 8.241 MB / 0.7866 GB, free: 17.95 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001324/1.867, allocations: 314.2 kB / 0.7869 GB, free: 17.62 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001277/1.869, allocations: 8 kB / 0.7869 GB, free: 17.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003043/1.872, allocations: 195.8 kB / 0.7871 GB, free: 17.43 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000724/1.872, allocations: 192.9 kB / 0.7873 GB, free: 17.24 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002998/1.873, allocations: 39.98 kB / 0.7873 GB, free: 17.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.002181/1.875, allocations: 0.9791 MB / 0.7883 GB, free: 16.23 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005543/1.88, allocations: 0.8652 MB / 0.7891 GB, free: 15.36 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.0005854/1.881, allocations: 180.3 kB / 0.7893 GB, free: 15.18 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01408/1.895, allocations: 4.719 MB / 0.7939 GB, free: 10.44 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-05/1.895, allocations: 8.875 kB / 0.7939 GB, free: 10.43 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006197/1.901, allocations: 1.976 MB / 0.7958 GB, free: 8.453 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002364/1.904, allocations: 138.3 kB / 0.796 GB, free: 8.316 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01055/1.914, allocations: 3.162 MB / 0.7991 GB, free: 5.113 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00209/1.917, allocations: 1.598 MB / 0.8006 GB, free: 3.48 MB / 490.7 MB Notification: Performance of SimCode: time 1.192e-06/1.917, allocations: 0 / 0.8006 GB, free: 3.48 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_IEEEG1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_IEEEG1.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.pipe 2>&1)