Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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.ES.SCRX,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_SCRX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,fileNamePrefix="OpenIPSL_dev_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.002814/0.002814, allocations: 182.3 kB / 7.46 MB, free: 2.188 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.278/1.278, allocations: 221.4 MB / 229.3 MB, free: 3.027 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.0009464/0.0009463, allocations: 97.73 kB / 280.1 MB, free: 1.32 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4459/0.4459, allocations: 78.92 MB / 409.8 MB, free: 14.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1547/0.6006, allocations: 75.65 MB / 485.5 MB, free: 3.562 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.9327, allocations: 69.5 MB / 0.542 GB, free: 20.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1403/1.073, allocations: 110.6 MB / 0.65 GB, free: 9.266 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002731/1.073, allocations: 91.92 kB / 0.6501 GB, free: 9.176 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.3764/1.45, allocations: 41.86 MB / 0.691 GB, free: 105 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/1.45, allocations: 7.906 kB / 0.691 GB, free: 105 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003656/1.454, allocations: 0.5793 MB / 0.6916 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002419/1.456, allocations: 1 MB / 0.6925 GB, free: 104.5 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000414/1.456, allocations: 397.3 kB / 0.6929 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003414/1.457, allocations: 57.09 kB / 0.693 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002436/1.459, allocations: 1.079 MB / 0.694 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002392/1.462, allocations: 1.091 MB / 0.6951 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.568e-05/1.462, allocations: 3.938 kB / 0.6951 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001327/1.462, allocations: 3.875 kB / 0.6951 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.092e-05/1.462, allocations: 21.75 kB / 0.6951 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01043/1.472, allocations: 4.8 MB / 0.6998 GB, free: 101.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002583/1.475, allocations: 1.039 MB / 0.7008 GB, free: 100.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001456/1.476, allocations: 0.679 MB / 0.7015 GB, free: 100.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001844/1.477, allocations: 25.62 kB / 0.7015 GB, free: 100.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001682/1.478, allocations: 0.8264 MB / 0.7023 GB, free: 99.91 MB / 490.7 MB Notification: Performance of pre-optimization done (n=125): time 9.016e-06/1.478, allocations: 4.656 kB / 0.7023 GB, free: 99.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=125): time 0.01833/1.497, allocations: 5.11 MB / 0.7073 GB, free: 98.77 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.743e-05/1.497, allocations: 115.6 kB / 0.7074 GB, free: 98.65 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003251/1.5, allocations: 1.045 MB / 0.7084 GB, free: 98.19 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004825/1.501, allocations: 26.27 kB / 0.7085 GB, free: 98.16 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003477/1.501, allocations: 387.4 kB / 0.7088 GB, free: 97.89 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009035/1.502, allocations: 434.3 kB / 0.7092 GB, free: 97.55 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002204/1.502, allocations: 0 / 0.7092 GB, free: 97.55 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001584/1.502, allocations: 352.9 kB / 0.7096 GB, free: 97.23 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001307/1.504, allocations: 0.5604 MB / 0.7101 GB, free: 96.96 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001353/1.505, allocations: 0.7196 MB / 0.7108 GB, free: 96.54 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001712/1.507, allocations: 0.6276 MB / 0.7114 GB, free: 96.25 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-05/1.507, allocations: 2.094 kB / 0.7114 GB, free: 96.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.004959/1.512, allocations: 2.066 MB / 0.7135 GB, free: 94.84 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/1.512, allocations: 4 kB / 0.7135 GB, free: 94.83 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.03e-05/1.512, allocations: 4.344 kB / 0.7135 GB, free: 94.83 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008963/1.521, allocations: 2.576 MB / 0.716 GB, free: 92.54 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008921/1.522, allocations: 151.8 kB / 0.7161 GB, free: 92.39 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006166/1.528, allocations: 2.862 MB / 0.7189 GB, free: 89.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002292/1.53, allocations: 234.9 kB / 0.7192 GB, free: 89.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000253/1.531, allocations: 47.98 kB / 0.7192 GB, free: 89.22 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.0004196/1.531, allocations: 130.5 kB / 0.7193 GB, free: 89.09 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005337/1.532, allocations: 162 kB / 0.7195 GB, free: 88.93 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0151/1.547, allocations: 5.314 MB / 0.7247 GB, free: 83.62 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-05/1.547, allocations: 12 kB / 0.7247 GB, free: 83.61 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.52e-05/1.547, allocations: 4 kB / 0.7247 GB, free: 83.61 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-05/1.547, allocations: 7.969 kB / 0.7247 GB, free: 83.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01875/1.566, allocations: 7.098 MB / 0.7316 GB, free: 76.44 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.504e-05/1.566, allocations: 0 / 0.7316 GB, free: 76.44 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001054/1.567, allocations: 135.8 kB / 0.7318 GB, free: 76.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006643/1.573, allocations: 2.064 MB / 0.7338 GB, free: 74.24 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003356/1.574, allocations: 15.78 kB / 0.7338 GB, free: 74.23 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01784/1.592, allocations: 7.176 MB / 0.7408 GB, free: 66.95 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.604e-06/1.592, allocations: 4.812 kB / 0.7408 GB, free: 66.95 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01727/1.609, allocations: 6.239 MB / 0.7469 GB, free: 60.68 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01875/1.628, allocations: 7.568 MB / 0.7543 GB, free: 53.09 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000812/1.629, allocations: 270.8 kB / 0.7545 GB, free: 52.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00063/1.629, allocations: 0 / 0.7545 GB, free: 52.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002061/1.631, allocations: 175.8 kB / 0.7547 GB, free: 52.63 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004777/1.632, allocations: 164.6 kB / 0.7549 GB, free: 52.47 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001616/1.632, allocations: 43.98 kB / 0.7549 GB, free: 52.43 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001213/1.633, allocations: 0.7969 MB / 0.7557 GB, free: 51.63 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002398/1.636, allocations: 455.3 kB / 0.7561 GB, free: 51.19 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.0004787/1.636, allocations: 151 kB / 0.7563 GB, free: 51.03 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00719/1.643, allocations: 2.388 MB / 0.7586 GB, free: 48.64 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/1.643, allocations: 0.9375 kB / 0.7586 GB, free: 48.64 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005522/1.649, allocations: 1.828 MB / 0.7604 GB, free: 46.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/1.65, allocations: 104.9 kB / 0.7605 GB, free: 46.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005676/1.656, allocations: 2.369 MB / 0.7628 GB, free: 44.33 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001079/1.657, allocations: 1.366 MB / 0.7641 GB, free: 42.93 MB / 490.7 MB Notification: Performance of SimCode: time 1.062e-06/1.657, allocations: 0 / 0.7641 GB, free: 42.93 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_SCRX_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_SCRX.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe 2>&1)