Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.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.ES.SCRX,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SCRX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.003245/0.003245, allocations: 183.3 kB / 7.459 MB, free: 2.512 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.203/1.203, allocations: 205.2 MB / 213.1 MB, free: 13.92 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.0009022/0.0009021, allocations: 89.19 kB / 261.1 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06639/0.06639, allocations: 12.21 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.2811/0.2811, allocations: 78.05 MB / 449.9 MB, free: 3.656 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2655/0.5466, allocations: 76.1 MB / 0.5137 GB, free: 30.31 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.68, allocations: 69.23 MB / 0.5813 GB, free: 9.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3585/1.039, allocations: 111.5 MB / 0.6901 GB, free: 13.58 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003651/1.039, allocations: 93.33 kB / 0.6902 GB, free: 13.53 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.1208/1.16, allocations: 42.33 MB / 0.7316 GB, free: 10.57 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/1.16, allocations: 11.94 kB / 0.7316 GB, free: 10.56 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003619/1.163, allocations: 0.5814 MB / 0.7321 GB, free: 10.02 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002258/1.166, allocations: 0.9893 MB / 0.7331 GB, free: 9.219 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005343/1.166, allocations: 407.7 kB / 0.7335 GB, free: 8.758 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003459/1.167, allocations: 59.91 kB / 0.7335 GB, free: 8.699 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002455/1.169, allocations: 1.081 MB / 0.7346 GB, free: 8.047 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002359/1.171, allocations: 1.082 MB / 0.7357 GB, free: 7.297 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.815e-05/1.172, allocations: 3.984 kB / 0.7357 GB, free: 7.293 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001259/1.172, allocations: 0 / 0.7357 GB, free: 7.293 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.648e-05/1.172, allocations: 27.94 kB / 0.7357 GB, free: 7.266 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01162/1.183, allocations: 4.813 MB / 0.7404 GB, free: 3.449 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00195/1.185, allocations: 1.031 MB / 0.7414 GB, free: 2.793 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001125/1.186, allocations: 0.6866 MB / 0.7421 GB, free: 2.418 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001497/1.187, allocations: 23.8 kB / 0.7421 GB, free: 2.398 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001449/1.188, allocations: 0.8176 MB / 0.7429 GB, free: 1.848 MB / 474.7 MB Notification: Performance of pre-optimization done (n=125): time 4.879e-06/1.188, allocations: 0 / 0.7429 GB, free: 1.848 MB / 474.7 MB Notification: Performance of matching and sorting (n=125): time 0.01717/1.205, allocations: 5.112 MB / 0.7479 GB, free: 13.12 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.884e-05/1.205, allocations: 119.8 kB / 0.748 GB, free: 12.98 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002491/1.208, allocations: 1.05 MB / 0.749 GB, free: 11.92 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003917/1.208, allocations: 25.7 kB / 0.749 GB, free: 11.89 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003459/1.209, allocations: 390.7 kB / 0.7494 GB, free: 11.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000934/1.21, allocations: 421.6 kB / 0.7498 GB, free: 11.08 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001922/1.21, allocations: 0 / 0.7498 GB, free: 11.08 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002109/1.21, allocations: 365.9 kB / 0.7502 GB, free: 10.72 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001235/1.211, allocations: 0.5611 MB / 0.7507 GB, free: 10.16 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001344/1.213, allocations: 0.7124 MB / 0.7514 GB, free: 9.395 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00159/1.214, allocations: 0.631 MB / 0.752 GB, free: 8.766 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.388e-06/1.214, allocations: 4 kB / 0.752 GB, free: 8.762 MB / 490.7 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.004761/1.219, allocations: 2.058 MB / 0.754 GB, free: 6.688 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/1.219, allocations: 4 kB / 0.754 GB, free: 6.684 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.797e-05/1.219, allocations: 4 kB / 0.754 GB, free: 6.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009521/1.229, allocations: 2.576 MB / 0.7566 GB, free: 4.098 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/1.23, allocations: 155.6 kB / 0.7567 GB, free: 3.945 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0074/1.237, allocations: 2.862 MB / 0.7595 GB, free: 1.055 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002464/1.24, allocations: 242.8 kB / 0.7597 GB, free: 0.8164 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003067/1.24, allocations: 47.98 kB / 0.7598 GB, free: 0.7695 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.0004799/1.241, allocations: 116.8 kB / 0.7599 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006549/1.241, allocations: 158 kB / 0.76 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01723/1.258, allocations: 5.313 MB / 0.7652 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.8e-05/1.259, allocations: 12 kB / 0.7652 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/1.259, allocations: 4 kB / 0.7652 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.099e-05/1.259, allocations: 7.969 kB / 0.7653 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02137/1.28, allocations: 7.098 MB / 0.7722 GB, free: 3.941 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.53e-05/1.28, allocations: 0 / 0.7722 GB, free: 3.941 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001145/1.281, allocations: 139.8 kB / 0.7723 GB, free: 3.805 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00742/1.289, allocations: 2.068 MB / 0.7743 GB, free: 1.73 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004374/1.289, allocations: 11.98 kB / 0.7744 GB, free: 1.719 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01994/1.309, allocations: 7.168 MB / 0.7814 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.945e-06/1.309, allocations: 4 kB / 0.7814 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01937/1.329, allocations: 6.232 MB / 0.7874 GB, free: 4.152 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02136/1.35, allocations: 7.557 MB / 0.7948 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008437/1.351, allocations: 278.7 kB / 0.7951 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005795/1.351, allocations: 4 kB / 0.7951 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002189/1.354, allocations: 175.8 kB / 0.7953 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005235/1.354, allocations: 153 kB / 0.7954 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001701/1.354, allocations: 35.98 kB / 0.7954 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.001427/1.356, allocations: 0.793 MB / 0.7962 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002402/1.358, allocations: 467.2 kB / 0.7967 GB, free: 10.64 MB / 0.5261 GB 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.0004262/1.359, allocations: 147 kB / 0.7968 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007765/1.366, allocations: 2.39 MB / 0.7991 GB, free: 8.098 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/1.366, allocations: 3.938 kB / 0.7991 GB, free: 8.094 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.006466/1.373, allocations: 1.817 MB / 0.8009 GB, free: 6.262 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/1.374, allocations: 105.1 kB / 0.801 GB, free: 6.156 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007102/1.382, allocations: 2.352 MB / 0.8033 GB, free: 3.758 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001564/1.383, allocations: 1.366 MB / 0.8046 GB, free: 2.363 MB / 0.5261 GB Notification: Performance of SimCode: time 8.31e-07/1.383, allocations: 0 / 0.8046 GB, free: 2.363 MB / 0.5261 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SCRX_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SCRX.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe 2>&1)