Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Banks.PSSE.CSVGN1.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.Banks.PSSE.CSVGN1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Banks.PSSE.CSVGN1") translateModel(OpenIPSL.Tests.Banks.PSSE.CSVGN1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Banks.PSSE.CSVGN1") [: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.002611/0.002611, allocations: 179.7 kB / 7.455 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.205/1.205, allocations: 221.4 MB / 229.3 MB, free: 3 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.001053/0.001053, allocations: 101.9 kB / 280.1 MB, free: 1.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4138/0.4138, allocations: 78.06 MB / 408.9 MB, free: 15.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.713e-06/6.733e-06, allocations: 4 kB / 484.3 MB, free: 4.441 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2473/0.2474, allocations: 69.35 MB / 0.5407 GB, free: 21.29 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1239/0.3713, allocations: 110.9 MB / 0.649 GB, free: 9.781 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002198/0.3716, allocations: 83.95 kB / 0.6491 GB, free: 9.699 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.3057/0.6773, allocations: 44.49 MB / 0.6925 GB, free: 105.6 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.682e-05/0.6774, allocations: 29.75 kB / 0.6926 GB, free: 105.6 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: 261 * Number of variables: 261 Notification: Performance of Generate backend data structure: time 0.005422/0.6828, allocations: 2.194 MB / 0.6947 GB, free: 104.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.05e-05/0.6829, allocations: 11.59 kB / 0.6947 GB, free: 104.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003077/0.6859, allocations: 0.5862 MB / 0.6953 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001472/0.6874, allocations: 1.057 MB / 0.6963 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003418/0.6878, allocations: 399.1 kB / 0.6967 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001759/0.688, allocations: 66.47 kB / 0.6968 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001965/0.6899, allocations: 1.134 MB / 0.6979 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002126/0.6921, allocations: 1.137 MB / 0.699 GB, free: 102.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.566e-05/0.6921, allocations: 0.5 kB / 0.699 GB, free: 102.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001252/0.6922, allocations: 8.266 kB / 0.699 GB, free: 102.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.172e-05/0.6923, allocations: 28.91 kB / 0.699 GB, free: 102.3 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008536/0.7008, allocations: 4.898 MB / 0.7038 GB, free: 99.66 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00143/0.7023, allocations: 0.81 MB / 0.7046 GB, free: 99.25 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001149/0.7034, allocations: 0.724 MB / 0.7053 GB, free: 98.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001547/0.7036, allocations: 23.86 kB / 0.7053 GB, free: 98.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00151/0.7051, allocations: 0.8566 MB / 0.7062 GB, free: 98.51 MB / 490.7 MB Notification: Performance of pre-optimization done (n=137): time 3.006e-06/0.7051, allocations: 4 kB / 0.7062 GB, free: 98.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=137): time 0.01746/0.7226, allocations: 5.46 MB / 0.7115 GB, free: 96.69 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.7227, allocations: 116.7 kB / 0.7116 GB, free: 96.56 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001843/0.7245, allocations: 1.109 MB / 0.7127 GB, free: 96 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003231/0.7249, allocations: 25.7 kB / 0.7127 GB, free: 95.96 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003083/0.7252, allocations: 394.8 kB / 0.7131 GB, free: 95.63 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005176/0.7257, allocations: 475.1 kB / 0.7136 GB, free: 95.22 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.63e-05/0.7258, allocations: 0.5625 kB / 0.7136 GB, free: 95.22 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.833e-05/0.7259, allocations: 353.8 kB / 0.7139 GB, free: 94.88 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001097/0.727, allocations: 0.5948 MB / 0.7145 GB, free: 94.34 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001021/0.728, allocations: 0.774 MB / 0.7152 GB, free: 93.52 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/0.7292, allocations: 0.6506 MB / 0.7159 GB, free: 92.87 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.7292, allocations: 4 kB / 0.7159 GB, free: 92.86 MB / 490.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003784/0.733, allocations: 2.116 MB / 0.7179 GB, free: 90.73 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002017/0.7332, allocations: 1.534 MB / 0.7194 GB, free: 89.06 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.958e-06/0.7333, allocations: 4 kB / 0.7194 GB, free: 89.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008618/0.7419, allocations: 2.669 MB / 0.722 GB, free: 86.39 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008819/0.7428, allocations: 175.8 kB / 0.7222 GB, free: 86.22 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005404/0.7482, allocations: 2.954 MB / 0.7251 GB, free: 83.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002159/0.7504, allocations: 250.8 kB / 0.7253 GB, free: 82.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000147/0.7505, allocations: 51.98 kB / 0.7254 GB, free: 82.93 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.456e-06/0.7506, allocations: 4 kB / 0.7254 GB, free: 82.93 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003438/0.754, allocations: 1.905 MB / 0.7273 GB, free: 81.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.754, allocations: 4 kB / 0.7273 GB, free: 81.02 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008475/0.7625, allocations: 2.647 MB / 0.7298 GB, free: 78.38 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008555/0.7634, allocations: 171.7 kB / 0.73 GB, free: 78.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005367/0.7688, allocations: 2.861 MB / 0.7328 GB, free: 75.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002237/0.771, allocations: 238.8 kB / 0.733 GB, free: 75.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001562/0.7712, allocations: 47.98 kB / 0.7331 GB, free: 75.04 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: cSVGN1.add2.y:VARIABLE() "Connector of Real output signal" type: Real 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,cSVGN1.leadLagLim.integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 97 * 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 {32 43} Notification: Performance of prepare postOptimizeDAE: time 0.0003441/0.7715, allocations: 130.1 kB / 0.7332 GB, free: 74.91 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000312/0.7718, allocations: 177.8 kB / 0.7334 GB, free: 74.73 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01644/0.7883, allocations: 5.549 MB / 0.7388 GB, free: 69.18 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-05/0.7883, allocations: 12 kB / 0.7388 GB, free: 69.17 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.7883, allocations: 4 kB / 0.7388 GB, free: 69.16 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.905e-05/0.7884, allocations: 7.969 kB / 0.7388 GB, free: 69.16 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01886/0.8072, allocations: 7.496 MB / 0.7461 GB, free: 61.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.772e-06/0.8073, allocations: 0 / 0.7461 GB, free: 61.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000837/0.8081, allocations: 131.8 kB / 0.7463 GB, free: 61.47 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007674/0.8158, allocations: 2.433 MB / 0.7486 GB, free: 59.04 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001612/0.816, allocations: 15.98 kB / 0.7486 GB, free: 59.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02047/0.8364, allocations: 8.747 MB / 0.7572 GB, free: 50.17 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.8365, allocations: 4 kB / 0.7572 GB, free: 50.17 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01803/0.8545, allocations: 6.589 MB / 0.7636 GB, free: 43.57 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005559/0.8551, allocations: 278.6 kB / 0.7639 GB, free: 43.27 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003169/0.8554, allocations: 7.938 kB / 0.7639 GB, free: 43.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001937/0.8574, allocations: 187.8 kB / 0.7641 GB, free: 43.08 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003906/0.8578, allocations: 161 kB / 0.7642 GB, free: 42.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001273/0.8579, allocations: 35.98 kB / 0.7643 GB, free: 42.89 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001184/0.8591, allocations: 0.8426 MB / 0.7651 GB, free: 42.05 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001768/0.8609, allocations: 0.7252 MB / 0.7658 GB, free: 41.32 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENSAL.w,gENSAL.delta,gENSAL.Epq,gENSAL.PSIkd,gENSAL.PSIppq,cSVGN1.LagLim.state,cSVGN1.leadLag.TF.x_scaled[1],cSVGN1.leadLagLim.integrator.y) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 74 * 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 {27 41} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003043/0.8612, allocations: 158.8 kB / 0.7659 GB, free: 41.16 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01358/0.8748, allocations: 4.394 MB / 0.7702 GB, free: 36.76 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.8748, allocations: 0 / 0.7702 GB, free: 36.76 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005833/0.8806, allocations: 1.915 MB / 0.7721 GB, free: 34.84 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008097/0.8815, allocations: 117.3 kB / 0.7722 GB, free: 34.72 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005453/0.8869, allocations: 2.514 MB / 0.7747 GB, free: 32.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009416/0.8879, allocations: 1.383 MB / 0.776 GB, free: 30.78 MB / 490.7 MB Notification: Performance of SimCode: time 4.51e-07/0.8879, allocations: 0 / 0.776 GB, free: 30.78 MB / 490.7 MB Notification: Performance of Templates: time 0.04933/0.9372, allocations: 37.99 MB / 0.8131 GB, free: 8.875 MB / 0.4948 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Banks.PSSE.CSVGN1.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Banks.PSSE.CSVGN1.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Banks.PSSE.CSVGN1.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Banks.PSSE.CSVGN1.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Banks.PSSE.CSVGN1.sim & ./OpenIPSL_OpenIPSL.Tests.Banks.PSSE.CSVGN1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Banks.PSSE.CSVGN1.pipe 2>&1)