Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.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-master/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-master/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: translateModel(OpenIPSL.Tests.Controls.PSSE.ES.EXAC2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.EXAC2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_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 3.2.3+maint.om/package.mo): time 0.002154/0.002154, allocations: 179 kB / 7.454 MB, free: 2.219 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.186/1.186, allocations: 205.2 MB / 213.1 MB, free: 13.93 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.0008927/0.0008928, allocations: 99.84 kB / 261.1 MB, free: 13.56 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07336/0.07336, allocations: 12.59 MB / 321.6 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2778/0.2778, allocations: 78.05 MB / 450.4 MB, free: 3.215 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.175e-06/8.195e-06, allocations: 4 kB / 0.5141 GB, free: 29.99 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1441, allocations: 69.32 MB / 0.5818 GB, free: 8.754 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4015/0.5457, allocations: 117.3 MB / 0.6964 GB, free: 7.105 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002488/0.546, allocations: 92.73 kB / 0.6965 GB, free: 7.055 MB / 442.7 MB Notification: Performance of FrontEnd: time 0.1442/0.6902, allocations: 48.17 MB / 0.7435 GB, free: 15.54 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002279/0.6904, allocations: 39.94 kB / 0.7435 GB, free: 15.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.009021/0.6995, allocations: 2.403 MB / 0.7459 GB, free: 13.21 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.6995, allocations: 11.97 kB / 0.7459 GB, free: 13.2 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004621/0.7042, allocations: 0.6178 MB / 0.7465 GB, free: 12.62 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004117/0.7083, allocations: 1.187 MB / 0.7477 GB, free: 11.68 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008785/0.7092, allocations: 468.2 kB / 0.7481 GB, free: 11.15 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007197/0.71, allocations: 71.98 kB / 0.7482 GB, free: 11.08 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0033/0.7133, allocations: 1.229 MB / 0.7494 GB, free: 10.34 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002773/0.7161, allocations: 1.263 MB / 0.7506 GB, free: 9.441 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.973e-05/0.7161, allocations: 0 / 0.7506 GB, free: 9.441 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001435/0.7163, allocations: 0 / 0.7506 GB, free: 9.441 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.895e-05/0.7163, allocations: 35.94 kB / 0.7506 GB, free: 9.406 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01178/0.7281, allocations: 5.507 MB / 0.756 GB, free: 4.543 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002352/0.7305, allocations: 1.254 MB / 0.7572 GB, free: 3.254 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001244/0.7317, allocations: 0.7616 MB / 0.758 GB, free: 2.488 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006665/0.7324, allocations: 0.7375 MB / 0.7587 GB, free: 1.586 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001546/0.734, allocations: 0.9047 MB / 0.7596 GB, free: 0.6562 MB / 490.7 MB Notification: Performance of pre-optimization done (n=143): time 5.37e-06/0.734, allocations: 8 kB / 0.7596 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of matching and sorting (n=143): time 0.01776/0.7518, allocations: 5.365 MB / 0.7648 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.261e-05/0.7519, allocations: 145.8 kB / 0.765 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002423/0.7543, allocations: 1.205 MB / 0.7662 GB, free: 9.879 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004364/0.7548, allocations: 29.64 kB / 0.7662 GB, free: 9.844 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003368/0.7551, allocations: 443.9 kB / 0.7666 GB, free: 9.402 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008752/0.756, allocations: 0.4888 MB / 0.7671 GB, free: 8.906 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001172/0.7562, allocations: 4.062 kB / 0.7671 GB, free: 8.902 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002021/0.7564, allocations: 361.9 kB / 0.7674 GB, free: 8.543 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001295/0.7577, allocations: 0.6523 MB / 0.7681 GB, free: 7.891 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00139/0.7591, allocations: 0.8411 MB / 0.7689 GB, free: 6.992 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001702/0.7608, allocations: 0.7321 MB / 0.7696 GB, free: 6.262 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/0.7608, allocations: 0 / 0.7696 GB, free: 6.262 MB / 0.4948 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.005481/0.7663, allocations: 2.322 MB / 0.7719 GB, free: 3.926 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000638/0.7669, allocations: 1.538 MB / 0.7734 GB, free: 2.262 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/0.767, allocations: 7.906 kB / 0.7734 GB, free: 2.254 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009032/0.776, allocations: 2.471 MB / 0.7758 GB, free: 15.78 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001521/0.7776, allocations: 243.7 kB / 0.776 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00638/0.784, allocations: 3.183 MB / 0.7791 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002783/0.7868, allocations: 278.6 kB / 0.7794 GB, free: 12.03 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002509/0.7871, allocations: 55.98 kB / 0.7795 GB, free: 11.97 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.7871, allocations: 11.44 kB / 0.7795 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004669/0.7918, allocations: 2.104 MB / 0.7815 GB, free: 9.855 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.7918, allocations: 4 kB / 0.7815 GB, free: 9.852 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008825/0.8006, allocations: 2.467 MB / 0.7839 GB, free: 7.379 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001404/0.8021, allocations: 231.7 kB / 0.7842 GB, free: 7.152 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00617/0.8083, allocations: 3.19 MB / 0.7873 GB, free: 3.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002727/0.811, allocations: 258.8 kB / 0.7875 GB, free: 3.656 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002162/0.8112, allocations: 55.98 kB / 0.7876 GB, free: 3.602 MB / 0.5105 GB 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.0003912/0.8116, allocations: 128.6 kB / 0.7877 GB, free: 3.469 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004027/0.8121, allocations: 181.8 kB / 0.7879 GB, free: 3.289 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0167/0.8288, allocations: 5.414 MB / 0.7932 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.599e-05/0.8288, allocations: 12 kB / 0.7932 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.516e-05/0.8289, allocations: 4 kB / 0.7932 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.807e-05/0.8289, allocations: 11.91 kB / 0.7932 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02222/0.8511, allocations: 7.461 MB / 0.8005 GB, free: 6.277 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-05/0.8512, allocations: 0 / 0.8005 GB, free: 6.277 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001674/0.8529, allocations: 195.8 kB / 0.8007 GB, free: 6.086 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007218/0.8601, allocations: 2.068 MB / 0.8027 GB, free: 4.012 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004096/0.8606, allocations: 19.98 kB / 0.8027 GB, free: 3.992 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01873/0.8793, allocations: 7.16 MB / 0.8097 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.8793, allocations: 3.938 kB / 0.8097 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01941/0.8988, allocations: 6.563 MB / 0.8161 GB, free: 6.094 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008904/0.8997, allocations: 298.5 kB / 0.8164 GB, free: 5.781 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003824/0.9001, allocations: 4 kB / 0.8164 GB, free: 5.777 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002121/0.9022, allocations: 195.8 kB / 0.8166 GB, free: 5.586 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004612/0.9027, allocations: 184.9 kB / 0.8167 GB, free: 5.406 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001403/0.9028, allocations: 43.98 kB / 0.8168 GB, free: 5.363 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.001447/0.9043, allocations: 0.9044 MB / 0.8177 GB, free: 4.465 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002914/0.9072, allocations: 0.7912 MB / 0.8184 GB, free: 3.672 MB / 0.5417 GB 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.0006346/0.9079, allocations: 178.9 kB / 0.8186 GB, free: 3.484 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0149/0.9228, allocations: 4.526 MB / 0.823 GB, free: 14.96 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/0.9228, allocations: 4 kB / 0.823 GB, free: 14.96 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006324/0.9292, allocations: 1.93 MB / 0.8249 GB, free: 13.01 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001557/0.9307, allocations: 121.8 kB / 0.825 GB, free: 12.89 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008096/0.9389, allocations: 2.851 MB / 0.8278 GB, free: 9.988 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001438/0.9403, allocations: 1.461 MB / 0.8293 GB, free: 8.5 MB / 0.5573 GB Notification: Performance of SimCode: time 9.71e-07/0.9403, allocations: 4 kB / 0.8293 GB, free: 8.496 MB / 0.5573 GB Notification: Performance of Templates: time 0.2613/1.202, allocations: 39.63 MB / 0.868 GB, free: 234.8 MB / 0.573 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.pipe 2>&1)