Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.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.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.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.001011/0.001011, allocations: 186.8 kB / 8.133 MB, free: 2.219 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.277/1.277, allocations: 194.2 MB / 202.8 MB, free: 8.762 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.001736/0.001736, allocations: 122.1 kB / 247.7 MB, free: 6.23 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1631/0.1631, allocations: 37.91 MB / 330.5 MB, free: 6.93 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.076e-06/8.096e-06, allocations: 0 / 389.8 MB, free: 78.11 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09602/0.09605, allocations: 53.22 MB / 443 MB, free: 24.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3008/0.3969, allocations: 104.3 MB / 0.5345 GB, free: 3.801 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002355/0.3972, allocations: 92.84 kB / 0.5346 GB, free: 3.754 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.07407/0.4712, allocations: 22.82 MB / 0.5569 GB, free: 480 kB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001027/0.4714, allocations: 23.94 kB / 0.5569 GB, free: 456 kB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.004779/0.4762, allocations: 1.163 MB / 0.558 GB, free: 15.29 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.4763, allocations: 8.031 kB / 0.558 GB, free: 15.28 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001577/0.4779, allocations: 146.2 kB / 0.5582 GB, free: 15.14 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005367/0.4833, allocations: 1.253 MB / 0.5594 GB, free: 14.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003487/0.4836, allocations: 158.5 kB / 0.5595 GB, free: 13.89 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004501/0.4841, allocations: 48 kB / 0.5596 GB, free: 13.85 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003035/0.4872, allocations: 1.069 MB / 0.5606 GB, free: 13.14 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003061/0.4903, allocations: 1.186 MB / 0.5618 GB, free: 12.19 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.554e-05/0.4903, allocations: 11.94 kB / 0.5618 GB, free: 12.18 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001833/0.4905, allocations: 0 / 0.5618 GB, free: 12.18 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000142/0.4907, allocations: 57.22 kB / 0.5619 GB, free: 12.12 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01108/0.5018, allocations: 4.818 MB / 0.5666 GB, free: 7.973 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00179/0.5036, allocations: 0.8401 MB / 0.5674 GB, free: 7.391 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001506/0.5051, allocations: 0.6116 MB / 0.568 GB, free: 6.969 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.99e-05/0.5052, allocations: 8.5 kB / 0.568 GB, free: 6.957 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.938e-05/0.5053, allocations: 46.67 kB / 0.568 GB, free: 6.91 MB / 378.7 MB Notification: Performance of pre-optimization done (n=74): time 4.088e-06/0.5053, allocations: 0 / 0.568 GB, free: 6.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=75): time 0.006142/0.5115, allocations: 2.368 MB / 0.5703 GB, free: 5.016 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.209e-05/0.5116, allocations: 85.77 kB / 0.5704 GB, free: 4.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000666/0.5123, allocations: 331.8 kB / 0.5707 GB, free: 4.641 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.807e-05/0.5124, allocations: 25.7 kB / 0.5708 GB, free: 4.609 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002914/0.5127, allocations: 349.1 kB / 0.5711 GB, free: 4.297 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003368/0.513, allocations: 254.9 kB / 0.5713 GB, free: 4.074 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.895e-05/0.5131, allocations: 0 / 0.5713 GB, free: 4.074 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002433/0.5134, allocations: 366.4 kB / 0.5717 GB, free: 3.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009026/0.5143, allocations: 448 kB / 0.5721 GB, free: 3.449 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00111/0.5154, allocations: 0.6242 MB / 0.5727 GB, free: 2.918 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00129/0.5167, allocations: 0.5215 MB / 0.5732 GB, free: 2.559 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.401e-06/0.5167, allocations: 0 / 0.5732 GB, free: 2.559 MB / 378.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.006257/0.523, allocations: 1.869 MB / 0.5751 GB, free: 1.039 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.5231, allocations: 12.09 kB / 0.5751 GB, free: 1.027 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005633/0.5287, allocations: 1.643 MB / 0.5767 GB, free: 15.62 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002184/0.5309, allocations: 0.5364 MB / 0.5772 GB, free: 15.08 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/0.5322, allocations: 147.6 kB / 0.5773 GB, free: 14.94 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01265/0.5448, allocations: 5.722 MB / 0.5829 GB, free: 8.988 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00126/0.5461, allocations: 68.09 kB / 0.583 GB, free: 8.922 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002118/0.5464, allocations: 31.98 kB / 0.583 GB, free: 8.891 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (76): * Single equations (assignments): 72 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * 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: 1 {4 16} Notification: Performance of prepare postOptimizeDAE: time 0.0004006/0.5468, allocations: 124.7 kB / 0.5831 GB, free: 8.762 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003002/0.5471, allocations: 55.25 kB / 0.5832 GB, free: 8.707 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003174/0.5503, allocations: 1.168 MB / 0.5843 GB, free: 7.504 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.239e-05/0.5504, allocations: 15.91 kB / 0.5844 GB, free: 7.488 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/0.5504, allocations: 4 kB / 0.5844 GB, free: 7.484 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.525e-05/0.5504, allocations: 3.984 kB / 0.5844 GB, free: 7.48 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003709/0.5541, allocations: 2.159 MB / 0.5865 GB, free: 5.242 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-06/0.5541, allocations: 4 kB / 0.5865 GB, free: 5.238 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003168/0.5573, allocations: 0.6869 MB / 0.5871 GB, free: 4.551 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.181e-05/0.5574, allocations: 20.86 kB / 0.5872 GB, free: 4.527 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.861e-05/0.5575, allocations: 11.98 kB / 0.5872 GB, free: 4.516 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001031/0.5586, allocations: 1.329 MB / 0.5885 GB, free: 3.074 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.5586, allocations: 4 kB / 0.5885 GB, free: 3.07 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002621/0.5612, allocations: 1.921 MB / 0.5904 GB, free: 1.074 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002036/0.5614, allocations: 128.4 kB / 0.5905 GB, free: 0.9297 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001499/0.5616, allocations: 7.984 kB / 0.5905 GB, free: 0.9219 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000622/0.5622, allocations: 59.94 kB / 0.5905 GB, free: 0.8633 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001605/0.5624, allocations: 52.48 kB / 0.5906 GB, free: 0.8125 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.2e-05/0.5624, allocations: 19.98 kB / 0.5906 GB, free: 0.793 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0003405/0.5628, allocations: 247.2 kB / 0.5908 GB, free: 0.5508 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001027/0.5638, allocations: 219.9 kB / 0.5911 GB, free: 344 kB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (66): * Single equations (assignments): 62 * Array equations: 2 * 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.0003178/0.5642, allocations: 147 kB / 0.5912 GB, free: 188 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002353/0.5665, allocations: 1.365 MB / 0.5925 GB, free: 14.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.5665, allocations: 4.375 kB / 0.5925 GB, free: 14.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003615/0.5702, allocations: 1.355 MB / 0.5939 GB, free: 13.43 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007465/0.5709, allocations: 97.58 kB / 0.5939 GB, free: 13.34 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004253/0.5752, allocations: 1.896 MB / 0.5958 GB, free: 11.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001149/0.5764, allocations: 1.137 MB / 0.5969 GB, free: 10.23 MB / 410.7 MB Notification: Performance of SimCode: time 6.32e-07/0.5764, allocations: 0 / 0.5969 GB, free: 10.23 MB / 410.7 MB Notification: Performance of Templates: time 0.02214/0.5985, allocations: 12.05 MB / 0.6087 GB, free: 14.2 MB / 426.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe 2>&1)