Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid") translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001607/0.001607, allocations: 182.2 kB / 7.799 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.745/1.745, allocations: 205.2 MB / 213.4 MB, free: 1.898 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001266/0.001266, allocations: 82.48 kB / 261.4 MB, free: 1.852 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2495/0.2495, allocations: 37.97 MB / 347.3 MB, free: 5.953 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 9.988e-06/1.014e-05, allocations: 0 / 409.3 MB, free: 35.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1044, allocations: 56.31 MB / 465.6 MB, free: 11.18 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3818/0.4864, allocations: 110.3 MB / 0.5625 GB, free: 1.98 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003061/0.4867, allocations: 94.22 kB / 0.5626 GB, free: 1.934 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.1005/0.5872, allocations: 21.31 MB / 0.5834 GB, free: 15.95 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.308e-05/0.5874, allocations: 23.92 kB / 0.5834 GB, free: 15.92 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.002984/0.5904, allocations: 0.9384 MB / 0.5843 GB, free: 14.98 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.5904, allocations: 8.031 kB / 0.5843 GB, free: 14.97 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001248/0.5917, allocations: 130.9 kB / 0.5844 GB, free: 14.84 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005023/0.5967, allocations: 1.146 MB / 0.5856 GB, free: 13.86 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.588e-05/0.5968, allocations: 20 kB / 0.5856 GB, free: 13.84 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001874/0.597, allocations: 40 kB / 0.5856 GB, free: 13.8 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002201/0.5992, allocations: 0.7652 MB / 0.5864 GB, free: 13.27 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002208/0.6015, allocations: 0.9117 MB / 0.5873 GB, free: 12.54 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.735e-05/0.6015, allocations: 3.984 kB / 0.5873 GB, free: 12.54 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/0.6017, allocations: 4 kB / 0.5873 GB, free: 12.54 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002468/0.6019, allocations: 72.12 kB / 0.5873 GB, free: 12.47 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008821/0.6107, allocations: 3.123 MB / 0.5904 GB, free: 9.785 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001871/0.6127, allocations: 0.7076 MB / 0.5911 GB, free: 9.266 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001065/0.6138, allocations: 459.6 kB / 0.5915 GB, free: 8.965 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.055e-05/0.6139, allocations: 8.656 kB / 0.5915 GB, free: 8.957 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.299e-05/0.6139, allocations: 46.92 kB / 0.5916 GB, free: 8.902 MB / 394.7 MB Notification: Performance of pre-optimization done (n=77): time 3.957e-06/0.6139, allocations: 0 / 0.5916 GB, free: 8.902 MB / 394.7 MB Notification: Performance of matching and sorting (n=79): time 0.008098/0.622, allocations: 2.459 MB / 0.594 GB, free: 6.824 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.172e-05/0.6222, allocations: 89.8 kB / 0.5941 GB, free: 6.719 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005796/0.6228, allocations: 329.9 kB / 0.5944 GB, free: 6.461 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.234e-05/0.6229, allocations: 25.7 kB / 0.5944 GB, free: 6.43 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002086/0.6231, allocations: 333.3 kB / 0.5947 GB, free: 6.117 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000304/0.6234, allocations: 270.6 kB / 0.595 GB, free: 5.883 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.643e-05/0.6235, allocations: 0 / 0.595 GB, free: 5.883 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.6236, allocations: 348.4 kB / 0.5953 GB, free: 5.547 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009013/0.6245, allocations: 365.2 kB / 0.5956 GB, free: 5.305 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001024/0.6256, allocations: 0.5196 MB / 0.5962 GB, free: 4.859 MB / 394.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: ind.i[3] = ind.i_start[3] (0.0 = ind.i_start[3]) Notification: Performance of analyzeInitialSystem (initialization): time 0.01796/0.6436, allocations: 2.37 MB / 0.5985 GB, free: 2.77 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/0.6436, allocations: 4 kB / 0.5985 GB, free: 2.766 MB / 394.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.003605/0.6472, allocations: 1.202 MB / 0.5996 GB, free: 1.789 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.6473, allocations: 4 kB / 0.5996 GB, free: 1.785 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.04e-05/0.6473, allocations: 8 kB / 0.5997 GB, free: 1.777 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002205/0.6475, allocations: 38.77 kB / 0.5997 GB, free: 1.742 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001696/0.6492, allocations: 191.1 kB / 0.5999 GB, free: 1.562 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001513/0.6508, allocations: 1.307 MB / 0.6012 GB, free: 204 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007968/0.6516, allocations: 23.95 kB / 0.6012 GB, free: 180 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.566e-05/0.6517, allocations: 37.56 kB / 0.6012 GB, free: 148 kB / 394.7 MB Warning: Assuming redundant initial conditions for the following 1 initial equations: ind.i[3] = ind.i_start[3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 89 * Array equations: 3 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000256/0.652, allocations: 41.56 kB / 0.6013 GB, free: 100 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002003/0.6522, allocations: 59.25 kB / 0.6013 GB, free: 40 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003577/0.6558, allocations: 1.161 MB / 0.6024 GB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001304/0.656, allocations: 23.48 kB / 0.6025 GB, free: 15.1 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/0.656, allocations: 4 kB / 0.6025 GB, free: 15.1 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.592e-05/0.656, allocations: 7.984 kB / 0.6025 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006424/0.6624, allocations: 2.072 MB / 0.6045 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-05/0.6625, allocations: 8.125 kB / 0.6045 GB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001517/0.664, allocations: 158.7 kB / 0.6047 GB, free: 13.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001786/0.6642, allocations: 36.28 kB / 0.6047 GB, free: 13.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-05/0.6643, allocations: 16.55 kB / 0.6047 GB, free: 13.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001421/0.6658, allocations: 1.303 MB / 0.606 GB, free: 11.72 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.058e-05/0.6658, allocations: 8 kB / 0.606 GB, free: 11.71 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004285/0.6701, allocations: 1.94 MB / 0.6079 GB, free: 9.961 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002561/0.6704, allocations: 139 kB / 0.608 GB, free: 9.809 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001581/0.6706, allocations: 8 kB / 0.608 GB, free: 9.801 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007003/0.6713, allocations: 27.88 kB / 0.6081 GB, free: 9.773 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/0.6714, allocations: 44.81 kB / 0.6081 GB, free: 9.738 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.131e-05/0.6715, allocations: 23.31 kB / 0.6081 GB, free: 9.719 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0004197/0.672, allocations: 247 kB / 0.6084 GB, free: 9.527 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001052/0.673, allocations: 186.9 kB / 0.6085 GB, free: 9.348 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 6 (meterDC.pav,meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],ind.i[1],ind.i[2]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 71 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003707/0.6734, allocations: 153.7 kB / 0.6087 GB, free: 9.191 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002823/0.6762, allocations: 0.9846 MB / 0.6096 GB, free: 8.441 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/0.6763, allocations: 0 / 0.6096 GB, free: 8.441 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001436/0.6777, allocations: 0.55 MB / 0.6102 GB, free: 7.934 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001271/0.679, allocations: 107.5 kB / 0.6103 GB, free: 7.832 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005415/0.6845, allocations: 1.723 MB / 0.612 GB, free: 6.012 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001501/0.6861, allocations: 1.094 MB / 0.613 GB, free: 4.895 MB / 410.7 MB Notification: Performance of SimCode: time 1.873e-06/0.6861, allocations: 0 / 0.613 GB, free: 4.895 MB / 410.7 MB Notification: Performance of Templates: time 0.02691/0.713, allocations: 11.87 MB / 0.6246 GB, free: 9.031 MB / 426.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe 2>&1)