Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.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.Banks.PSSE.CSVGN1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Banks.PSSE.CSVGN1") translateModel(OpenIPSL.Tests.Banks.PSSE.CSVGN1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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.001796/0.001796, allocations: 183 kB / 7.462 MB, free: 2.48 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.037/1.037, 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.0008357/0.0008358, allocations: 95.48 kB / 280.1 MB, free: 1.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3583/0.3583, allocations: 78.1 MB / 409 MB, free: 15.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.809e-06/4.899e-06, allocations: 0 / 484.4 MB, free: 4.559 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2321, allocations: 69.35 MB / 0.5408 GB, free: 21.5 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1114/0.3436, allocations: 110.9 MB / 0.6491 GB, free: 9.984 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002103/0.3438, allocations: 75.95 kB / 0.6491 GB, free: 9.91 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.2759/0.6197, allocations: 44.49 MB / 0.6926 GB, free: 105.7 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.819e-05/0.6198, allocations: 26.25 kB / 0.6926 GB, free: 105.7 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.00465/0.6245, allocations: 2.199 MB / 0.6947 GB, free: 104.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.6245, allocations: 7.656 kB / 0.6948 GB, free: 104.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002684/0.6272, allocations: 0.5942 MB / 0.6953 GB, free: 104.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001325/0.6285, allocations: 1.057 MB / 0.6964 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000319/0.6289, allocations: 403 kB / 0.6968 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001618/0.629, allocations: 66.06 kB / 0.6968 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001719/0.6308, allocations: 1.133 MB / 0.6979 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001794/0.6326, allocations: 1.132 MB / 0.699 GB, free: 102.6 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/0.6326, allocations: 4.781 kB / 0.699 GB, free: 102.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001139/0.6327, allocations: 1.188 kB / 0.699 GB, free: 102.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.936e-05/0.6328, allocations: 31.95 kB / 0.6991 GB, free: 102.6 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007871/0.6406, allocations: 4.896 MB / 0.7038 GB, free: 99.88 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001279/0.6419, allocations: 0.8066 MB / 0.7046 GB, free: 99.48 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001039/0.643, allocations: 0.7278 MB / 0.7053 GB, free: 99.12 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001393/0.6431, allocations: 26.48 kB / 0.7054 GB, free: 99.12 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001339/0.6445, allocations: 0.8642 MB / 0.7062 GB, free: 98.72 MB / 490.7 MB Notification: Performance of pre-optimization done (n=137): time 3.186e-06/0.6445, allocations: 0 / 0.7062 GB, free: 98.72 MB / 490.7 MB Notification: Performance of matching and sorting (n=137): time 0.016/0.6605, allocations: 5.453 MB / 0.7115 GB, free: 96.96 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.6606, allocations: 121.9 kB / 0.7117 GB, free: 96.84 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001402/0.662, allocations: 1.094 MB / 0.7127 GB, free: 96.28 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001256/0.6621, allocations: 36.44 kB / 0.7128 GB, free: 96.24 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/0.6623, allocations: 389.8 kB / 0.7131 GB, free: 95.91 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004222/0.6627, allocations: 473.2 kB / 0.7136 GB, free: 95.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.818e-05/0.6628, allocations: 0 / 0.7136 GB, free: 95.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.349e-05/0.6629, allocations: 358.6 kB / 0.7139 GB, free: 95.16 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008953/0.6638, allocations: 0.5949 MB / 0.7145 GB, free: 94.79 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009056/0.6647, allocations: 0.7663 MB / 0.7153 GB, free: 93.97 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009859/0.6657, allocations: 0.6545 MB / 0.7159 GB, free: 93.32 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.6657, allocations: 4 kB / 0.7159 GB, free: 93.31 MB / 490.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003132/0.6688, allocations: 2.12 MB / 0.718 GB, free: 91.18 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001825/0.669, allocations: 1.533 MB / 0.7195 GB, free: 89.51 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.669, allocations: 4 kB / 0.7195 GB, free: 89.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007622/0.6767, allocations: 2.67 MB / 0.7221 GB, free: 86.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007261/0.6774, allocations: 179.7 kB / 0.7222 GB, free: 86.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004806/0.6822, allocations: 2.95 MB / 0.7251 GB, free: 83.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001776/0.684, allocations: 250.8 kB / 0.7254 GB, free: 83.43 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001283/0.6841, allocations: 55.91 kB / 0.7254 GB, free: 83.38 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.04e-06/0.6841, allocations: 4 kB / 0.7254 GB, free: 83.38 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002905/0.6871, allocations: 1.905 MB / 0.7273 GB, free: 81.47 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.6871, allocations: 4 kB / 0.7273 GB, free: 81.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007462/0.6945, allocations: 2.639 MB / 0.7299 GB, free: 78.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000719/0.6953, allocations: 179.8 kB / 0.73 GB, free: 78.65 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004661/0.6999, allocations: 2.849 MB / 0.7328 GB, free: 75.77 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001755/0.7017, allocations: 238.8 kB / 0.733 GB, free: 75.54 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001254/0.7018, allocations: 51.98 kB / 0.7331 GB, free: 75.49 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.0002842/0.7021, allocations: 132.7 kB / 0.7332 GB, free: 75.35 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002471/0.7024, allocations: 169.8 kB / 0.7334 GB, free: 75.18 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0146/0.717, allocations: 5.557 MB / 0.7388 GB, free: 69.62 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/0.717, allocations: 20 kB / 0.7388 GB, free: 69.61 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.717, allocations: 0 / 0.7388 GB, free: 69.61 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/0.7171, allocations: 7.969 kB / 0.7388 GB, free: 69.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01637/0.7334, allocations: 7.492 MB / 0.7462 GB, free: 62.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.7334, allocations: 0 / 0.7462 GB, free: 62.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006913/0.7341, allocations: 135.1 kB / 0.7463 GB, free: 61.92 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00674/0.7409, allocations: 2.433 MB / 0.7487 GB, free: 59.48 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000117/0.741, allocations: 11.98 kB / 0.7487 GB, free: 59.47 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01792/0.7589, allocations: 8.758 MB / 0.7572 GB, free: 50.61 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.759, allocations: 0 / 0.7572 GB, free: 50.61 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01591/0.7749, allocations: 6.581 MB / 0.7636 GB, free: 44.01 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004559/0.7753, allocations: 281.4 kB / 0.7639 GB, free: 43.72 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002853/0.7756, allocations: 7.984 kB / 0.7639 GB, free: 43.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001647/0.7773, allocations: 183.8 kB / 0.7641 GB, free: 43.53 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003277/0.7776, allocations: 153 kB / 0.7642 GB, free: 43.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001113/0.7778, allocations: 43.98 kB / 0.7643 GB, free: 43.34 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.000909/0.7787, allocations: 0.8426 MB / 0.7651 GB, free: 42.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001577/0.7803, allocations: 0.7368 MB / 0.7658 GB, free: 41.76 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.0002817/0.7805, allocations: 156.1 kB / 0.766 GB, free: 41.61 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01185/0.7924, allocations: 4.398 MB / 0.7703 GB, free: 37.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.7924, allocations: 256 / 0.7703 GB, free: 37.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005057/0.7975, allocations: 1.915 MB / 0.7721 GB, free: 35.29 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006203/0.7981, allocations: 117.3 kB / 0.7723 GB, free: 35.17 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004553/0.8027, allocations: 2.514 MB / 0.7747 GB, free: 32.63 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007641/0.8035, allocations: 1.391 MB / 0.7761 GB, free: 31.21 MB / 490.7 MB Notification: Performance of SimCode: time 2.91e-07/0.8035, allocations: 0 / 0.7761 GB, free: 31.21 MB / 490.7 MB Notification: Performance of Templates: time 0.04154/0.845, allocations: 37.99 MB / 0.8132 GB, free: 9.273 MB / 0.4948 GB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Banks.PSSE.CSVGN1.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Banks.PSSE.CSVGN1.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Banks.PSSE.CSVGN1.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Banks.PSSE.CSVGN1.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Banks.PSSE.CSVGN1.sim & ./OpenIPSL_release_OpenIPSL.Tests.Banks.PSSE.CSVGN1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Banks.PSSE.CSVGN1.pipe 2>&1)