Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.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.AC1ph_DC.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.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.001586/0.001586, allocations: 190.6 kB / 8.135 MB, free: 2.211 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.093/1.093, allocations: 194.2 MB / 202.8 MB, free: 8.672 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.001652/0.001652, allocations: 123.8 kB / 247.7 MB, free: 6.398 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1651/0.1651, allocations: 37.91 MB / 330.5 MB, free: 6.922 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.29e-06/5.33e-06, allocations: 0 / 389.8 MB, free: 78.13 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07005/0.07007, allocations: 53.22 MB / 443 MB, free: 24.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.236/0.3061, allocations: 94.42 MB / 0.5248 GB, free: 9.18 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002173/0.3064, allocations: 93.44 kB / 0.5249 GB, free: 9.164 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.03587/0.3422, allocations: 13.64 MB / 0.5383 GB, free: 1.195 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.21e-05/0.3423, allocations: 19.59 kB / 0.5383 GB, free: 1.18 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.00146/0.3438, allocations: 0.8787 MB / 0.5391 GB, free: 300 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.3438, allocations: 8.031 kB / 0.5391 GB, free: 292 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001737/0.344, allocations: 79.06 kB / 0.5392 GB, free: 212 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002771/0.3468, allocations: 1.114 MB / 0.5403 GB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001664/0.3469, allocations: 100.7 kB / 0.5404 GB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.313e-05/0.3471, allocations: 39.84 kB / 0.5404 GB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009255/0.348, allocations: 0.5754 MB / 0.541 GB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009838/0.349, allocations: 0.6689 MB / 0.5417 GB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.349, allocations: 0 / 0.5417 GB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.199e-05/0.3491, allocations: 4 kB / 0.5417 GB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.472e-05/0.3491, allocations: 16 kB / 0.5417 GB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003942/0.353, allocations: 2.7 MB / 0.5443 GB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006074/0.3537, allocations: 0.4979 MB / 0.5448 GB, free: 11.53 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003589/0.354, allocations: 288.1 kB / 0.5451 GB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.511e-05/0.3541, allocations: 11.73 kB / 0.5451 GB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.3541, allocations: 37.75 kB / 0.5451 GB, free: 11.28 MB / 362.7 MB Notification: Performance of pre-optimization done (n=38): time 2.354e-06/0.3541, allocations: 0 / 0.5451 GB, free: 11.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=39): time 0.002028/0.3562, allocations: 1.304 MB / 0.5464 GB, free: 10.13 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/0.3562, allocations: 84.73 kB / 0.5465 GB, free: 10.03 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003304/0.3565, allocations: 309 kB / 0.5468 GB, free: 9.781 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.568e-05/0.3566, allocations: 26.45 kB / 0.5468 GB, free: 9.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/0.3567, allocations: 267.3 kB / 0.547 GB, free: 9.508 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000102/0.3568, allocations: 138.4 kB / 0.5472 GB, free: 9.387 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.195e-05/0.3569, allocations: 0 / 0.5472 GB, free: 9.387 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.357, allocations: 359.7 kB / 0.5475 GB, free: 9.047 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000307/0.3573, allocations: 193 kB / 0.5477 GB, free: 8.926 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003305/0.3576, allocations: 307.5 kB / 0.548 GB, free: 8.652 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003056/0.358, allocations: 220.4 kB / 0.5482 GB, free: 8.504 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.358, allocations: 3.938 kB / 0.5482 GB, free: 8.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009021/0.3589, allocations: 0.675 MB / 0.5489 GB, free: 7.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.3589, allocations: 4 kB / 0.5489 GB, free: 7.926 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.3589, allocations: 4 kB / 0.5489 GB, free: 7.922 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002074/0.3591, allocations: 69.05 kB / 0.5489 GB, free: 7.859 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001666/0.3608, allocations: 415.7 kB / 0.5493 GB, free: 7.457 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004758/0.3656, allocations: 5.658 MB / 0.5549 GB, free: 1.566 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004539/0.3661, allocations: 40.06 kB / 0.5549 GB, free: 1.527 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.423e-05/0.3661, allocations: 15.38 kB / 0.5549 GB, free: 1.516 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (54): * 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): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001417/0.3663, allocations: 112.9 kB / 0.555 GB, free: 1.398 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.264e-05/0.3664, allocations: 47.42 kB / 0.5551 GB, free: 1.352 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009272/0.3673, allocations: 0.6272 MB / 0.5557 GB, free: 0.8477 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.3673, allocations: 4 kB / 0.5557 GB, free: 0.8438 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3673, allocations: 0 / 0.5557 GB, free: 0.8438 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.3673, allocations: 3.984 kB / 0.5557 GB, free: 0.8398 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001937/0.3693, allocations: 1.313 MB / 0.557 GB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.3693, allocations: 0 / 0.557 GB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001848/0.3712, allocations: 451 kB / 0.5574 GB, free: 15.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001861/0.3714, allocations: 56.92 kB / 0.5575 GB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.725e-05/0.3714, allocations: 7.984 kB / 0.5575 GB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001918/0.3733, allocations: 2.716 MB / 0.5601 GB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-06/0.3733, allocations: 4.031 kB / 0.5601 GB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001162/0.3745, allocations: 1.016 MB / 0.5611 GB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.3746, allocations: 119.6 kB / 0.5612 GB, free: 11.42 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.873e-05/0.3747, allocations: 4 kB / 0.5612 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003519/0.3751, allocations: 35.97 kB / 0.5613 GB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.106e-05/0.3752, allocations: 31.12 kB / 0.5613 GB, free: 11.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.114e-05/0.3752, allocations: 15.09 kB / 0.5613 GB, free: 11.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.000241/0.3755, allocations: 243.1 kB / 0.5615 GB, free: 11.15 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006179/0.3761, allocations: 131.9 kB / 0.5617 GB, free: 11.02 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,meterDC.pav) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002126/0.3763, allocations: 116 kB / 0.5618 GB, free: 10.9 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002483/0.3788, allocations: 1.085 MB / 0.5628 GB, free: 9.938 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3788, allocations: 7.688 kB / 0.5629 GB, free: 9.934 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002364/0.3812, allocations: 0.9341 MB / 0.5638 GB, free: 9.059 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005771/0.3818, allocations: 99.91 kB / 0.5639 GB, free: 8.984 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001935/0.3837, allocations: 1.058 MB / 0.5649 GB, free: 8.008 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006778/0.3844, allocations: 1.001 MB / 0.5659 GB, free: 7.008 MB / 378.7 MB Notification: Performance of SimCode: time 5.31e-07/0.3844, allocations: 0 / 0.5659 GB, free: 7.008 MB / 378.7 MB Notification: Performance of Templates: time 0.01238/0.3968, allocations: 6.555 MB / 0.5723 GB, free: 0.5156 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe 2>&1)