Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.ST5B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ST5B") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.ST5B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ST5B") [: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.003312/0.003312, allocations: 179.6 kB / 7.454 MB, free: 2.508 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.309/1.309, allocations: 221.4 MB / 229.3 MB, free: 3.105 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.0009462/0.0009459, allocations: 96.86 kB / 280.1 MB, free: 1.312 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4105/0.4105, allocations: 78.05 MB / 408.9 MB, free: 15.51 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.132e-06/6.211e-06, allocations: 0 / 484.3 MB, free: 4.395 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2575, allocations: 69.36 MB / 0.5407 GB, free: 21.4 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1234/0.381, allocations: 111 MB / 0.6491 GB, free: 9.793 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002256/0.3812, allocations: 83.95 kB / 0.6492 GB, free: 9.711 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.3214/0.7027, allocations: 52.03 MB / 0.7 GB, free: 103.3 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001405/0.7029, allocations: 46.97 kB / 0.7 GB, free: 103.3 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: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.007665/0.7105, allocations: 2.623 MB / 0.7026 GB, free: 102 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.7106, allocations: 8.625 kB / 0.7026 GB, free: 102 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004588/0.7152, allocations: 0.6509 MB / 0.7032 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00373/0.7189, allocations: 1.389 MB / 0.7046 GB, free: 100.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005133/0.7195, allocations: 418.4 kB / 0.705 GB, free: 100.4 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005086/0.72, allocations: 93.34 kB / 0.7051 GB, free: 100.4 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003458/0.7234, allocations: 1.39 MB / 0.7064 GB, free: 99.73 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002688/0.7261, allocations: 1.566 MB / 0.7079 GB, free: 98.75 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.236e-05/0.7262, allocations: 0 / 0.7079 GB, free: 98.75 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001652/0.7264, allocations: 2.438 kB / 0.7079 GB, free: 98.75 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.683e-05/0.7264, allocations: 36.88 kB / 0.708 GB, free: 98.75 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01141/0.7378, allocations: 7.181 MB / 0.715 GB, free: 93.16 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001918/0.7398, allocations: 1.085 MB / 0.7161 GB, free: 92.61 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001193/0.741, allocations: 0.8227 MB / 0.7169 GB, free: 92.07 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001569/0.7411, allocations: 37.11 kB / 0.7169 GB, free: 92.04 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001403/0.7425, allocations: 0.9828 MB / 0.7179 GB, free: 91.04 MB / 490.7 MB Notification: Performance of pre-optimization done (n=163): time 3.998e-06/0.7426, allocations: 4 kB / 0.7179 GB, free: 91.04 MB / 490.7 MB Notification: Performance of matching and sorting (n=163): time 0.01656/0.7591, allocations: 5.512 MB / 0.7232 GB, free: 85.52 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.974e-05/0.7592, allocations: 312 kB / 0.7235 GB, free: 85.15 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002444/0.7617, allocations: 1.36 MB / 0.7249 GB, free: 83.75 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003576/0.7621, allocations: 25.7 kB / 0.7249 GB, free: 83.72 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000278/0.7624, allocations: 0.5279 MB / 0.7254 GB, free: 83.18 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008109/0.7632, allocations: 0.5503 MB / 0.7259 GB, free: 82.62 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002229/0.7634, allocations: 4.062 kB / 0.7259 GB, free: 82.62 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.731e-05/0.7635, allocations: 377.8 kB / 0.7263 GB, free: 82.25 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001252/0.7648, allocations: 0.707 MB / 0.727 GB, free: 81.54 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001371/0.7662, allocations: 1.019 MB / 0.728 GB, free: 80.41 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001443/0.7676, allocations: 0.8024 MB / 0.7288 GB, free: 79.61 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.7676, allocations: 0 / 0.7288 GB, free: 79.61 MB / 490.7 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.007082/0.7747, allocations: 3.281 MB / 0.732 GB, free: 76.32 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003623/0.7751, allocations: 2.474 MB / 0.7344 GB, free: 73.67 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.7751, allocations: 11.94 kB / 0.7344 GB, free: 73.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01082/0.7859, allocations: 3.201 MB / 0.7375 GB, free: 70.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009531/0.7869, allocations: 203.7 kB / 0.7377 GB, free: 70.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007974/0.7949, allocations: 5.736 MB / 0.7433 GB, free: 64.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002831/0.7978, allocations: 310.7 kB / 0.7436 GB, free: 64.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000242/0.798, allocations: 60.05 kB / 0.7437 GB, free: 64.02 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.257e-06/0.798, allocations: 4 kB / 0.7437 GB, free: 64.01 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005797/0.8038, allocations: 2.684 MB / 0.7463 GB, free: 61.32 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.8039, allocations: 4 kB / 0.7463 GB, free: 61.32 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01062/0.8145, allocations: 3.096 MB / 0.7493 GB, free: 58.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000998/0.8155, allocations: 203.7 kB / 0.7495 GB, free: 58.01 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01039/0.8259, allocations: 8.839 MB / 0.7582 GB, free: 48.69 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002624/0.8286, allocations: 258.5 kB / 0.7584 GB, free: 48.44 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002443/0.8289, allocations: 59.98 kB / 0.7585 GB, free: 48.38 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: sT5B.K_r.y:VARIABLE() "Output signal connector" type: Real sT5B.imLimitedLeadLag.gain.y:VARIABLE() "Output signal connector" type: Real sT5B.VR0:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: sT5B.imLimitedLeadLag4.gain.y:VARIABLE() "Output signal connector" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: sT5B.imLimitedLeadLag5.gain.y:VARIABLE() "Output signal connector" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: sT5B.imLimitedLeadLag1.gain.y:VARIABLE() "Output signal connector" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: sT5B.imLimitedLeadLag3.gain.y:VARIABLE() "Output signal connector" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,sT5B.imLimitedLeadLag5.integrator.local_reset,sT5B.imLimitedLeadLag4.integrator.local_reset,sT5B.imLimitedLeadLag3.integrator.local_reset,sT5B.imLimitedLeadLag1.integrator.local_reset,sT5B.imLimitedLeadLag2.integrator.local_reset,sT5B.imLimitedLeadLag.integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 115 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 4,1 4,1 4,1 4,36 58} Notification: Performance of prepare postOptimizeDAE: time 0.0006793/0.8295, allocations: 162.5 kB / 0.7586 GB, free: 48.21 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006332/0.8302, allocations: 213.4 kB / 0.7588 GB, free: 48 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01639/0.8466, allocations: 5.565 MB / 0.7643 GB, free: 42.44 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-05/0.8467, allocations: 16 kB / 0.7643 GB, free: 42.42 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.8467, allocations: 8 kB / 0.7643 GB, free: 42.41 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.58e-05/0.8467, allocations: 7.969 kB / 0.7643 GB, free: 42.41 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02085/0.8676, allocations: 7.885 MB / 0.772 GB, free: 34.47 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.609e-05/0.8676, allocations: 4 kB / 0.772 GB, free: 34.47 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00166/0.8693, allocations: 259.7 kB / 0.7722 GB, free: 34.21 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006755/0.8761, allocations: 2.064 MB / 0.7743 GB, free: 32.15 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000308/0.8764, allocations: 19.92 kB / 0.7743 GB, free: 32.13 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01714/0.8935, allocations: 7.172 MB / 0.7813 GB, free: 24.84 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.8936, allocations: 0 / 0.7813 GB, free: 24.84 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01832/0.9119, allocations: 6.816 MB / 0.7879 GB, free: 17.99 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007973/0.9127, allocations: 322.1 kB / 0.7882 GB, free: 17.66 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006298/0.9134, allocations: 8 kB / 0.7882 GB, free: 17.65 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002375/0.9158, allocations: 219.8 kB / 0.7885 GB, free: 17.43 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000436/0.9162, allocations: 180.9 kB / 0.7886 GB, free: 17.26 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001571/0.9164, allocations: 43.98 kB / 0.7887 GB, free: 17.21 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001593/0.918, allocations: 1.024 MB / 0.7897 GB, free: 16.17 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0028/0.9208, allocations: 0.8729 MB / 0.7905 GB, free: 15.29 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (gENCLS.omega,gENCLS.delta,gENCLS.eq,sT5B.imLimitedLeadLag.integrator.y,sT5B.imLimitedLeadLag2.integrator.y,sT5B.imLimitedLeadLag1.integrator.y,sT5B.imLimitedLeadLag3.integrator.y,sT5B.imLimitedLeadLag4.integrator.y,sT5B.imLimitedLeadLag5.integrator.y,sT5B.simpleLagLimVar.state,sT5B.TransducerDelay.state,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 119 * 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.0003859/0.9212, allocations: 172.3 kB / 0.7907 GB, free: 15.12 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01621/0.9374, allocations: 5.411 MB / 0.796 GB, free: 9.672 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/0.9375, allocations: 0 / 0.796 GB, free: 9.672 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006705/0.9442, allocations: 1.988 MB / 0.7979 GB, free: 7.668 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001889/0.9461, allocations: 182.6 kB / 0.7981 GB, free: 7.492 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008154/0.9543, allocations: 3.229 MB / 0.8012 GB, free: 4.227 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001316/0.9556, allocations: 1.588 MB / 0.8028 GB, free: 2.598 MB / 490.7 MB Notification: Performance of SimCode: time 7.42e-07/0.9556, allocations: 0 / 0.8028 GB, free: 2.598 MB / 490.7 MB Notification: Performance of Templates: time 0.07688/1.033, allocations: 45.14 MB / 0.8469 GB, free: 5.57 MB / 0.5261 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ST5B -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.pipe 2>&1)