Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.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/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/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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.HYGOV,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_HYGOV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.HYGOV,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.003761/0.003761, allocations: 184.3 kB / 7.462 MB, free: 2.5 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.402/1.402, allocations: 205.2 MB / 213.1 MB, free: 13.87 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.000976/0.0009762, allocations: 84.42 kB / 261.1 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.0815/0.0815, allocations: 12.19 MB / 321.2 MB, free: 1.289 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3282/0.3282, allocations: 78.05 MB / 449.9 MB, free: 3.664 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3394/0.6676, allocations: 76.09 MB / 0.5137 GB, free: 30.34 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.8221, allocations: 69.23 MB / 0.5813 GB, free: 9.203 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4412/1.263, allocations: 114.8 MB / 0.6934 GB, free: 10.06 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002799/1.264, allocations: 83.64 kB / 0.6935 GB, free: 10.02 MB / 442.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.1401/1.404, allocations: 48.48 MB / 0.7408 GB, free: 2.16 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/1.404, allocations: 11.94 kB / 0.7409 GB, free: 2.148 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00434/1.408, allocations: 0.6094 MB / 0.7414 GB, free: 1.578 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003347/1.412, allocations: 1.097 MB / 0.7425 GB, free: 0.6875 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006589/1.412, allocations: 468.2 kB / 0.743 GB, free: 160 kB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005876/1.413, allocations: 79.89 kB / 0.743 GB, free: 80 kB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003131/1.416, allocations: 1.197 MB / 0.7442 GB, free: 15.36 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003209/1.419, allocations: 1.281 MB / 0.7455 GB, free: 14.43 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.415e-05/1.419, allocations: 3.938 kB / 0.7455 GB, free: 14.42 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002055/1.42, allocations: 4 kB / 0.7455 GB, free: 14.42 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.021e-05/1.42, allocations: 32 kB / 0.7455 GB, free: 14.39 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01342/1.433, allocations: 5.757 MB / 0.7511 GB, free: 9.742 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001823/1.435, allocations: 0.8955 MB / 0.752 GB, free: 8.809 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001262/1.436, allocations: 0.7416 MB / 0.7527 GB, free: 8.059 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001597/1.436, allocations: 29.28 kB / 0.7527 GB, free: 8.031 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00157/1.438, allocations: 0.8951 MB / 0.7536 GB, free: 7.109 MB / 490.7 MB Notification: Performance of pre-optimization done (n=142): time 5.26e-06/1.438, allocations: 0 / 0.7536 GB, free: 7.109 MB / 490.7 MB Notification: Performance of matching and sorting (n=146): time 0.02289/1.461, allocations: 8.037 MB / 0.7615 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/1.461, allocations: 201.2 kB / 0.7617 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002156/1.463, allocations: 1.125 MB / 0.7628 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004452/1.464, allocations: 29.7 kB / 0.7628 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003006/1.464, allocations: 463.5 kB / 0.7632 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006749/1.465, allocations: 0.4927 MB / 0.7637 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.958e-05/1.465, allocations: 0 / 0.7637 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000155/1.465, allocations: 365.9 kB / 0.7641 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001272/1.466, allocations: 0.6405 MB / 0.7647 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001288/1.467, allocations: 0.8538 MB / 0.7655 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001406/1.469, allocations: 0.7165 MB / 0.7662 GB, free: 9.988 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/1.469, allocations: 0 / 0.7662 GB, free: 9.988 MB / 0.4948 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.008952/1.478, allocations: 3.435 MB / 0.7696 GB, free: 6.535 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006158/1.478, allocations: 1.803 MB / 0.7713 GB, free: 4.578 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.687e-05/1.479, allocations: 4 kB / 0.7713 GB, free: 4.574 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008601/1.487, allocations: 2.472 MB / 0.7738 GB, free: 2.098 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/1.488, allocations: 195.7 kB / 0.7739 GB, free: 1.906 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006444/1.495, allocations: 3.377 MB / 0.7772 GB, free: 14.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002497/1.497, allocations: 199.9 kB / 0.7774 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001843/1.498, allocations: 59.97 kB / 0.7775 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/1.498, allocations: 4 kB / 0.7775 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008229/1.506, allocations: 3.17 MB / 0.7806 GB, free: 11.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.246e-05/1.506, allocations: 4 kB / 0.7806 GB, free: 11.04 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008359/1.514, allocations: 2.449 MB / 0.783 GB, free: 8.578 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001079/1.515, allocations: 195.7 kB / 0.7832 GB, free: 8.387 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007343/1.523, allocations: 4.355 MB / 0.7874 GB, free: 3.887 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002563/1.525, allocations: 199.8 kB / 0.7876 GB, free: 3.691 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002027/1.526, allocations: 59.97 kB / 0.7877 GB, free: 3.633 MB / 0.5105 GB 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.0004877/1.526, allocations: 132.7 kB / 0.7878 GB, free: 3.496 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004013/1.526, allocations: 181.8 kB / 0.788 GB, free: 3.316 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01727/1.544, allocations: 5.559 MB / 0.7934 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.947e-05/1.544, allocations: 16 kB / 0.7934 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/1.544, allocations: 0 / 0.7934 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.813e-05/1.544, allocations: 11.97 kB / 0.7934 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02031/1.564, allocations: 7.598 MB / 0.8008 GB, free: 6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-05/1.564, allocations: 0 / 0.8008 GB, free: 6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001284/1.566, allocations: 171.7 kB / 0.801 GB, free: 5.832 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007315/1.573, allocations: 2.151 MB / 0.8031 GB, free: 3.676 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003974/1.573, allocations: 15.98 kB / 0.8031 GB, free: 3.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02076/1.594, allocations: 8.869 MB / 0.8118 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/1.594, allocations: 0 / 0.8118 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01915/1.613, allocations: 6.637 MB / 0.8183 GB, free: 3.859 MB / 0.5417 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0215/1.635, allocations: 8.053 MB / 0.8261 GB, free: 11.75 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001079/1.636, allocations: 266.7 kB / 0.8264 GB, free: 11.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000436/1.636, allocations: 11.94 kB / 0.8264 GB, free: 11.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002133/1.639, allocations: 195.8 kB / 0.8266 GB, free: 11.26 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005083/1.639, allocations: 173 kB / 0.8267 GB, free: 11.09 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001401/1.639, allocations: 39.98 kB / 0.8268 GB, free: 11.05 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.001523/1.641, allocations: 0.8488 MB / 0.8276 GB, free: 10.21 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003496/1.644, allocations: 0.699 MB / 0.8283 GB, free: 9.508 MB / 0.5573 GB 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.0004428/1.645, allocations: 159 kB / 0.8285 GB, free: 9.344 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01444/1.659, allocations: 4.625 MB / 0.833 GB, free: 4.695 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.295e-06/1.659, allocations: 0.9375 kB / 0.833 GB, free: 4.695 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.00673/1.666, allocations: 2.032 MB / 0.835 GB, free: 2.641 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001644/1.668, allocations: 129.1 kB / 0.8351 GB, free: 2.516 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008056/1.676, allocations: 2.802 MB / 0.8378 GB, free: 15.65 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001361/1.677, allocations: 1.489 MB / 0.8393 GB, free: 14.13 MB / 0.573 GB Notification: Performance of SimCode: time 1.202e-06/1.677, allocations: 0 / 0.8393 GB, free: 14.13 MB / 0.573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_HYGOV_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_HYGOV.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.pipe 2>&1)