Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.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: translateModel(OpenIPSL.Tests.Controls.PSSE.ES.EXAC2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.EXAC2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2") [: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.002248/0.002248, allocations: 184.6 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.195/1.195, allocations: 221.4 MB / 229.3 MB, free: 3 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.0009302/0.0009302, allocations: 93.67 kB / 280.1 MB, free: 1.289 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4334/0.4334, allocations: 78.91 MB / 409.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.644e-05/1.647e-05, allocations: 7.938 kB / 485.4 MB, free: 3.637 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.3389, allocations: 69.5 MB / 0.5419 GB, free: 20.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1378/0.4768, allocations: 116.3 MB / 0.6554 GB, free: 3.633 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002917/0.4771, allocations: 91.92 kB / 0.6555 GB, free: 3.543 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.381/0.8582, allocations: 47.17 MB / 0.7016 GB, free: 104.6 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001222/0.8583, allocations: 47.47 kB / 0.7016 GB, free: 104.5 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: 295 * Number of variables: 295 Notification: Performance of Generate backend data structure: time 0.006606/0.8649, allocations: 2.395 MB / 0.704 GB, free: 103 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.865, allocations: 8.156 kB / 0.704 GB, free: 103 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003707/0.8687, allocations: 0.6184 MB / 0.7046 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002541/0.8713, allocations: 1.179 MB / 0.7057 GB, free: 101.9 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004371/0.8717, allocations: 474.1 kB / 0.7062 GB, free: 101.4 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002229/0.8719, allocations: 74.28 kB / 0.7063 GB, free: 101.4 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002656/0.8746, allocations: 1.227 MB / 0.7075 GB, free: 100.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002463/0.8771, allocations: 1.259 MB / 0.7087 GB, free: 100.1 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.756e-05/0.8771, allocations: 1.188 kB / 0.7087 GB, free: 100.1 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001321/0.8773, allocations: 1.062 kB / 0.7087 GB, free: 100.1 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.631e-05/0.8773, allocations: 27.84 kB / 0.7087 GB, free: 100.1 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009926/0.8872, allocations: 5.527 MB / 0.7141 GB, free: 95.33 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002104/0.8894, allocations: 1.253 MB / 0.7153 GB, free: 94.05 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001161/0.8905, allocations: 0.7639 MB / 0.7161 GB, free: 93.28 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004523/0.891, allocations: 0.7411 MB / 0.7168 GB, free: 92.38 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001411/0.8924, allocations: 0.9124 MB / 0.7177 GB, free: 91.44 MB / 490.7 MB Notification: Performance of pre-optimization done (n=143): time 2.835e-06/0.8924, allocations: 0 / 0.7177 GB, free: 91.44 MB / 490.7 MB Notification: Performance of matching and sorting (n=143): time 0.01565/0.9081, allocations: 5.368 MB / 0.7229 GB, free: 86.08 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.9082, allocations: 141.8 kB / 0.7231 GB, free: 85.91 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001965/0.9101, allocations: 1.194 MB / 0.7242 GB, free: 84.71 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003382/0.9105, allocations: 33.77 kB / 0.7243 GB, free: 84.68 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002117/0.9107, allocations: 443.9 kB / 0.7247 GB, free: 84.23 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000582/0.9113, allocations: 0.4888 MB / 0.7252 GB, free: 83.74 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.9114, allocations: 0 / 0.7252 GB, free: 83.74 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.979e-05/0.9115, allocations: 361.9 kB / 0.7255 GB, free: 83.38 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001254/0.9128, allocations: 0.6562 MB / 0.7262 GB, free: 82.72 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001287/0.9141, allocations: 0.8412 MB / 0.727 GB, free: 81.83 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001583/0.9157, allocations: 0.736 MB / 0.7277 GB, free: 81.09 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/0.9157, allocations: 4 kB / 0.7277 GB, free: 81.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.005053/0.9207, allocations: 2.326 MB / 0.73 GB, free: 78.75 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002399/0.921, allocations: 1.541 MB / 0.7315 GB, free: 77.08 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.921, allocations: 4 kB / 0.7315 GB, free: 77.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008064/0.9291, allocations: 2.455 MB / 0.7339 GB, free: 74.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/0.9303, allocations: 247.7 kB / 0.7341 GB, free: 74.37 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005553/0.9359, allocations: 3.194 MB / 0.7372 GB, free: 71.12 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002767/0.9387, allocations: 274.6 kB / 0.7375 GB, free: 70.86 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002637/0.939, allocations: 51.98 kB / 0.7375 GB, free: 70.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.939, allocations: 4 kB / 0.7375 GB, free: 70.8 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004831/0.9438, allocations: 2.108 MB / 0.7396 GB, free: 68.69 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/0.9439, allocations: 7.984 kB / 0.7396 GB, free: 68.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008295/0.9522, allocations: 2.471 MB / 0.742 GB, free: 66.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001282/0.9535, allocations: 231.7 kB / 0.7422 GB, free: 65.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0055/0.959, allocations: 3.182 MB / 0.7454 GB, free: 62.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002725/0.9617, allocations: 258.7 kB / 0.7456 GB, free: 62.49 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001784/0.9619, allocations: 59.97 kB / 0.7457 GB, free: 62.43 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,eXAC2.rotatingExciterWithDemagnetizationLimited.sISO.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (129): * Single equations (assignments): 127 * 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.0003595/0.9623, allocations: 132.5 kB / 0.7458 GB, free: 62.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004229/0.9627, allocations: 185.8 kB / 0.746 GB, free: 62.11 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01567/0.9784, allocations: 5.41 MB / 0.7512 GB, free: 56.71 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.587e-05/0.9785, allocations: 16 kB / 0.7513 GB, free: 56.69 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/0.9785, allocations: 7.906 kB / 0.7513 GB, free: 56.68 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.231e-05/0.9785, allocations: 7.969 kB / 0.7513 GB, free: 56.68 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02058/0.9991, allocations: 7.468 MB / 0.7586 GB, free: 49.16 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.281e-05/0.9992, allocations: 0 / 0.7586 GB, free: 49.16 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001449/1.001, allocations: 195.8 kB / 0.7588 GB, free: 48.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006562/1.007, allocations: 2.064 MB / 0.7608 GB, free: 46.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000312/1.008, allocations: 11.98 kB / 0.7608 GB, free: 46.89 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01969/1.027, allocations: 7.164 MB / 0.7678 GB, free: 39.61 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/1.027, allocations: 8 kB / 0.7678 GB, free: 39.6 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01921/1.047, allocations: 6.543 MB / 0.7742 GB, free: 33.03 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001045/1.048, allocations: 298.5 kB / 0.7745 GB, free: 32.71 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008601/1.049, allocations: 8 kB / 0.7745 GB, free: 32.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00252/1.051, allocations: 195.8 kB / 0.7747 GB, free: 32.52 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005853/1.052, allocations: 188.8 kB / 0.7748 GB, free: 32.33 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002638/1.052, allocations: 35.98 kB / 0.7749 GB, free: 32.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001785/1.054, allocations: 0.9122 MB / 0.7758 GB, free: 31.39 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003049/1.057, allocations: 0.7873 MB / 0.7765 GB, free: 30.6 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,eXAC2.imLimitedSimpleLag.state,eXAC2.imDerivativeLag.x,eXAC2.leadLag.TF.x_scaled[1],eXAC2.rotatingExciterWithDemagnetizationLimited.sISO.y,eXAC2.TransducerDelay.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 99 * 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.000565/1.057, allocations: 190.7 kB / 0.7767 GB, free: 30.41 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01455/1.072, allocations: 4.527 MB / 0.7811 GB, free: 25.89 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.745e-06/1.072, allocations: 4.062 kB / 0.7811 GB, free: 25.88 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005958/1.078, allocations: 1.917 MB / 0.783 GB, free: 23.95 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001585/1.08, allocations: 117.7 kB / 0.7831 GB, free: 23.83 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008139/1.088, allocations: 2.87 MB / 0.7859 GB, free: 20.92 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001453/1.089, allocations: 1.457 MB / 0.7873 GB, free: 19.44 MB / 490.7 MB Notification: Performance of SimCode: time 6.42e-07/1.089, allocations: 0 / 0.7873 GB, free: 19.44 MB / 490.7 MB Notification: Performance of Templates: time 0.06238/1.152, allocations: 39.61 MB / 0.826 GB, free: 11.89 MB / 0.5105 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.pipe 2>&1)