Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.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.ES.SCRX,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_SCRX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_SCRX",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.003028/0.003029, allocations: 183.6 kB / 7.459 MB, free: 2.512 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.283/1.283, allocations: 221.4 MB / 229.3 MB, free: 3.141 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.0009531/0.0009531, allocations: 97.23 kB / 280.1 MB, free: 1.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4918/0.4918, allocations: 78.06 MB / 408.9 MB, free: 15.63 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1837/0.6755, allocations: 75.49 MB / 484.4 MB, free: 4.418 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3752/1.051, allocations: 69.35 MB / 0.5408 GB, free: 21.59 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1399/1.191, allocations: 110 MB / 0.6482 GB, free: 10.8 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002755/1.191, allocations: 87.92 kB / 0.6483 GB, free: 10.72 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.4134/1.604, allocations: 43.38 MB / 0.6907 GB, free: 105 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/1.604, allocations: 11.66 kB / 0.6907 GB, free: 105 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003602/1.608, allocations: 0.5786 MB / 0.6912 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002084/1.61, allocations: 1 MB / 0.6922 GB, free: 104.5 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004263/1.611, allocations: 399.3 kB / 0.6926 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003495/1.611, allocations: 60.28 kB / 0.6927 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002553/1.613, allocations: 1.078 MB / 0.6937 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002404/1.616, allocations: 1.083 MB / 0.6948 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.908e-05/1.616, allocations: 0 / 0.6948 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001431/1.616, allocations: 0 / 0.6948 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.027e-05/1.616, allocations: 23.09 kB / 0.6948 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01003/1.626, allocations: 4.811 MB / 0.6995 GB, free: 101.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002413/1.629, allocations: 1.029 MB / 0.7005 GB, free: 100.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001726/1.63, allocations: 0.6856 MB / 0.7012 GB, free: 100.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000228/1.631, allocations: 22.56 kB / 0.7012 GB, free: 100.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002153/1.633, allocations: 0.8231 MB / 0.702 GB, free: 99.91 MB / 490.7 MB Notification: Performance of pre-optimization done (n=125): time 6.362e-06/1.633, allocations: 3.938 kB / 0.702 GB, free: 99.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=125): time 0.01781/1.651, allocations: 5.124 MB / 0.707 GB, free: 98.77 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.593e-05/1.651, allocations: 115.6 kB / 0.7071 GB, free: 98.64 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002203/1.653, allocations: 1.046 MB / 0.7081 GB, free: 98.18 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003076/1.653, allocations: 25.7 kB / 0.7081 GB, free: 98.15 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002601/1.654, allocations: 384.6 kB / 0.7085 GB, free: 97.89 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007558/1.654, allocations: 430.8 kB / 0.7089 GB, free: 97.55 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001942/1.655, allocations: 0 / 0.7089 GB, free: 97.55 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001263/1.655, allocations: 351 kB / 0.7093 GB, free: 97.23 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001218/1.656, allocations: 0.5645 MB / 0.7098 GB, free: 96.96 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001427/1.657, allocations: 0.7162 MB / 0.7105 GB, free: 96.54 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001605/1.659, allocations: 0.6256 MB / 0.7111 GB, free: 96.25 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.053e-05/1.659, allocations: 1 kB / 0.7111 GB, free: 96.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.004903/1.664, allocations: 2.064 MB / 0.7131 GB, free: 95.22 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/1.664, allocations: 11.94 kB / 0.7131 GB, free: 95.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.192e-05/1.664, allocations: 4 kB / 0.7132 GB, free: 95.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009672/1.674, allocations: 2.57 MB / 0.7157 GB, free: 93.12 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009351/1.675, allocations: 147.8 kB / 0.7158 GB, free: 92.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006271/1.681, allocations: 2.865 MB / 0.7186 GB, free: 90.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002395/1.683, allocations: 234.9 kB / 0.7188 GB, free: 89.86 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000219/1.684, allocations: 51.97 kB / 0.7189 GB, free: 89.8 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: sCRX.ECOMP0:VARIABLE(fixed = false protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (sCRX.booleanConstant.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 85 * 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 {34 41} Notification: Performance of prepare postOptimizeDAE: time 0.0003745/1.684, allocations: 121.1 kB / 0.719 GB, free: 89.68 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004517/1.684, allocations: 158 kB / 0.7191 GB, free: 89.52 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01505/1.7, allocations: 5.315 MB / 0.7243 GB, free: 84.21 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-05/1.7, allocations: 12 kB / 0.7243 GB, free: 84.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/1.7, allocations: 0 / 0.7243 GB, free: 84.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.242e-05/1.7, allocations: 7.984 kB / 0.7244 GB, free: 84.19 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01863/1.718, allocations: 7.09 MB / 0.7313 GB, free: 77.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.671e-05/1.718, allocations: 4 kB / 0.7313 GB, free: 77.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001105/1.719, allocations: 143.8 kB / 0.7314 GB, free: 76.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00673/1.726, allocations: 2.06 MB / 0.7334 GB, free: 74.84 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003766/1.727, allocations: 15.98 kB / 0.7334 GB, free: 74.82 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01742/1.744, allocations: 7.175 MB / 0.7404 GB, free: 67.55 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/1.744, allocations: 0 / 0.7404 GB, free: 67.55 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01763/1.762, allocations: 6.239 MB / 0.7465 GB, free: 61.29 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01837/1.78, allocations: 7.567 MB / 0.7539 GB, free: 53.7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006408/1.781, allocations: 270.8 kB / 0.7542 GB, free: 53.41 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005437/1.781, allocations: 4 kB / 0.7542 GB, free: 53.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002123/1.784, allocations: 177.7 kB / 0.7544 GB, free: 53.23 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004791/1.784, allocations: 153 kB / 0.7545 GB, free: 53.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001698/1.784, allocations: 35.98 kB / 0.7545 GB, free: 53.05 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001323/1.786, allocations: 0.7969 MB / 0.7553 GB, free: 52.25 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002469/1.788, allocations: 455.3 kB / 0.7558 GB, free: 51.81 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,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,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 (82): * Single equations (assignments): 81 * 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.0004631/1.789, allocations: 166.1 kB / 0.7559 GB, free: 51.64 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007373/1.796, allocations: 2.388 MB / 0.7582 GB, free: 49.25 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/1.796, allocations: 0 / 0.7582 GB, free: 49.25 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005898/1.802, allocations: 1.832 MB / 0.76 GB, free: 47.41 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001463/1.803, allocations: 96.95 kB / 0.7601 GB, free: 47.32 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006713/1.81, allocations: 2.356 MB / 0.7624 GB, free: 44.96 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001203/1.811, allocations: 1.363 MB / 0.7638 GB, free: 43.57 MB / 490.7 MB Notification: Performance of SimCode: time 5.31e-07/1.811, allocations: 7.875 kB / 0.7638 GB, free: 43.56 MB / 490.7 MB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_SCRX_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_SCRX.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe 2>&1)