Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.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.ESDC2A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A") [: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.002347/0.002347, allocations: 182.1 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.212/1.212, 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.0008286/0.0008287, allocations: 100.7 kB / 261.1 MB, free: 13.6 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.0678/0.0678, allocations: 12.57 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.284/0.284, allocations: 78.04 MB / 450.4 MB, free: 3.223 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.634e-06/7.665e-06, allocations: 4 kB / 0.5141 GB, free: 30 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1443, allocations: 69.31 MB / 0.5818 GB, free: 8.766 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4647/0.609, allocations: 114.7 MB / 0.6938 GB, free: 9.727 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/0.6093, allocations: 83.77 kB / 0.6939 GB, free: 9.684 MB / 442.7 MB Notification: Performance of FrontEnd: time 0.1863/0.7957, allocations: 46.53 MB / 0.7393 GB, free: 3.547 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000128/0.7958, allocations: 32 kB / 0.7394 GB, free: 3.516 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: 270 * Number of variables: 270 Notification: Performance of Generate backend data structure: time 0.006947/0.8028, allocations: 2.278 MB / 0.7416 GB, free: 1.344 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.8028, allocations: 11.97 kB / 0.7416 GB, free: 1.332 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00358/0.8064, allocations: 0.606 MB / 0.7422 GB, free: 0.7695 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002585/0.809, allocations: 1.106 MB / 0.7433 GB, free: 15.89 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005549/0.8096, allocations: 437.5 kB / 0.7437 GB, free: 15.39 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00035/0.81, allocations: 71.91 kB / 0.7438 GB, free: 15.32 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002366/0.8124, allocations: 1.151 MB / 0.7449 GB, free: 14.62 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002304/0.8147, allocations: 1.165 MB / 0.746 GB, free: 13.79 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.493e-05/0.8147, allocations: 0 / 0.746 GB, free: 13.79 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001296/0.8148, allocations: 0 / 0.746 GB, free: 13.79 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.541e-05/0.8149, allocations: 31.91 kB / 0.746 GB, free: 13.76 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01138/0.8263, allocations: 5.284 MB / 0.7512 GB, free: 9.508 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002163/0.8285, allocations: 1.137 MB / 0.7523 GB, free: 8.348 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001216/0.8297, allocations: 0.7288 MB / 0.753 GB, free: 7.613 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006625/0.8304, allocations: 0.7336 MB / 0.7537 GB, free: 6.711 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001709/0.8321, allocations: 0.8773 MB / 0.7546 GB, free: 5.812 MB / 490.7 MB Notification: Performance of pre-optimization done (n=134): time 5.831e-06/0.8322, allocations: 0 / 0.7546 GB, free: 5.812 MB / 490.7 MB Notification: Performance of matching and sorting (n=134): time 0.01783/0.85, allocations: 5.252 MB / 0.7597 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.229e-05/0.8501, allocations: 124.1 kB / 0.7598 GB, free: 404 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002497/0.8526, allocations: 1.147 MB / 0.761 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003167/0.8529, allocations: 25.7 kB / 0.761 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003559/0.8533, allocations: 419.4 kB / 0.7614 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00088/0.8542, allocations: 461 kB / 0.7618 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001738/0.8544, allocations: 0 / 0.7618 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000181/0.8546, allocations: 357.9 kB / 0.7622 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001315/0.8559, allocations: 0.625 MB / 0.7628 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001471/0.8574, allocations: 0.8012 MB / 0.7636 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001639/0.859, allocations: 0.7164 MB / 0.7643 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/0.8591, allocations: 3.938 kB / 0.7643 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.004638/0.8637, allocations: 2.166 MB / 0.7664 GB, free: 9.609 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.81e-05/0.8637, allocations: 7.984 kB / 0.7664 GB, free: 9.602 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.81e-05/0.8638, allocations: 7.938 kB / 0.7664 GB, free: 9.594 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008638/0.8724, allocations: 2.361 MB / 0.7687 GB, free: 7.227 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001385/0.8739, allocations: 247.6 kB / 0.7689 GB, free: 6.984 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005796/0.8797, allocations: 2.52 MB / 0.7714 GB, free: 4.434 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002763/0.8825, allocations: 250.7 kB / 0.7716 GB, free: 4.188 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003543/0.8829, allocations: 51.98 kB / 0.7717 GB, free: 4.137 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: 2 ($whenCondition1,eSDC2A.rotatingExciterLimited.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: 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.0004496/0.8833, allocations: 144.7 kB / 0.7718 GB, free: 3.988 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006297/0.884, allocations: 169.8 kB / 0.772 GB, free: 3.82 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01744/0.9014, allocations: 5.413 MB / 0.7773 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.109e-05/0.9015, allocations: 16 kB / 0.7773 GB, free: 14.37 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.171e-05/0.9015, allocations: 0 / 0.7773 GB, free: 14.37 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.562e-05/0.9016, allocations: 11.91 kB / 0.7773 GB, free: 14.36 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02149/0.9231, allocations: 7.333 MB / 0.7845 GB, free: 6.938 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.526e-05/0.9231, allocations: 0 / 0.7845 GB, free: 6.938 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00137/0.9245, allocations: 175.8 kB / 0.7846 GB, free: 6.766 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007311/0.9318, allocations: 2.072 MB / 0.7867 GB, free: 4.691 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004247/0.9323, allocations: 11.98 kB / 0.7867 GB, free: 4.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01915/0.9515, allocations: 7.172 MB / 0.7937 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.9515, allocations: 8 kB / 0.7937 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0186/0.9701, allocations: 6.372 MB / 0.7999 GB, free: 6.953 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007273/0.9709, allocations: 282.6 kB / 0.8002 GB, free: 6.656 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004155/0.9713, allocations: 8 kB / 0.8002 GB, free: 6.648 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001979/0.9733, allocations: 179.8 kB / 0.8003 GB, free: 6.473 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004338/0.9737, allocations: 165 kB / 0.8005 GB, free: 6.312 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001367/0.9739, allocations: 43.83 kB / 0.8005 GB, free: 6.27 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.001421/0.9753, allocations: 0.8671 MB / 0.8014 GB, free: 5.406 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001582/0.9769, allocations: 499.1 kB / 0.8019 GB, free: 4.918 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,eSDC2A.imDerivativeLag.x,eSDC2A.imLeadLag.TF.x_scaled[1],eSDC2A.rotatingExciterLimited.sISO.y,eSDC2A.TransducerDelay.state,eSDC2A.simpleLagLimVar.state) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 90 * 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.0004803/0.9774, allocations: 175 kB / 0.802 GB, free: 4.738 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007726/0.9851, allocations: 2.516 MB / 0.8045 GB, free: 2.215 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.9852, allocations: 0 / 0.8045 GB, free: 2.215 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00614/0.9913, allocations: 1.884 MB / 0.8063 GB, free: 328 kB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001242/0.9926, allocations: 117.3 kB / 0.8064 GB, free: 208 kB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00693/0.9995, allocations: 2.624 MB / 0.809 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001455/1.001, allocations: 1.41 MB / 0.8104 GB, free: 12.08 MB / 0.5417 GB Notification: Performance of SimCode: time 8.81e-07/1.001, allocations: 4 kB / 0.8104 GB, free: 12.08 MB / 0.5417 GB Notification: Performance of Templates: time 0.04276/1.044, allocations: 24.98 MB / 0.8348 GB, free: 3.09 MB / 0.5573 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe 2>&1)