Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.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.HYGOV,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_HYGOV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.HYGOV,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_HYGOV",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.004421/0.004421, allocations: 178.6 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.28/1.28, allocations: 221.4 MB / 229.3 MB, free: 3.156 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.001009/0.001009, allocations: 94.95 kB / 280.1 MB, free: 1.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4619/0.4619, allocations: 78.06 MB / 408.9 MB, free: 15.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1616/0.6235, allocations: 75.5 MB / 484.4 MB, free: 4.332 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4016/1.025, allocations: 69.34 MB / 0.5408 GB, free: 21.34 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1447/1.17, allocations: 113.3 MB / 0.6514 GB, free: 7.586 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002716/1.17, allocations: 87.94 kB / 0.6515 GB, free: 7.5 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.4225/1.593, allocations: 49.54 MB / 0.6999 GB, free: 76.56 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.862e-05/1.593, allocations: 8.75 kB / 0.6999 GB, free: 76.56 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004618/1.597, allocations: 0.606 MB / 0.7005 GB, free: 76.44 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003453/1.601, allocations: 1.098 MB / 0.7015 GB, free: 76.02 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006236/1.602, allocations: 472.5 kB / 0.702 GB, free: 75.6 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000505/1.602, allocations: 80.59 kB / 0.7021 GB, free: 75.59 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003515/1.606, allocations: 1.199 MB / 0.7032 GB, free: 75.59 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003961/1.61, allocations: 1.277 MB / 0.7045 GB, free: 75.42 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.534e-05/1.61, allocations: 6.203 kB / 0.7045 GB, free: 75.41 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002706/1.61, allocations: 1.281 kB / 0.7045 GB, free: 75.41 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.27e-05/1.61, allocations: 28.78 kB / 0.7045 GB, free: 75.41 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0143/1.624, allocations: 5.749 MB / 0.7101 GB, free: 73.46 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001859/1.626, allocations: 0.9007 MB / 0.711 GB, free: 73.29 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001149/1.627, allocations: 0.7331 MB / 0.7117 GB, free: 72.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001675/1.628, allocations: 31.69 kB / 0.7118 GB, free: 72.88 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001436/1.629, allocations: 0.8959 MB / 0.7126 GB, free: 72.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=142): time 4.197e-06/1.629, allocations: 0 / 0.7126 GB, free: 72.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=146): time 0.02246/1.651, allocations: 8.038 MB / 0.7205 GB, free: 66.49 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.308e-05/1.652, allocations: 201.2 kB / 0.7207 GB, free: 66.25 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002331/1.654, allocations: 1.128 MB / 0.7218 GB, free: 65.44 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004953/1.654, allocations: 29.8 kB / 0.7218 GB, free: 65.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002991/1.655, allocations: 463.3 kB / 0.7223 GB, free: 65.02 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009945/1.656, allocations: 0.4895 MB / 0.7227 GB, free: 64.59 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002545/1.656, allocations: 0 / 0.7227 GB, free: 64.59 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001325/1.656, allocations: 363.3 kB / 0.7231 GB, free: 64.25 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001287/1.658, allocations: 0.6411 MB / 0.7237 GB, free: 63.91 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001329/1.659, allocations: 0.8448 MB / 0.7245 GB, free: 63.33 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001383/1.66, allocations: 0.7331 MB / 0.7252 GB, free: 62.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.623e-06/1.66, allocations: 0 / 0.7252 GB, free: 62.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.008822/1.669, allocations: 3.429 MB / 0.7286 GB, free: 60.27 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005253/1.67, allocations: 1.806 MB / 0.7304 GB, free: 58.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.333e-05/1.67, allocations: 7.906 kB / 0.7304 GB, free: 58.33 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008705/1.678, allocations: 2.462 MB / 0.7328 GB, free: 56.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/1.68, allocations: 198.1 kB / 0.733 GB, free: 56.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006873/1.687, allocations: 3.376 MB / 0.7363 GB, free: 53.53 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002953/1.69, allocations: 199.9 kB / 0.7364 GB, free: 53.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004407/1.69, allocations: 58.17 kB / 0.7365 GB, free: 53.29 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/1.69, allocations: 4 kB / 0.7365 GB, free: 53.29 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008636/1.699, allocations: 3.172 MB / 0.7396 GB, free: 50.92 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.757e-05/1.699, allocations: 7.938 kB / 0.7396 GB, free: 50.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00867/1.708, allocations: 2.449 MB / 0.742 GB, free: 48.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001223/1.709, allocations: 199.1 kB / 0.7422 GB, free: 48.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007944/1.717, allocations: 4.364 MB / 0.7465 GB, free: 45.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002821/1.72, allocations: 199.8 kB / 0.7466 GB, free: 44.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004478/1.72, allocations: 58.61 kB / 0.7467 GB, free: 44.94 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: hYGOV.Velocity_Limiter.u:VARIABLE() "Connector of Real input signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 5 (sCRX.booleanConstant.y,$whenCondition1,$whenCondition2,hYGOV.Position_Limiter.local_reset,hYGOV.q.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,29 43} Notification: Performance of prepare postOptimizeDAE: time 0.0007516/1.721, allocations: 122.2 kB / 0.7468 GB, free: 44.82 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007288/1.722, allocations: 177.8 kB / 0.747 GB, free: 44.64 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01636/1.738, allocations: 5.567 MB / 0.7524 GB, free: 39.89 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-05/1.738, allocations: 16 kB / 0.7524 GB, free: 39.88 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/1.738, allocations: 0 / 0.7524 GB, free: 39.88 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.083e-05/1.738, allocations: 7.984 kB / 0.7524 GB, free: 39.87 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02137/1.76, allocations: 7.589 MB / 0.7599 GB, free: 32.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-05/1.76, allocations: 4.062 kB / 0.7599 GB, free: 32.38 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001293/1.761, allocations: 171.7 kB / 0.76 GB, free: 32.21 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007148/1.768, allocations: 2.147 MB / 0.7621 GB, free: 30.06 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005429/1.769, allocations: 16 kB / 0.7621 GB, free: 30.04 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01989/1.789, allocations: 8.867 MB / 0.7708 GB, free: 20.95 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.163e-06/1.789, allocations: 0 / 0.7708 GB, free: 20.95 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01929/1.808, allocations: 6.644 MB / 0.7773 GB, free: 14.27 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02019/1.828, allocations: 8.052 MB / 0.7852 GB, free: 6.172 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000795/1.829, allocations: 262.8 kB / 0.7854 GB, free: 5.895 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007289/1.83, allocations: 7.984 kB / 0.7854 GB, free: 5.887 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002596/1.832, allocations: 203.8 kB / 0.7856 GB, free: 5.688 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006271/1.833, allocations: 169 kB / 0.7858 GB, free: 5.523 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002207/1.833, allocations: 39.98 kB / 0.7858 GB, free: 5.484 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001623/1.835, allocations: 0.8449 MB / 0.7866 GB, free: 4.645 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004318/1.839, allocations: 0.6913 MB / 0.7873 GB, free: 3.953 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 14 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENSAL.w,gENSAL.delta,gENSAL.Epq,gENSAL.PSIkd,gENSAL.PSIppq,hYGOV.SimpleLag1.state,hYGOV.q.y,hYGOV.g.state,hYGOV.Position_Limiter.y,sCRX.imLeadLag.TF.x_scaled[1],sCRX.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 95 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004827/1.84, allocations: 162.7 kB / 0.7875 GB, free: 3.789 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01372/1.853, allocations: 4.629 MB / 0.792 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/1.854, allocations: 0 / 0.792 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.006994/1.861, allocations: 2.034 MB / 0.794 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002091/1.863, allocations: 117.6 kB / 0.7941 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009634/1.872, allocations: 2.802 MB / 0.7968 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001921/1.874, allocations: 1.49 MB / 0.7983 GB, free: 8.602 MB / 0.4948 GB Notification: Performance of SimCode: time 1.272e-06/1.874, allocations: 0 / 0.7983 GB, free: 8.602 MB / 0.4948 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_HYGOV_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_HYGOV.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.pipe 2>&1)