Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1.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.Wind.PSSE.WT4G.WT4G1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1") translateModel(OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1") [: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.004065/0.004065, allocations: 178.1 kB / 7.447 MB, free: 2.312 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.267/1.267, allocations: 221.4 MB / 229.3 MB, free: 3.109 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.0009674/0.0009674, allocations: 85.09 kB / 280.1 MB, free: 1.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4877/0.4877, allocations: 78.06 MB / 408.9 MB, free: 15.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.424e-06/7.464e-06, allocations: 0 / 484.4 MB, free: 4.414 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.2651, allocations: 69.34 MB / 0.5407 GB, free: 21.46 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1177/0.3829, allocations: 98.8 MB / 0.6372 GB, free: 6.02 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/0.3832, allocations: 79.95 kB / 0.6373 GB, free: 5.941 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.0623/0.4455, allocations: 20.07 MB / 0.6569 GB, free: 1.746 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.351e-05/0.4456, allocations: 16 kB / 0.6569 GB, free: 1.73 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: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.0037/0.4493, allocations: 1.336 MB / 0.6582 GB, free: 356 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.4494, allocations: 8.031 kB / 0.6582 GB, free: 348 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002044/0.4514, allocations: 338.4 kB / 0.6585 GB, free: 8 kB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001248/0.4527, allocations: 0.6136 MB / 0.6591 GB, free: 15.35 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004198/0.4531, allocations: 320.6 kB / 0.6594 GB, free: 14.98 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000149/0.4533, allocations: 36 kB / 0.6595 GB, free: 14.95 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001235/0.4546, allocations: 0.5767 MB / 0.66 GB, free: 14.37 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001295/0.4559, allocations: 0.6704 MB / 0.6607 GB, free: 13.68 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.4559, allocations: 0 / 0.6607 GB, free: 13.68 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.818e-05/0.456, allocations: 0 / 0.6607 GB, free: 13.68 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2e-05/0.456, allocations: 16 kB / 0.6607 GB, free: 13.66 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006624/0.4626, allocations: 3.037 MB / 0.6637 GB, free: 10.52 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009423/0.4636, allocations: 0.5629 MB / 0.6642 GB, free: 9.938 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006395/0.4643, allocations: 403.7 kB / 0.6646 GB, free: 9.539 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.644e-05/0.4644, allocations: 8.656 kB / 0.6646 GB, free: 9.531 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.719e-05/0.4644, allocations: 51.12 kB / 0.6647 GB, free: 9.469 MB / 490.7 MB Notification: Performance of pre-optimization done (n=71): time 2.875e-06/0.4644, allocations: 0 / 0.6647 GB, free: 9.469 MB / 490.7 MB Notification: Performance of matching and sorting (n=71): time 0.01115/0.4756, allocations: 3.188 MB / 0.6678 GB, free: 6.27 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.824e-05/0.4757, allocations: 111.5 kB / 0.6679 GB, free: 6.137 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009622/0.4766, allocations: 0.5585 MB / 0.6684 GB, free: 5.574 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001229/0.4768, allocations: 29.7 kB / 0.6684 GB, free: 5.539 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001677/0.477, allocations: 264.5 kB / 0.6687 GB, free: 5.277 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003228/0.4773, allocations: 240.4 kB / 0.6689 GB, free: 5.039 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.602e-05/0.4774, allocations: 0 / 0.6689 GB, free: 5.039 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.4775, allocations: 333.9 kB / 0.6692 GB, free: 4.707 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006017/0.4781, allocations: 309.5 kB / 0.6695 GB, free: 4.402 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007013/0.4788, allocations: 434.8 kB / 0.67 GB, free: 3.934 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006398/0.4794, allocations: 335.1 kB / 0.6703 GB, free: 3.613 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.4795, allocations: 3.938 kB / 0.6703 GB, free: 3.609 MB / 490.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0113/0.4908, allocations: 3.231 MB / 0.6734 GB, free: 372 kB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.1478/0.6386, allocations: 1.134 MB / 0.6745 GB, free: 145.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.738e-05/0.6387, allocations: 3.531 kB / 0.6745 GB, free: 145.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00436/0.6431, allocations: 1.252 MB / 0.6758 GB, free: 145.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005621/0.6437, allocations: 95.44 kB / 0.6759 GB, free: 145.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003009/0.6467, allocations: 1.676 MB / 0.6775 GB, free: 144.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001429/0.6481, allocations: 150.8 kB / 0.6776 GB, free: 144.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.862e-05/0.6482, allocations: 30.69 kB / 0.6777 GB, free: 144.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.638e-06/0.6483, allocations: 3.531 kB / 0.6777 GB, free: 144.6 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009679/0.658, allocations: 3.012 MB / 0.6806 GB, free: 144.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.658, allocations: 3.906 kB / 0.6806 GB, free: 144.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004219/0.6622, allocations: 1.216 MB / 0.6818 GB, free: 144.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005829/0.6628, allocations: 99.48 kB / 0.6819 GB, free: 144.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01219/0.675, allocations: 5.393 MB / 0.6872 GB, free: 143.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001259/0.6763, allocations: 137 kB / 0.6873 GB, free: 143.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.202e-05/0.6764, allocations: 27.7 kB / 0.6873 GB, free: 143.2 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: wT4G1.Is.im:VARIABLE() "Imaginary part of complex number" type: Real wT4G1.Is.re:VARIABLE() "Real part of complex number" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 1 (wT4G1.K.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * 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 {18 17} Notification: Performance of prepare postOptimizeDAE: time 0.0002678/0.6767, allocations: 113.8 kB / 0.6874 GB, free: 143.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001991/0.6769, allocations: 88 kB / 0.6875 GB, free: 143 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01028/0.6872, allocations: 3.266 MB / 0.6907 GB, free: 142.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.698e-05/0.6873, allocations: 11.78 kB / 0.6907 GB, free: 142.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.6873, allocations: 0 / 0.6907 GB, free: 142.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-05/0.6873, allocations: 7.562 kB / 0.6907 GB, free: 142.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01263/0.6999, allocations: 4.504 MB / 0.6951 GB, free: 142.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/0.7, allocations: 8.5 kB / 0.6951 GB, free: 142.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005568/0.7005, allocations: 78.5 kB / 0.6952 GB, free: 142.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004224/0.7048, allocations: 1.214 MB / 0.6964 GB, free: 142 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001177/0.7049, allocations: 13.05 kB / 0.6964 GB, free: 142 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01323/0.7182, allocations: 5.698 MB / 0.702 GB, free: 140.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.7182, allocations: 5.156 kB / 0.702 GB, free: 140.4 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01155/0.7298, allocations: 3.921 MB / 0.7058 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003391/0.7301, allocations: 176.1 kB / 0.706 GB, free: 139.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003076/0.7305, allocations: 6.75 kB / 0.706 GB, free: 139.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001232/0.7317, allocations: 120.1 kB / 0.7061 GB, free: 139.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002688/0.732, allocations: 89.31 kB / 0.7062 GB, free: 139.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.263e-05/0.7321, allocations: 19.09 kB / 0.7062 GB, free: 139.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0005924/0.7327, allocations: 446.3 kB / 0.7066 GB, free: 139.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001596/0.7343, allocations: 437.2 kB / 0.707 GB, free: 139.7 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (gENCLS2_1.delta,gENCLS2_1.eq,wT4G1.K1.state,wT4G1.K.y,wT4G1.K2.state,gENCLS2_1.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 38 * 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 {18 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002296/0.7345, allocations: 127.8 kB / 0.7072 GB, free: 139.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007564/0.7421, allocations: 2.469 MB / 0.7096 GB, free: 139.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.7421, allocations: 3.031 kB / 0.7096 GB, free: 139.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003224/0.7454, allocations: 1.12 MB / 0.7107 GB, free: 138.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007525/0.7462, allocations: 68.02 kB / 0.7107 GB, free: 138.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003808/0.75, allocations: 1.332 MB / 0.712 GB, free: 138.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005826/0.7506, allocations: 1.044 MB / 0.7131 GB, free: 137.5 MB / 490.7 MB Notification: Performance of SimCode: time 8.42e-07/0.7506, allocations: 0 / 0.7131 GB, free: 137.5 MB / 490.7 MB Notification: Performance of Templates: time 0.03377/0.7844, allocations: 21.31 MB / 0.7339 GB, free: 133.7 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1.sim & ./OpenIPSL_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1.pipe 2>&1)