Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.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.Wind.PSSE.WT4G.WT4G1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1") translateModel(OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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.001791/0.001791, allocations: 172.3 kB / 7.457 MB, free: 2.488 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.049/1.049, allocations: 221.4 MB / 229.3 MB, free: 3.043 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.0008731/0.000873, allocations: 97.02 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.3731/0.3731, allocations: 78.1 MB / 409 MB, free: 15.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.12e-06/5.21e-06, allocations: 0 / 484.4 MB, free: 4.547 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.23/0.23, allocations: 69.34 MB / 0.5407 GB, free: 21.47 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09872/0.3287, allocations: 98.8 MB / 0.6372 GB, free: 6.129 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001758/0.3289, allocations: 79.95 kB / 0.6373 GB, free: 6.051 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.05103/0.38, allocations: 20.06 MB / 0.6569 GB, free: 1.863 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.554e-05/0.38, allocations: 16.19 kB / 0.6569 GB, free: 1.848 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.002859/0.3829, allocations: 1.336 MB / 0.6582 GB, free: 476 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.933e-05/0.3829, allocations: 8.031 kB / 0.6582 GB, free: 468 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00162/0.3846, allocations: 338.4 kB / 0.6585 GB, free: 128 kB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008312/0.3854, allocations: 0.6097 MB / 0.6591 GB, free: 15.47 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003197/0.3857, allocations: 324.6 kB / 0.6595 GB, free: 15.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.606e-05/0.3858, allocations: 36 kB / 0.6595 GB, free: 15.06 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009547/0.3868, allocations: 0.5728 MB / 0.66 GB, free: 14.49 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/0.3878, allocations: 0.6743 MB / 0.6607 GB, free: 13.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.3879, allocations: 0 / 0.6607 GB, free: 13.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.193e-05/0.3879, allocations: 3.984 kB / 0.6607 GB, free: 13.79 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.3879, allocations: 16 kB / 0.6607 GB, free: 13.78 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005186/0.3931, allocations: 3.048 MB / 0.6637 GB, free: 10.62 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007432/0.3939, allocations: 0.5615 MB / 0.6643 GB, free: 10.05 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005241/0.3944, allocations: 403.7 kB / 0.6646 GB, free: 9.648 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.669e-05/0.3945, allocations: 8.656 kB / 0.6646 GB, free: 9.641 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.3945, allocations: 51.06 kB / 0.6647 GB, free: 9.578 MB / 490.7 MB Notification: Performance of pre-optimization done (n=71): time 1.603e-06/0.3946, allocations: 0 / 0.6647 GB, free: 9.578 MB / 490.7 MB Notification: Performance of matching and sorting (n=71): time 0.009507/0.4041, allocations: 3.188 MB / 0.6678 GB, free: 6.383 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.4041, allocations: 111.5 kB / 0.6679 GB, free: 6.25 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006636/0.4048, allocations: 0.5547 MB / 0.6685 GB, free: 5.691 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.971e-05/0.4049, allocations: 29.7 kB / 0.6685 GB, free: 5.656 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/0.405, allocations: 260.5 kB / 0.6687 GB, free: 5.398 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002234/0.4052, allocations: 244.4 kB / 0.669 GB, free: 5.156 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.459e-05/0.4053, allocations: 0 / 0.669 GB, free: 5.156 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.973e-05/0.4054, allocations: 333.9 kB / 0.6693 GB, free: 4.824 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004917/0.4059, allocations: 313.5 kB / 0.6696 GB, free: 4.516 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005512/0.4064, allocations: 426.9 kB / 0.67 GB, free: 4.055 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005159/0.407, allocations: 339.1 kB / 0.6703 GB, free: 3.727 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.407, allocations: 0 / 0.6703 GB, free: 3.727 MB / 490.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.009271/0.4163, allocations: 3.235 MB / 0.6735 GB, free: 488 kB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.1268/0.5431, allocations: 1.135 MB / 0.6746 GB, free: 145.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-05/0.5432, allocations: 6.672 kB / 0.6746 GB, free: 145.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003673/0.5468, allocations: 1.249 MB / 0.6758 GB, free: 145.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000445/0.5473, allocations: 94.48 kB / 0.6759 GB, free: 145.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002503/0.5498, allocations: 1.674 MB / 0.6775 GB, free: 144.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/0.5508, allocations: 155.5 kB / 0.6777 GB, free: 144.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.929e-05/0.5509, allocations: 24.72 kB / 0.6777 GB, free: 144.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.611e-06/0.5509, allocations: 5.344 kB / 0.6777 GB, free: 144.7 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008045/0.559, allocations: 3.01 MB / 0.6806 GB, free: 144.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.559, allocations: 9.875 kB / 0.6807 GB, free: 144.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003393/0.5624, allocations: 1.219 MB / 0.6818 GB, free: 144.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003981/0.5628, allocations: 96.27 kB / 0.6819 GB, free: 144.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01016/0.573, allocations: 5.39 MB / 0.6872 GB, free: 143.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/0.574, allocations: 141.7 kB / 0.6873 GB, free: 143.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.233e-05/0.5741, allocations: 26.92 kB / 0.6874 GB, free: 143.3 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.0002193/0.5743, allocations: 117 kB / 0.6875 GB, free: 143.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001526/0.5745, allocations: 83 kB / 0.6876 GB, free: 143.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008554/0.583, allocations: 3.273 MB / 0.6908 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.5831, allocations: 7.625 kB / 0.6908 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.5831, allocations: 0 / 0.6908 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.5831, allocations: 3.844 kB / 0.6908 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01029/0.5934, allocations: 4.503 MB / 0.6952 GB, free: 142.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.5934, allocations: 2.906 kB / 0.6952 GB, free: 142.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004268/0.5938, allocations: 83.8 kB / 0.6952 GB, free: 142.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003564/0.5974, allocations: 1.217 MB / 0.6964 GB, free: 142.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.169e-05/0.5975, allocations: 6.531 kB / 0.6964 GB, free: 142.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01123/0.6087, allocations: 5.697 MB / 0.702 GB, free: 140.6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.6088, allocations: 3.906 kB / 0.702 GB, free: 140.6 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009651/0.6184, allocations: 3.924 MB / 0.7058 GB, free: 140.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002888/0.6187, allocations: 178.1 kB / 0.706 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001578/0.6189, allocations: 3 kB / 0.706 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009215/0.6198, allocations: 120.8 kB / 0.7061 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002007/0.62, allocations: 91.22 kB / 0.7062 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.896e-05/0.6201, allocations: 27.34 kB / 0.7062 GB, free: 139.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0004579/0.6206, allocations: 448.4 kB / 0.7067 GB, free: 139.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001193/0.6218, allocations: 427.9 kB / 0.7071 GB, free: 139.8 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.0001829/0.622, allocations: 123.5 kB / 0.7072 GB, free: 139.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006065/0.628, allocations: 2.474 MB / 0.7096 GB, free: 139.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.628, allocations: 0 / 0.7096 GB, free: 139.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002736/0.6308, allocations: 1.122 MB / 0.7107 GB, free: 139 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005208/0.6313, allocations: 65.47 kB / 0.7108 GB, free: 139 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002756/0.6341, allocations: 1.327 MB / 0.7121 GB, free: 138.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004507/0.6345, allocations: 1.041 MB / 0.7131 GB, free: 137.7 MB / 490.7 MB Notification: Performance of SimCode: time 5.72e-07/0.6346, allocations: 0 / 0.7131 GB, free: 137.7 MB / 490.7 MB Notification: Performance of Templates: time 0.02768/0.6622, allocations: 21.32 MB / 0.7339 GB, free: 133.9 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1.sim & ./OpenIPSL_release_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1.pipe 2>&1)