Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Inverters.Rectifier,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Inverters.Rectifier,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier") [: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 3.2.2+maint.om/package.mo): time 0.001345/0.001346, allocations: 192.1 kB / 8.139 MB, free: 2.215 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.291/1.291, allocations: 194.2 MB / 202.8 MB, free: 8.82 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00171/0.00171, allocations: 118.2 kB / 247.7 MB, free: 6.277 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1839/0.1839, allocations: 37.91 MB / 330.5 MB, free: 6.93 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.973e-06/7.164e-06, allocations: 4 kB / 389.8 MB, free: 78.12 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09445/0.09447, allocations: 53.23 MB / 443 MB, free: 24.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2991/0.3936, allocations: 104 MB / 0.5342 GB, free: 3.82 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002491/0.3939, allocations: 92.75 kB / 0.5343 GB, free: 3.773 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.06845/0.4624, allocations: 23.89 MB / 0.5576 GB, free: 15.51 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.574e-05/0.4625, allocations: 16 kB / 0.5576 GB, free: 15.5 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.003544/0.466, allocations: 1.182 MB / 0.5588 GB, free: 14.32 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.4661, allocations: 8.031 kB / 0.5588 GB, free: 14.31 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001082/0.4672, allocations: 142.8 kB / 0.5589 GB, free: 14.17 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004057/0.4712, allocations: 1.257 MB / 0.5602 GB, free: 13.1 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002675/0.4715, allocations: 158.8 kB / 0.5603 GB, free: 12.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003342/0.4719, allocations: 51.66 kB / 0.5604 GB, free: 12.88 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002309/0.4742, allocations: 1.202 MB / 0.5615 GB, free: 12.08 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002172/0.4764, allocations: 1.244 MB / 0.5627 GB, free: 11.12 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.206e-05/0.4764, allocations: 4 kB / 0.5627 GB, free: 11.12 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/0.4766, allocations: 7.984 kB / 0.5628 GB, free: 11.11 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001645/0.4767, allocations: 72.09 kB / 0.5628 GB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007896/0.4846, allocations: 4.335 MB / 0.5671 GB, free: 7.484 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001468/0.4861, allocations: 1.025 MB / 0.5681 GB, free: 6.77 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001047/0.4872, allocations: 0.7484 MB / 0.5688 GB, free: 6.273 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.65e-05/0.4873, allocations: 12.34 kB / 0.5688 GB, free: 6.266 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/0.4873, allocations: 38.91 kB / 0.5688 GB, free: 6.223 MB / 378.7 MB Notification: Performance of pre-optimization done (n=103): time 3.818e-06/0.4874, allocations: 0 / 0.5688 GB, free: 6.223 MB / 378.7 MB Notification: Performance of matching and sorting (n=104): time 0.006226/0.4936, allocations: 3.326 MB / 0.5721 GB, free: 3.559 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.445e-05/0.4937, allocations: 93.69 kB / 0.5722 GB, free: 3.445 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003766/0.4941, allocations: 273.5 kB / 0.5724 GB, free: 3.223 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.93e-05/0.4941, allocations: 25.7 kB / 0.5725 GB, free: 3.191 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001825/0.4943, allocations: 300.2 kB / 0.5727 GB, free: 2.922 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003135/0.4947, allocations: 344.3 kB / 0.5731 GB, free: 2.621 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.284e-05/0.4947, allocations: 0 / 0.5731 GB, free: 2.621 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.4949, allocations: 377.1 kB / 0.5734 GB, free: 2.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007538/0.4957, allocations: 0.5569 MB / 0.574 GB, free: 1.902 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009127/0.4966, allocations: 0.6908 MB / 0.5747 GB, free: 1.367 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001429/0.498, allocations: 0.7511 MB / 0.5754 GB, free: 0.8242 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.498, allocations: 0 / 0.5754 GB, free: 0.8242 MB / 378.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002817/0.5009, allocations: 1.609 MB / 0.577 GB, free: 15.33 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.5009, allocations: 8 kB / 0.577 GB, free: 15.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/0.5009, allocations: 4.469 kB / 0.577 GB, free: 15.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001527/0.5011, allocations: 28.86 kB / 0.577 GB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002925/0.504, allocations: 0.6633 MB / 0.5776 GB, free: 14.62 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00556/0.5096, allocations: 5.77 MB / 0.5833 GB, free: 8.402 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009812/0.5106, allocations: 68.08 kB / 0.5833 GB, free: 8.336 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002033/0.5108, allocations: 36 kB / 0.5834 GB, free: 8.301 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (104): * Single equations (assignments): 96 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003201/0.5112, allocations: 124.5 kB / 0.5835 GB, free: 8.172 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002366/0.5114, allocations: 63.23 kB / 0.5836 GB, free: 8.109 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003046/0.5145, allocations: 1.601 MB / 0.5851 GB, free: 6.473 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.785e-05/0.5146, allocations: 31.98 kB / 0.5852 GB, free: 6.441 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.575e-05/0.5146, allocations: 3.984 kB / 0.5852 GB, free: 6.438 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.312e-05/0.5146, allocations: 7.984 kB / 0.5852 GB, free: 6.43 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005192/0.5198, allocations: 2.817 MB / 0.5879 GB, free: 3.523 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.888e-06/0.5198, allocations: 4 kB / 0.5879 GB, free: 3.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003388/0.5232, allocations: 0.7222 MB / 0.5886 GB, free: 2.797 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001029/0.5234, allocations: 20.86 kB / 0.5886 GB, free: 2.773 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001164/0.5235, allocations: 19.89 kB / 0.5887 GB, free: 2.754 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001122/0.5246, allocations: 1.329 MB / 0.59 GB, free: 1.312 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/0.5246, allocations: 4.031 kB / 0.59 GB, free: 1.309 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004086/0.5287, allocations: 2.665 MB / 0.5926 GB, free: 14.53 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002373/0.529, allocations: 136.3 kB / 0.5927 GB, free: 14.38 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001681/0.5292, allocations: 4 kB / 0.5927 GB, free: 14.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007244/0.5299, allocations: 67.92 kB / 0.5928 GB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001931/0.5301, allocations: 68.47 kB / 0.5928 GB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.05e-05/0.5302, allocations: 27.98 kB / 0.5929 GB, free: 14.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0002727/0.5305, allocations: 216.5 kB / 0.5931 GB, free: 14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001107/0.5316, allocations: 235.9 kB / 0.5933 GB, free: 13.77 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],meterDC.pav) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 79 * Array equations: 4 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004123/0.532, allocations: 166.9 kB / 0.5934 GB, free: 13.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004758/0.5368, allocations: 2.07 MB / 0.5955 GB, free: 11.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.5368, allocations: 0.5 kB / 0.5955 GB, free: 11.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004091/0.5409, allocations: 1.578 MB / 0.597 GB, free: 9.934 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008086/0.5417, allocations: 81.28 kB / 0.5971 GB, free: 9.855 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005328/0.5471, allocations: 2.241 MB / 0.5993 GB, free: 7.555 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00127/0.5484, allocations: 1.157 MB / 0.6004 GB, free: 6.367 MB / 410.7 MB Notification: Performance of SimCode: time 6.41e-07/0.5484, allocations: 0 / 0.6004 GB, free: 6.367 MB / 410.7 MB Notification: Performance of Templates: time 0.0225/0.5709, allocations: 11.65 MB / 0.6118 GB, free: 10.75 MB / 426.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe 2>&1)