Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXST1.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.EXST1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXST1") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.EXST1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXST1") [: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.0024/0.0024, allocations: 175.7 kB / 7.46 MB, free: 2.484 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.157/1.157, allocations: 221.4 MB / 229.3 MB, free: 3.094 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.0008888/0.0008888, allocations: 108.3 kB / 280.1 MB, free: 1.285 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4244/0.4244, allocations: 78.91 MB / 409.8 MB, free: 15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.167e-06/9.187e-06, allocations: 4 kB / 485.4 MB, free: 3.68 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2742, allocations: 69.5 MB / 0.5419 GB, free: 20.8 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1288/0.403, allocations: 111.4 MB / 0.6506 GB, free: 8.602 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002696/0.4033, allocations: 87.94 kB / 0.6507 GB, free: 8.516 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.3748/0.7781, allocations: 40.51 MB / 0.6903 GB, free: 105.8 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001268/0.7783, allocations: 41.91 kB / 0.6903 GB, free: 105.8 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.006451/0.7847, allocations: 2.159 MB / 0.6924 GB, free: 104.9 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/0.7848, allocations: 11.28 kB / 0.6924 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00362/0.7884, allocations: 0.5868 MB / 0.693 GB, free: 104.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001904/0.7903, allocations: 1.036 MB / 0.694 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004997/0.7909, allocations: 471.6 kB / 0.6945 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001775/0.791, allocations: 63.12 kB / 0.6945 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0021/0.7931, allocations: 1.104 MB / 0.6956 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001779/0.7949, allocations: 1.101 MB / 0.6967 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.595e-05/0.795, allocations: 0 / 0.6967 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000119/0.7951, allocations: 4 kB / 0.6967 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.793e-05/0.7951, allocations: 23.34 kB / 0.6967 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00929/0.8044, allocations: 4.791 MB / 0.7014 GB, free: 100.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002087/0.8065, allocations: 1.117 MB / 0.7025 GB, free: 100.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001257/0.8078, allocations: 0.7098 MB / 0.7032 GB, free: 99.78 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001587/0.808, allocations: 26.25 kB / 0.7032 GB, free: 99.78 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.792e-05/0.808, allocations: 49.16 kB / 0.7032 GB, free: 99.72 MB / 490.7 MB Notification: Performance of pre-optimization done (n=128): time 5.641e-06/0.808, allocations: 0.8125 kB / 0.7032 GB, free: 99.72 MB / 490.7 MB Notification: Performance of matching and sorting (n=128): time 0.01853/0.8266, allocations: 5.336 MB / 0.7084 GB, free: 98.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.225e-05/0.8267, allocations: 141.6 kB / 0.7086 GB, free: 98.34 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002121/0.8288, allocations: 1.073 MB / 0.7096 GB, free: 97.88 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003252/0.8292, allocations: 26.89 kB / 0.7097 GB, free: 97.84 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003114/0.8295, allocations: 389.2 kB / 0.71 GB, free: 97.57 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006527/0.8301, allocations: 443.2 kB / 0.7104 GB, free: 97.23 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.271e-05/0.8302, allocations: 0 / 0.7104 GB, free: 97.23 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.8304, allocations: 363.9 kB / 0.7108 GB, free: 96.89 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001075/0.8314, allocations: 0.5762 MB / 0.7114 GB, free: 96.61 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001209/0.8327, allocations: 0.764 MB / 0.7121 GB, free: 96.13 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001206/0.8339, allocations: 0.6467 MB / 0.7127 GB, free: 95.78 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.8339, allocations: 1.125 kB / 0.7127 GB, free: 95.78 MB / 490.7 MB Notification: Performance of matching and sorting (n=167) (initialization): time 0.003714/0.8376, allocations: 2.087 MB / 0.7148 GB, free: 93.89 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002295/0.8379, allocations: 1.353 MB / 0.7161 GB, free: 92.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.8379, allocations: 4 kB / 0.7161 GB, free: 92.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008338/0.8462, allocations: 2.572 MB / 0.7186 GB, free: 89.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009536/0.8472, allocations: 171.8 kB / 0.7188 GB, free: 89.67 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006506/0.8537, allocations: 3.078 MB / 0.7218 GB, free: 86.57 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002416/0.8562, allocations: 250.8 kB / 0.722 GB, free: 86.32 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001549/0.8563, allocations: 47.98 kB / 0.7221 GB, free: 86.28 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.8564, allocations: 8 kB / 0.7221 GB, free: 86.27 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003172/0.8595, allocations: 1.89 MB / 0.7239 GB, free: 84.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.8596, allocations: 4 kB / 0.7239 GB, free: 84.37 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008116/0.8677, allocations: 2.571 MB / 0.7264 GB, free: 81.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008825/0.8686, allocations: 171.8 kB / 0.7266 GB, free: 81.63 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006479/0.8751, allocations: 3.062 MB / 0.7296 GB, free: 78.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002466/0.8776, allocations: 242.8 kB / 0.7298 GB, free: 78.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001595/0.8778, allocations: 47.98 kB / 0.7299 GB, free: 78.25 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 93 * 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 {34 40} Notification: Performance of prepare postOptimizeDAE: time 0.0003576/0.8781, allocations: 120.8 kB / 0.73 GB, free: 78.13 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004477/0.8786, allocations: 165.9 kB / 0.7301 GB, free: 77.96 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01537/0.894, allocations: 5.365 MB / 0.7354 GB, free: 72.59 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-05/0.894, allocations: 16 kB / 0.7354 GB, free: 72.58 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.894, allocations: 3.906 kB / 0.7354 GB, free: 72.57 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.552e-05/0.8941, allocations: 3.984 kB / 0.7354 GB, free: 72.57 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01862/0.9127, allocations: 7.377 MB / 0.7426 GB, free: 65.14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.374e-05/0.9128, allocations: 0 / 0.7426 GB, free: 65.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002883/0.9157, allocations: 0.5034 MB / 0.7431 GB, free: 64.64 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006811/0.9225, allocations: 2.15 MB / 0.7452 GB, free: 62.48 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003078/0.9228, allocations: 15.92 kB / 0.7452 GB, free: 62.47 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0194/0.9422, allocations: 10.25 MB / 0.7552 GB, free: 51.91 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.9423, allocations: 0 / 0.7552 GB, free: 51.91 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01733/0.9596, allocations: 6.517 MB / 0.7616 GB, free: 45.36 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000646/0.9603, allocations: 270.7 kB / 0.7618 GB, free: 45.08 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003148/0.9607, allocations: 7.984 kB / 0.7619 GB, free: 45.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00192/0.9626, allocations: 179.8 kB / 0.762 GB, free: 44.89 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003726/0.963, allocations: 153 kB / 0.7622 GB, free: 44.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001214/0.9631, allocations: 39.98 kB / 0.7622 GB, free: 44.71 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.00101/0.9641, allocations: 0.8134 MB / 0.763 GB, free: 43.89 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001928/0.9661, allocations: 0.7095 MB / 0.7637 GB, free: 43.18 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 13 (gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,eXST1.imLeadLag.TF.x_scaled[1],eXST1.Vm1.state,eXST1.imDerivativeLag.x,eXST1.TransducerDelay.state,gENCLS.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003393/0.9664, allocations: 153.5 kB / 0.7638 GB, free: 43.03 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01449/0.9809, allocations: 4.601 MB / 0.7683 GB, free: 38.42 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.9809, allocations: 192 / 0.7683 GB, free: 38.42 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008434/0.9894, allocations: 2.469 MB / 0.7707 GB, free: 35.94 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00131/0.9907, allocations: 109.8 kB / 0.7709 GB, free: 35.83 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006564/0.9973, allocations: 2.548 MB / 0.7733 GB, free: 33.28 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00106/0.9984, allocations: 1.356 MB / 0.7747 GB, free: 31.89 MB / 490.7 MB Notification: Performance of SimCode: time 5.71e-07/0.9984, allocations: 0 / 0.7747 GB, free: 31.89 MB / 490.7 MB Notification: Performance of Templates: time 0.05322/1.052, allocations: 36.4 MB / 0.8102 GB, free: 11.56 MB / 0.4948 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXST1.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXST1.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXST1.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXST1.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXST1.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXST1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXST1.pipe 2>&1)