Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.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.TGOV1,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1",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.003175/0.003175, allocations: 182.5 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.296/1.296, allocations: 221.4 MB / 229.3 MB, free: 3.016 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.001036/0.001036, allocations: 102.8 kB / 280.1 MB, free: 1.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4606/0.4606, allocations: 78.04 MB / 408.9 MB, free: 15.49 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1598/0.6204, allocations: 75.5 MB / 484.4 MB, free: 4.344 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3678/0.9882, allocations: 69.36 MB / 0.5408 GB, free: 21.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1376/1.126, allocations: 108.9 MB / 0.6472 GB, free: 11.85 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002127/1.126, allocations: 79.95 kB / 0.6473 GB, free: 11.77 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.4091/1.535, allocations: 42.25 MB / 0.6885 GB, free: 104.4 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/1.535, allocations: 12.41 kB / 0.6885 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003331/1.539, allocations: 0.5732 MB / 0.6891 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001732/1.54, allocations: 0.961 MB / 0.69 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000383/1.541, allocations: 395.3 kB / 0.6904 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001906/1.541, allocations: 65.69 kB / 0.6905 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002076/1.543, allocations: 1.033 MB / 0.6915 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001733/1.545, allocations: 1.033 MB / 0.6925 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.387e-05/1.545, allocations: 0 / 0.6925 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001091/1.545, allocations: 1.5 kB / 0.6925 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.932e-05/1.545, allocations: 19.47 kB / 0.6925 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008477/1.554, allocations: 4.549 MB / 0.6969 GB, free: 101.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00169/1.555, allocations: 1.044 MB / 0.698 GB, free: 100.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008854/1.556, allocations: 0.6825 MB / 0.6986 GB, free: 100.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001337/1.556, allocations: 21.34 kB / 0.6987 GB, free: 100.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001102/1.557, allocations: 0.8156 MB / 0.6994 GB, free: 99.95 MB / 490.7 MB Notification: Performance of pre-optimization done (n=124): time 3.076e-06/1.557, allocations: 0 / 0.6994 GB, free: 99.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=124): time 0.01791/1.575, allocations: 5.18 MB / 0.7045 GB, free: 98.79 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.539e-05/1.575, allocations: 116.2 kB / 0.7046 GB, free: 98.66 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002125/1.578, allocations: 1.017 MB / 0.7056 GB, free: 98.22 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000369/1.578, allocations: 29.77 kB / 0.7056 GB, free: 98.18 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002142/1.578, allocations: 359.6 kB / 0.706 GB, free: 97.94 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005468/1.579, allocations: 422.8 kB / 0.7064 GB, free: 97.61 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.892e-05/1.579, allocations: 0 / 0.7064 GB, free: 97.61 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.34e-05/1.579, allocations: 352.2 kB / 0.7067 GB, free: 97.28 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009329/1.58, allocations: 0.5464 MB / 0.7073 GB, free: 97.02 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009488/1.581, allocations: 0.6994 MB / 0.7079 GB, free: 96.61 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001047/1.582, allocations: 0.6017 MB / 0.7085 GB, free: 96.33 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/1.582, allocations: 3.812 kB / 0.7085 GB, free: 96.33 MB / 490.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003955/1.586, allocations: 1.959 MB / 0.7104 GB, free: 95.46 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/1.586, allocations: 4.844 kB / 0.7104 GB, free: 95.46 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/1.586, allocations: 3.781 kB / 0.7105 GB, free: 95.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008991/1.595, allocations: 2.36 MB / 0.7128 GB, free: 94.99 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00135/1.596, allocations: 174.1 kB / 0.7129 GB, free: 94.97 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005313/1.602, allocations: 2.533 MB / 0.7154 GB, free: 92.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002573/1.604, allocations: 242 kB / 0.7156 GB, free: 92.46 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000226/1.605, allocations: 40.12 kB / 0.7157 GB, free: 92.43 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.0003134/1.605, allocations: 118.8 kB / 0.7158 GB, free: 92.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003251/1.605, allocations: 158.8 kB / 0.7159 GB, free: 92.15 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01521/1.62, allocations: 5.233 MB / 0.721 GB, free: 87.47 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.066e-05/1.621, allocations: 18.81 kB / 0.7211 GB, free: 87.45 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-05/1.621, allocations: 0 / 0.7211 GB, free: 87.45 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.602e-05/1.621, allocations: 7.969 kB / 0.7211 GB, free: 87.45 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01744/1.638, allocations: 7.066 MB / 0.728 GB, free: 80.32 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.587e-05/1.638, allocations: 8.031 kB / 0.728 GB, free: 80.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001063/1.639, allocations: 139.8 kB / 0.7281 GB, free: 80.18 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006713/1.646, allocations: 2.068 MB / 0.7301 GB, free: 78.11 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004378/1.646, allocations: 19.83 kB / 0.7301 GB, free: 78.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01663/1.663, allocations: 7.15 MB / 0.7371 GB, free: 70.85 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/1.663, allocations: 4 kB / 0.7371 GB, free: 70.84 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0167/1.68, allocations: 6.251 MB / 0.7432 GB, free: 64.57 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01806/1.698, allocations: 7.559 MB / 0.7506 GB, free: 56.97 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007163/1.699, allocations: 262.8 kB / 0.7509 GB, free: 56.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003039/1.699, allocations: 14.92 kB / 0.7509 GB, free: 56.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001732/1.701, allocations: 171.9 kB / 0.751 GB, free: 56.52 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003901/1.701, allocations: 149 kB / 0.7512 GB, free: 56.37 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/1.701, allocations: 35.98 kB / 0.7512 GB, free: 56.34 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001017/1.702, allocations: 0.7801 MB / 0.752 GB, free: 55.55 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00185/1.704, allocations: 447.3 kB / 0.7524 GB, free: 55.12 MB / 490.7 MB 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.0003425/1.704, allocations: 159.5 kB / 0.7526 GB, free: 54.95 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006897/1.711, allocations: 2.328 MB / 0.7548 GB, free: 52.62 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/1.711, allocations: 4.125 kB / 0.7548 GB, free: 52.61 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005706/1.717, allocations: 1.813 MB / 0.7566 GB, free: 50.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001307/1.719, allocations: 93 kB / 0.7567 GB, free: 50.71 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005604/1.724, allocations: 2.32 MB / 0.759 GB, free: 48.39 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000989/1.725, allocations: 1.335 MB / 0.7603 GB, free: 47.02 MB / 490.7 MB Notification: Performance of SimCode: time 1.242e-06/1.725, allocations: 4 kB / 0.7603 GB, free: 47.01 MB / 490.7 MB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe 2>&1)