Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.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.AC1ph_DC.Inverters.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.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.001041/0.001041, allocations: 191.8 kB / 8.139 MB, free: 2.203 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.318/1.318, allocations: 194.2 MB / 202.8 MB, free: 8.75 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.001677/0.001677, allocations: 122.3 kB / 247.8 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.1687/0.1687, allocations: 37.92 MB / 330.6 MB, free: 6.918 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.943e-06/6.973e-06, allocations: 0 / 389.8 MB, free: 78.09 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08671/0.08674, allocations: 53.23 MB / 443 MB, free: 24.96 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2829/0.3697, allocations: 94.1 MB / 0.5245 GB, free: 9.535 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002982/0.37, allocations: 86.02 kB / 0.5246 GB, free: 9.523 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.03908/0.4091, allocations: 14.09 MB / 0.5384 GB, free: 1.156 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.862e-05/0.4092, allocations: 19.52 kB / 0.5384 GB, free: 1.141 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.001879/0.4111, allocations: 0.869 MB / 0.5392 GB, free: 268 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.4112, allocations: 8.031 kB / 0.5393 GB, free: 260 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002507/0.4114, allocations: 71.16 kB / 0.5393 GB, free: 188 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003243/0.4147, allocations: 1.103 MB / 0.5404 GB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001672/0.4149, allocations: 104.6 kB / 0.5405 GB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/0.415, allocations: 31.98 kB / 0.5405 GB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001104/0.4161, allocations: 0.6103 MB / 0.5411 GB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/0.4172, allocations: 0.6746 MB / 0.5418 GB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/0.4172, allocations: 0 / 0.5418 GB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.774e-05/0.4173, allocations: 4 kB / 0.5418 GB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.509e-05/0.4173, allocations: 16 kB / 0.5418 GB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004005/0.4213, allocations: 2.515 MB / 0.5443 GB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005031/0.4218, allocations: 351.3 kB / 0.5446 GB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004671/0.4223, allocations: 353.3 kB / 0.5449 GB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.702e-05/0.4223, allocations: 4.438 kB / 0.5449 GB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.786e-05/0.4224, allocations: 46.47 kB / 0.545 GB, free: 11.5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=50): time 3.236e-06/0.4224, allocations: 0 / 0.545 GB, free: 11.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=51): time 0.002603/0.425, allocations: 1.459 MB / 0.5464 GB, free: 10.24 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.466e-05/0.4251, allocations: 85.55 kB / 0.5465 GB, free: 10.14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003769/0.4255, allocations: 300.7 kB / 0.5468 GB, free: 9.891 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.935e-05/0.4255, allocations: 25.7 kB / 0.5468 GB, free: 9.859 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.4257, allocations: 242.3 kB / 0.547 GB, free: 9.641 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001415/0.4258, allocations: 171.7 kB / 0.5472 GB, free: 9.492 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.831e-05/0.4258, allocations: 0 / 0.5472 GB, free: 9.492 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.426, allocations: 364.7 kB / 0.5475 GB, free: 9.145 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003518/0.4264, allocations: 235.2 kB / 0.5478 GB, free: 8.992 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003895/0.4268, allocations: 329.9 kB / 0.5481 GB, free: 8.719 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004255/0.4272, allocations: 264.3 kB / 0.5483 GB, free: 8.543 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.4272, allocations: 0 / 0.5483 GB, free: 8.543 MB / 362.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001121/0.4283, allocations: 0.7629 MB / 0.5491 GB, free: 7.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.4284, allocations: 4 kB / 0.5491 GB, free: 7.906 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.4284, allocations: 4 kB / 0.5491 GB, free: 7.902 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002802/0.4287, allocations: 74.3 kB / 0.5492 GB, free: 7.836 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001771/0.4304, allocations: 431.2 kB / 0.5496 GB, free: 7.418 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004918/0.4354, allocations: 5.694 MB / 0.5551 GB, free: 1.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005965/0.436, allocations: 36.06 kB / 0.5552 GB, free: 1.465 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-05/0.4361, allocations: 23.86 kB / 0.5552 GB, free: 1.445 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (65): * Single equations (assignments): 61 * 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.0001892/0.4363, allocations: 116.8 kB / 0.5553 GB, free: 1.324 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.4364, allocations: 43.44 kB / 0.5553 GB, free: 1.281 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001191/0.4376, allocations: 0.7155 MB / 0.556 GB, free: 0.7109 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/0.4376, allocations: 11.91 kB / 0.556 GB, free: 0.6992 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.4376, allocations: 0 / 0.556 GB, free: 0.6992 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.4377, allocations: 0 / 0.556 GB, free: 0.6992 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002478/0.4401, allocations: 1.515 MB / 0.5575 GB, free: 15.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.4402, allocations: 0 / 0.5575 GB, free: 15.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00195/0.4421, allocations: 463.4 kB / 0.558 GB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000261/0.4424, allocations: 77.31 kB / 0.558 GB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.622e-05/0.4425, allocations: 11.98 kB / 0.5581 GB, free: 14.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002056/0.4445, allocations: 2.728 MB / 0.5607 GB, free: 12.06 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.653e-06/0.4445, allocations: 3.938 kB / 0.5607 GB, free: 12.06 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001613/0.4462, allocations: 1.27 MB / 0.562 GB, free: 10.97 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001683/0.4464, allocations: 120.5 kB / 0.5621 GB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.4465, allocations: 11.25 kB / 0.5621 GB, free: 10.83 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000423/0.4469, allocations: 35.97 kB / 0.5621 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/0.447, allocations: 39.22 kB / 0.5622 GB, free: 10.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-05/0.4471, allocations: 15.19 kB / 0.5622 GB, free: 10.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0002668/0.4473, allocations: 238.4 kB / 0.5624 GB, free: 10.56 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007809/0.4481, allocations: 135.9 kB / 0.5625 GB, free: 10.43 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (51): * Single equations (assignments): 48 * 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.0002358/0.4484, allocations: 121.8 kB / 0.5626 GB, free: 10.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002819/0.4512, allocations: 1.176 MB / 0.5638 GB, free: 9.277 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4512, allocations: 4 kB / 0.5638 GB, free: 9.273 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00251/0.4537, allocations: 0.9981 MB / 0.5648 GB, free: 8.352 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006422/0.4544, allocations: 103 kB / 0.5649 GB, free: 8.277 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003108/0.4575, allocations: 1.261 MB / 0.5661 GB, free: 7.105 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008778/0.4584, allocations: 0.9978 MB / 0.5671 GB, free: 6.105 MB / 378.7 MB Notification: Performance of SimCode: time 1.021e-06/0.4584, allocations: 0 / 0.5671 GB, free: 6.105 MB / 378.7 MB Notification: Performance of Templates: time 0.01383/0.4723, allocations: 7.003 MB / 0.5739 GB, free: 15.17 MB / 394.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe 2>&1)