Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.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.ESDC1A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A") [: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.002717/0.002718, allocations: 181.7 kB / 7.454 MB, free: 2.512 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.248/1.248, allocations: 205.2 MB / 213.1 MB, free: 13.85 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.0009307/0.0009304, allocations: 100.3 kB / 261.1 MB, free: 13.61 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.07449/0.07449, allocations: 12.58 MB / 321.6 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2944/0.2944, allocations: 78.05 MB / 450.4 MB, free: 3.227 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.917e-06/8.957e-06, allocations: 7.938 kB / 0.5141 GB, free: 29.99 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1515, allocations: 69.32 MB / 0.5818 GB, free: 8.762 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4029/0.5545, allocations: 114.4 MB / 0.6935 GB, free: 10.01 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002748/0.5549, allocations: 84.88 kB / 0.6936 GB, free: 9.965 MB / 442.7 MB Notification: Performance of FrontEnd: time 0.1322/0.687, allocations: 45.64 MB / 0.7382 GB, free: 4.562 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002292/0.6873, allocations: 35.94 kB / 0.7382 GB, free: 4.527 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: 263 * Number of variables: 263 Notification: Performance of Generate backend data structure: time 0.008024/0.6953, allocations: 2.278 MB / 0.7404 GB, free: 2.359 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.748e-05/0.6954, allocations: 11.97 kB / 0.7404 GB, free: 2.348 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004129/0.6996, allocations: 0.5971 MB / 0.741 GB, free: 1.789 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003402/0.703, allocations: 1.115 MB / 0.7421 GB, free: 0.8984 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006447/0.7037, allocations: 430.4 kB / 0.7425 GB, free: 416 kB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005139/0.7042, allocations: 67.53 kB / 0.7426 GB, free: 352 kB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002919/0.7071, allocations: 1.126 MB / 0.7437 GB, free: 15.66 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002785/0.7099, allocations: 1.155 MB / 0.7448 GB, free: 14.84 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.141e-05/0.71, allocations: 3.938 kB / 0.7448 GB, free: 14.84 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001675/0.7102, allocations: 0 / 0.7448 GB, free: 14.84 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.914e-05/0.7102, allocations: 28 kB / 0.7448 GB, free: 14.81 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01227/0.7225, allocations: 5.238 MB / 0.75 GB, free: 10.68 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002401/0.7249, allocations: 1.147 MB / 0.7511 GB, free: 9.598 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001281/0.7262, allocations: 0.7134 MB / 0.7518 GB, free: 8.879 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006885/0.7269, allocations: 0.7336 MB / 0.7525 GB, free: 7.98 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001505/0.7285, allocations: 0.8734 MB / 0.7534 GB, free: 7.082 MB / 490.7 MB Notification: Performance of pre-optimization done (n=133): time 3.086e-06/0.7285, allocations: 0 / 0.7534 GB, free: 7.082 MB / 490.7 MB Notification: Performance of matching and sorting (n=133): time 0.01695/0.7454, allocations: 5.209 MB / 0.7584 GB, free: 1.855 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.574e-05/0.7456, allocations: 120.1 kB / 0.7586 GB, free: 1.711 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002349/0.7479, allocations: 1.147 MB / 0.7597 GB, free: 0.5586 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004203/0.7484, allocations: 25.7 kB / 0.7597 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002899/0.7487, allocations: 415.4 kB / 0.7601 GB, free: 116 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007865/0.7495, allocations: 461.1 kB / 0.7605 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.7496, allocations: 0 / 0.7605 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.7497, allocations: 365.8 kB / 0.7609 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001172/0.7509, allocations: 0.6172 MB / 0.7615 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001342/0.7523, allocations: 0.7934 MB / 0.7623 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001637/0.7539, allocations: 0.7125 MB / 0.763 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.7539, allocations: 4 kB / 0.763 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=185) (initialization): time 0.004654/0.7586, allocations: 2.142 MB / 0.7651 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.7586, allocations: 8.406 kB / 0.7651 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.229e-05/0.7587, allocations: 12 kB / 0.7651 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008641/0.7673, allocations: 2.368 MB / 0.7674 GB, free: 8.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001433/0.7688, allocations: 235.6 kB / 0.7676 GB, free: 8.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005761/0.7746, allocations: 2.531 MB / 0.7701 GB, free: 5.777 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002773/0.7774, allocations: 254.7 kB / 0.7703 GB, free: 5.527 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003268/0.7778, allocations: 55.92 kB / 0.7704 GB, free: 5.473 MB / 0.4948 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,eSDC1A.rotatingExciterLimited.sISO.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (128): * Single equations (assignments): 126 * 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.0003467/0.7781, allocations: 128.7 kB / 0.7705 GB, free: 5.34 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004773/0.7786, allocations: 173.8 kB / 0.7707 GB, free: 5.168 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01726/0.7959, allocations: 5.339 MB / 0.7759 GB, free: 15.81 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.809e-05/0.7959, allocations: 12 kB / 0.7759 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.796, allocations: 0 / 0.7759 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.635e-05/0.796, allocations: 15.83 kB / 0.7759 GB, free: 15.78 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02088/0.8169, allocations: 7.325 MB / 0.7831 GB, free: 8.359 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.641e-05/0.817, allocations: 0 / 0.7831 GB, free: 8.359 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001352/0.8183, allocations: 167.8 kB / 0.7832 GB, free: 8.195 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007102/0.8255, allocations: 2.068 MB / 0.7852 GB, free: 6.125 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003359/0.8258, allocations: 11.98 kB / 0.7852 GB, free: 6.113 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0192/0.845, allocations: 7.168 MB / 0.7922 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.8451, allocations: 4 kB / 0.7923 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02018/0.8653, allocations: 6.415 MB / 0.7985 GB, free: 8.352 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009493/0.8663, allocations: 286.6 kB / 0.7988 GB, free: 8.051 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000422/0.8667, allocations: 8 kB / 0.7988 GB, free: 8.043 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00199/0.8687, allocations: 187.8 kB / 0.799 GB, free: 7.859 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000453/0.8692, allocations: 161 kB / 0.7991 GB, free: 7.703 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001385/0.8693, allocations: 35.98 kB / 0.7992 GB, free: 7.668 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.001439/0.8708, allocations: 0.8786 MB / 0.8 GB, free: 6.793 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001593/0.8724, allocations: 491.2 kB / 0.8005 GB, free: 6.312 MB / 0.5261 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,eSDC1A.imDerivativeLag.x,eSDC1A.imLeadLag.TF.x_scaled[1],eSDC1A.simpleLagLim.state,eSDC1A.rotatingExciterLimited.sISO.y,eSDC1A.TransducerDelay.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 89 * 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.0004347/0.8728, allocations: 180.8 kB / 0.8007 GB, free: 6.129 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007963/0.8808, allocations: 2.508 MB / 0.8031 GB, free: 3.609 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.694e-06/0.8808, allocations: 0 / 0.8031 GB, free: 3.609 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.006515/0.8874, allocations: 1.864 MB / 0.8049 GB, free: 1.738 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001448/0.8888, allocations: 121.3 kB / 0.805 GB, free: 1.617 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007161/0.896, allocations: 2.612 MB / 0.8076 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001448/0.8975, allocations: 1.402 MB / 0.809 GB, free: 13.51 MB / 0.5417 GB Notification: Performance of SimCode: time 1.313e-06/0.8975, allocations: 0 / 0.809 GB, free: 13.51 MB / 0.5417 GB Notification: Performance of Templates: time 0.04285/0.9404, allocations: 24.88 MB / 0.8333 GB, free: 4.633 MB / 0.5573 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe 2>&1)