Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.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.IEEEX1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1",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.004733/0.004732, allocations: 177.8 kB / 7.455 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.267/1.267, allocations: 221.4 MB / 229.3 MB, free: 2.988 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.0008881/0.0008881, allocations: 105.9 kB / 280.1 MB, free: 1.211 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4302/0.4302, allocations: 78.92 MB / 409.8 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1593/0.5896, allocations: 75.65 MB / 485.5 MB, free: 3.539 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.9153, allocations: 69.5 MB / 0.542 GB, free: 20.7 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1452/1.061, allocations: 112.9 MB / 0.6522 GB, free: 6.883 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002861/1.061, allocations: 91.94 kB / 0.6523 GB, free: 6.793 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: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 0.3754/1.436, allocations: 45.52 MB / 0.6968 GB, free: 104.4 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/1.436, allocations: 7.594 kB / 0.6968 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004005/1.44, allocations: 0.5959 MB / 0.6974 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002898/1.443, allocations: 1.084 MB / 0.6984 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005331/1.444, allocations: 431.7 kB / 0.6988 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004555/1.444, allocations: 65.59 kB / 0.6989 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002785/1.447, allocations: 1.123 MB / 0.7 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002589/1.45, allocations: 1.133 MB / 0.7011 GB, free: 102.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.54e-05/1.45, allocations: 0 / 0.7011 GB, free: 102.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001249/1.45, allocations: 4.719 kB / 0.7011 GB, free: 102.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.85e-05/1.45, allocations: 25.38 kB / 0.7011 GB, free: 102.2 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0108/1.461, allocations: 5.171 MB / 0.7062 GB, free: 99.33 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001927/1.463, allocations: 1.112 MB / 0.7073 GB, free: 98.81 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00104/1.464, allocations: 0.7166 MB / 0.708 GB, free: 98.45 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004729/1.464, allocations: 0.7381 MB / 0.7087 GB, free: 97.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001336/1.466, allocations: 0.8597 MB / 0.7095 GB, free: 97.07 MB / 490.7 MB Notification: Performance of pre-optimization done (n=132): time 2.775e-06/1.466, allocations: 3.938 kB / 0.7095 GB, free: 97.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=132): time 0.01641/1.482, allocations: 5.19 MB / 0.7146 GB, free: 93.95 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/1.482, allocations: 128.1 kB / 0.7147 GB, free: 93.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001862/1.484, allocations: 1.142 MB / 0.7158 GB, free: 92.65 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003142/1.484, allocations: 29.7 kB / 0.7159 GB, free: 92.62 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/1.485, allocations: 403.3 kB / 0.7162 GB, free: 92.21 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005583/1.485, allocations: 461.1 kB / 0.7167 GB, free: 91.76 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.83e-05/1.485, allocations: 0 / 0.7167 GB, free: 91.76 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.194e-05/1.485, allocations: 357.9 kB / 0.717 GB, free: 91.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/1.486, allocations: 0.6211 MB / 0.7176 GB, free: 90.78 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000998/1.487, allocations: 0.7935 MB / 0.7184 GB, free: 89.94 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001328/1.489, allocations: 0.7087 MB / 0.7191 GB, free: 89.23 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/1.489, allocations: 4 kB / 0.7191 GB, free: 89.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.004018/1.493, allocations: 2.201 MB / 0.7212 GB, free: 87.01 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/1.493, allocations: 4 kB / 0.7213 GB, free: 87.01 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.183e-05/1.493, allocations: 4 kB / 0.7213 GB, free: 87 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007693/1.501, allocations: 2.364 MB / 0.7236 GB, free: 84.64 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001183/1.502, allocations: 243.6 kB / 0.7238 GB, free: 84.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004725/1.506, allocations: 2.531 MB / 0.7263 GB, free: 81.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002436/1.509, allocations: 246.8 kB / 0.7265 GB, free: 81.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001704/1.509, allocations: 51.98 kB / 0.7266 GB, free: 81.55 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,iEEEX1.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 128 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {30 26} Notification: Performance of prepare postOptimizeDAE: time 0.0002933/1.509, allocations: 136.4 kB / 0.7267 GB, free: 81.41 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003157/1.51, allocations: 165.9 kB / 0.7268 GB, free: 81.25 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01509/1.525, allocations: 5.37 MB / 0.7321 GB, free: 75.87 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.153e-05/1.525, allocations: 19.84 kB / 0.7321 GB, free: 75.85 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/1.525, allocations: 0 / 0.7321 GB, free: 75.85 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.388e-05/1.525, allocations: 7.984 kB / 0.7321 GB, free: 75.84 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01887/1.544, allocations: 7.29 MB / 0.7392 GB, free: 68.51 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.149e-05/1.544, allocations: 0 / 0.7392 GB, free: 68.51 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001102/1.545, allocations: 163.7 kB / 0.7394 GB, free: 68.35 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006306/1.551, allocations: 2.064 MB / 0.7414 GB, free: 66.29 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000249/1.552, allocations: 15.98 kB / 0.7414 GB, free: 66.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01678/1.568, allocations: 7.176 MB / 0.7484 GB, free: 58.98 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/1.568, allocations: 0 / 0.7484 GB, free: 58.98 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01708/1.585, allocations: 6.337 MB / 0.7546 GB, free: 52.61 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01833/1.604, allocations: 7.691 MB / 0.7621 GB, free: 44.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008707/1.605, allocations: 282.6 kB / 0.7624 GB, free: 44.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003258/1.605, allocations: 4 kB / 0.7624 GB, free: 44.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001787/1.607, allocations: 175.8 kB / 0.7626 GB, free: 44.43 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000387/1.607, allocations: 165 kB / 0.7627 GB, free: 44.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001209/1.607, allocations: 35.98 kB / 0.7628 GB, free: 44.23 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001109/1.609, allocations: 0.8627 MB / 0.7636 GB, free: 43.37 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002061/1.611, allocations: 0.4953 MB / 0.7641 GB, free: 42.88 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,iEEEX1.LL.TF.x_scaled[1],iEEEX1.imDerivativeLag.x,iEEEX1.SL.state,iEEEX1.rotatingExciter.sISO.y,iEEEX1.TransducerDelay.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 88 * 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.0003834/1.611, allocations: 178.9 kB / 0.7643 GB, free: 42.69 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006915/1.618, allocations: 2.5 MB / 0.7667 GB, free: 40.18 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/1.618, allocations: 0 / 0.7667 GB, free: 40.18 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005735/1.624, allocations: 1.856 MB / 0.7685 GB, free: 38.31 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001321/1.625, allocations: 122.6 kB / 0.7686 GB, free: 38.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006206/1.631, allocations: 2.55 MB / 0.7711 GB, free: 35.59 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00121/1.633, allocations: 1.43 MB / 0.7725 GB, free: 34.13 MB / 490.7 MB Notification: Performance of SimCode: time 8.21e-07/1.633, allocations: 0 / 0.7725 GB, free: 34.13 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe 2>&1)