Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.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.EXAC1,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_EXAC1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.EXAC1,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_EXAC1",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.003288/0.003288, allocations: 184.8 kB / 7.463 MB, free: 2.5 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.299/1.299, allocations: 221.4 MB / 229.3 MB, free: 3.039 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.001055/0.001055, allocations: 96.67 kB / 280.1 MB, free: 1.324 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4901/0.4901, allocations: 78.05 MB / 409 MB, free: 15.53 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1667/0.6569, allocations: 75.5 MB / 484.4 MB, free: 4.363 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3538/1.011, allocations: 69.35 MB / 0.5408 GB, free: 21.31 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1441/1.155, allocations: 114.3 MB / 0.6525 GB, free: 6.441 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002701/1.155, allocations: 91.94 kB / 0.6526 GB, free: 6.352 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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.4006/1.556, allocations: 50.1 MB / 0.7015 GB, free: 103.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/1.556, allocations: 8.844 kB / 0.7015 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004753/1.561, allocations: 0.6002 MB / 0.7021 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004914/1.566, allocations: 1.143 MB / 0.7032 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008202/1.566, allocations: 463.2 kB / 0.7036 GB, free: 102.2 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000935/1.567, allocations: 77.83 kB / 0.7037 GB, free: 102.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003474/1.571, allocations: 1.176 MB / 0.7049 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002762/1.574, allocations: 1.19 MB / 0.706 GB, free: 101 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.856e-05/1.574, allocations: 0 / 0.706 GB, free: 101 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001619/1.574, allocations: 2.281 kB / 0.706 GB, free: 101 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.392e-05/1.574, allocations: 26.12 kB / 0.706 GB, free: 101 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01196/1.586, allocations: 5.3 MB / 0.7112 GB, free: 96.96 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00246/1.588, allocations: 1.172 MB / 0.7124 GB, free: 96.38 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00128/1.59, allocations: 0.7437 MB / 0.7131 GB, free: 96 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005804/1.59, allocations: 0.7276 MB / 0.7138 GB, free: 95.14 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001613/1.592, allocations: 0.8889 MB / 0.7147 GB, free: 94.58 MB / 490.7 MB Notification: Performance of pre-optimization done (n=136): time 6.091e-06/1.592, allocations: 2.625 kB / 0.7147 GB, free: 94.58 MB / 490.7 MB Notification: Performance of matching and sorting (n=136): time 0.01629/1.608, allocations: 5.32 MB / 0.7199 GB, free: 89.31 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/1.608, allocations: 116.1 kB / 0.72 GB, free: 89.17 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002288/1.611, allocations: 1.163 MB / 0.7211 GB, free: 88 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004559/1.611, allocations: 33.7 kB / 0.7212 GB, free: 87.96 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000268/1.611, allocations: 423.6 kB / 0.7216 GB, free: 87.54 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009633/1.612, allocations: 472.9 kB / 0.722 GB, free: 87.07 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001851/1.613, allocations: 0 / 0.722 GB, free: 87.07 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001102/1.613, allocations: 361.9 kB / 0.7224 GB, free: 86.71 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001169/1.614, allocations: 0.6289 MB / 0.723 GB, free: 86.09 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001329/1.615, allocations: 0.8051 MB / 0.7238 GB, free: 85.23 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001627/1.617, allocations: 0.7203 MB / 0.7245 GB, free: 84.51 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/1.617, allocations: 0 / 0.7245 GB, free: 84.51 MB / 490.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.004877/1.622, allocations: 2.26 MB / 0.7267 GB, free: 82.23 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/1.622, allocations: 4 kB / 0.7267 GB, free: 82.23 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.775e-05/1.622, allocations: 4 kB / 0.7267 GB, free: 82.23 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008671/1.631, allocations: 2.471 MB / 0.7291 GB, free: 79.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001374/1.632, allocations: 227.6 kB / 0.7293 GB, free: 79.53 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005742/1.638, allocations: 3.191 MB / 0.7324 GB, free: 76.29 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00288/1.641, allocations: 270.6 kB / 0.7327 GB, free: 76.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003458/1.641, allocations: 47.98 kB / 0.7327 GB, free: 75.97 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,eXAC1.rotatingExciterWithDemagnetizationLimited.sISO.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 119 * 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 {30 26,1 10} Notification: Performance of prepare postOptimizeDAE: time 0.0004072/1.641, allocations: 124.8 kB / 0.7328 GB, free: 75.84 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006861/1.642, allocations: 169.8 kB / 0.733 GB, free: 75.68 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0157/1.658, allocations: 5.377 MB / 0.7383 GB, free: 70.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.089e-05/1.658, allocations: 15.91 kB / 0.7383 GB, free: 70.29 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.554e-05/1.658, allocations: 0 / 0.7383 GB, free: 70.29 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.263e-05/1.658, allocations: 11.97 kB / 0.7383 GB, free: 70.28 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02148/1.68, allocations: 7.364 MB / 0.7455 GB, free: 62.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.447e-05/1.68, allocations: 0 / 0.7455 GB, free: 62.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001322/1.681, allocations: 179.7 kB / 0.7456 GB, free: 62.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006637/1.688, allocations: 2.068 MB / 0.7477 GB, free: 60.61 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004058/1.688, allocations: 15.98 kB / 0.7477 GB, free: 60.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0176/1.706, allocations: 7.16 MB / 0.7547 GB, free: 53.32 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/1.706, allocations: 0 / 0.7547 GB, free: 53.32 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01869/1.724, allocations: 6.494 MB / 0.761 GB, free: 46.8 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02183/1.746, allocations: 7.872 MB / 0.7687 GB, free: 38.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001299/1.748, allocations: 290.5 kB / 0.769 GB, free: 38.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00114/1.749, allocations: 4 kB / 0.769 GB, free: 38.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002948/1.752, allocations: 191.8 kB / 0.7692 GB, free: 38.41 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005912/1.752, allocations: 173 kB / 0.7693 GB, free: 38.24 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002079/1.753, allocations: 39.98 kB / 0.7694 GB, free: 38.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001535/1.754, allocations: 0.8791 MB / 0.7702 GB, free: 37.32 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00276/1.757, allocations: 0.4991 MB / 0.7707 GB, free: 36.82 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,eXAC1.imLimitedSimpleLag.state,eXAC1.imDerivativeLag.x,eXAC1.leadLag.TF.x_scaled[1],eXAC1.rotatingExciterWithDemagnetizationLimited.sISO.y,eXAC1.TransducerDelay.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 92 * 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.0004603/1.757, allocations: 186.6 kB / 0.7709 GB, free: 36.64 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007592/1.765, allocations: 2.519 MB / 0.7733 GB, free: 34.11 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/1.765, allocations: 0 / 0.7733 GB, free: 34.11 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006307/1.771, allocations: 1.902 MB / 0.7752 GB, free: 32.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002038/1.773, allocations: 113.5 kB / 0.7753 GB, free: 32.08 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008975/1.782, allocations: 2.674 MB / 0.7779 GB, free: 29.36 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001508/1.784, allocations: 1.457 MB / 0.7793 GB, free: 27.88 MB / 490.7 MB Notification: Performance of SimCode: time 7.91e-07/1.784, allocations: 0 / 0.7793 GB, free: 27.88 MB / 490.7 MB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_EXAC1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_EXAC1.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.pipe 2>&1)