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: translateModel(OpenIPSL.Tests.Controls.PSSE.ES.EXAC1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.EXAC1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1") [: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.002569/0.002569, allocations: 179.5 kB / 7.455 MB, free: 2.508 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.237/1.237, allocations: 221.4 MB / 229.3 MB, free: 3.301 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.0009171/0.0009171, allocations: 94.33 kB / 280.1 MB, free: 1.348 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5388/0.5388, allocations: 78.05 MB / 408.9 MB, free: 15.52 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.556e-06/8.586e-06, allocations: 4 kB / 484.4 MB, free: 4.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.26, allocations: 69.35 MB / 0.5407 GB, free: 21.46 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1293/0.3894, allocations: 114.3 MB / 0.6524 GB, free: 6.453 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002581/0.3897, allocations: 79.95 kB / 0.6525 GB, free: 6.375 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.3367/0.7264, allocations: 47.75 MB / 0.6991 GB, free: 104.9 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001935/0.7266, allocations: 30.31 kB / 0.6991 GB, free: 104.9 MB / 490.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.008457/0.7351, allocations: 2.326 MB / 0.7014 GB, free: 103.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/0.7352, allocations: 9.438 kB / 0.7014 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004429/0.7396, allocations: 0.6034 MB / 0.702 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003399/0.743, allocations: 1.137 MB / 0.7031 GB, free: 102.9 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006044/0.7437, allocations: 469 kB / 0.7035 GB, free: 102.5 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005153/0.7442, allocations: 77.59 kB / 0.7036 GB, free: 102.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003012/0.7472, allocations: 1.172 MB / 0.7048 GB, free: 101.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002598/0.7498, allocations: 1.195 MB / 0.7059 GB, free: 101.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.015e-05/0.7499, allocations: 0 / 0.7059 GB, free: 101.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001691/0.7501, allocations: 3.984 kB / 0.7059 GB, free: 101.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.362e-05/0.7501, allocations: 25.5 kB / 0.706 GB, free: 101.2 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0105/0.7606, allocations: 5.293 MB / 0.7111 GB, free: 97.19 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002102/0.7627, allocations: 1.181 MB / 0.7123 GB, free: 96.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001145/0.7639, allocations: 0.7329 MB / 0.713 GB, free: 96.23 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004732/0.7644, allocations: 0.7326 MB / 0.7137 GB, free: 95.37 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001385/0.7658, allocations: 0.8914 MB / 0.7146 GB, free: 94.66 MB / 490.7 MB Notification: Performance of pre-optimization done (n=136): time 3.456e-06/0.7658, allocations: 0 / 0.7146 GB, free: 94.66 MB / 490.7 MB Notification: Performance of matching and sorting (n=136): time 0.01606/0.7818, allocations: 5.318 MB / 0.7198 GB, free: 89.34 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.7819, allocations: 120.1 kB / 0.7199 GB, free: 89.19 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002035/0.784, allocations: 1.167 MB / 0.721 GB, free: 88.02 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003229/0.7843, allocations: 25.7 kB / 0.7211 GB, free: 87.99 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002943/0.7846, allocations: 423.6 kB / 0.7215 GB, free: 87.57 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007094/0.7853, allocations: 476.9 kB / 0.7219 GB, free: 87.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002285/0.7856, allocations: 0 / 0.7219 GB, free: 87.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.154e-05/0.7857, allocations: 353.9 kB / 0.7222 GB, free: 86.75 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001142/0.7868, allocations: 0.6328 MB / 0.7229 GB, free: 86.11 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001178/0.788, allocations: 0.8013 MB / 0.7236 GB, free: 85.26 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001519/0.7895, allocations: 0.7203 MB / 0.7244 GB, free: 84.54 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/0.7896, allocations: 4 kB / 0.7244 GB, free: 84.54 MB / 490.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.00467/0.7942, allocations: 2.264 MB / 0.7266 GB, free: 82.26 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.7943, allocations: 4 kB / 0.7266 GB, free: 82.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.7943, allocations: 8 kB / 0.7266 GB, free: 82.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008329/0.8026, allocations: 2.464 MB / 0.729 GB, free: 79.78 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/0.8038, allocations: 231.7 kB / 0.7292 GB, free: 79.55 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005419/0.8092, allocations: 3.189 MB / 0.7323 GB, free: 76.31 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002531/0.8118, allocations: 266.8 kB / 0.7326 GB, free: 76.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002388/0.812, allocations: 59.92 kB / 0.7326 GB, free: 75.99 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.0003518/0.8124, allocations: 124.3 kB / 0.7327 GB, free: 75.87 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005293/0.8129, allocations: 173.8 kB / 0.7329 GB, free: 75.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01602/0.829, allocations: 5.366 MB / 0.7382 GB, free: 70.33 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.842e-05/0.829, allocations: 23.83 kB / 0.7382 GB, free: 70.31 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/0.829, allocations: 4 kB / 0.7382 GB, free: 70.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.199e-05/0.8291, allocations: 3.984 kB / 0.7382 GB, free: 70.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01949/0.8486, allocations: 7.373 MB / 0.7454 GB, free: 62.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-05/0.8486, allocations: 0 / 0.7454 GB, free: 62.88 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001386/0.85, allocations: 183.7 kB / 0.7456 GB, free: 62.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007083/0.8571, allocations: 2.064 MB / 0.7476 GB, free: 60.63 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000508/0.8577, allocations: 12 kB / 0.7476 GB, free: 60.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01811/0.8758, allocations: 7.16 MB / 0.7546 GB, free: 53.34 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.183e-06/0.8759, allocations: 0 / 0.7546 GB, free: 53.34 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01824/0.8941, allocations: 6.49 MB / 0.7609 GB, free: 46.83 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008648/0.895, allocations: 290.5 kB / 0.7612 GB, free: 46.52 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000778/0.8958, allocations: 3.938 kB / 0.7612 GB, free: 46.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002543/0.8984, allocations: 199.8 kB / 0.7614 GB, free: 46.32 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000546/0.8989, allocations: 173 kB / 0.7616 GB, free: 46.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002535/0.8992, allocations: 39.98 kB / 0.7616 GB, free: 46.12 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.002023/0.9012, allocations: 0.8791 MB / 0.7624 GB, free: 45.24 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002578/0.9038, allocations: 499.1 kB / 0.7629 GB, free: 44.75 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.0005176/0.9044, allocations: 178.6 kB / 0.7631 GB, free: 44.57 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008089/0.9125, allocations: 2.526 MB / 0.7656 GB, free: 42.05 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.9125, allocations: 0 / 0.7656 GB, free: 42.05 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005941/0.9185, allocations: 1.898 MB / 0.7674 GB, free: 40.14 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0014/0.9199, allocations: 105.5 kB / 0.7675 GB, free: 40.03 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007674/0.9276, allocations: 2.663 MB / 0.7701 GB, free: 37.32 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001437/0.9291, allocations: 1.417 MB / 0.7715 GB, free: 35.87 MB / 490.7 MB Notification: Performance of SimCode: time 8.91e-07/0.9291, allocations: 0 / 0.7715 GB, free: 35.87 MB / 490.7 MB Notification: Performance of Templates: time 0.03936/0.9685, allocations: 25.86 MB / 0.7968 GB, free: 10.1 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.makefile (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 & ./OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.pipe 2>&1)