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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001604/0.001604, allocations: 179.4 kB / 17.4 MB, free: 4.418 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.583/1.583, allocations: 194.5 MB / 212.6 MB, free: 2.957 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.001746/0.001746, allocations: 120.2 kB / 257.9 MB, free: 4.281 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1685/0.1685, allocations: 38.01 MB / 341.1 MB, free: 1.211 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004871/0.0004876, allocations: 12 kB / 405 MB, free: 68.5 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1142, allocations: 53.24 MB / 458.3 MB, free: 15.25 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3622/0.4764, allocations: 94.91 MB / 0.5402 GB, free: 16 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002977/0.4768, allocations: 101.2 kB / 0.5403 GB, free: 15.96 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04136/0.5182, allocations: 14.47 MB / 0.5544 GB, free: 3.434 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.5182, allocations: 0 / 0.5544 GB, free: 3.434 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.301e-05/0.5183, allocations: 16.16 kB / 0.5545 GB, free: 3.418 MB / 362.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.002328/0.5206, allocations: 0.9365 MB / 0.5554 GB, free: 2.473 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.5207, allocations: 8.031 kB / 0.5554 GB, free: 2.465 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003112/0.521, allocations: 72.09 kB / 0.5554 GB, free: 2.395 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001777/0.5228, allocations: 0.7719 MB / 0.5562 GB, free: 1.707 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001897/0.523, allocations: 124.5 kB / 0.5563 GB, free: 1.598 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001597/0.5232, allocations: 53.19 kB / 0.5564 GB, free: 1.562 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001495/0.5247, allocations: 0.8002 MB / 0.5571 GB, free: 0.9375 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/0.5247, allocations: 0 / 0.5571 GB, free: 0.9375 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.176e-05/0.5248, allocations: 23.31 kB / 0.5572 GB, free: 0.9297 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.621e-05/0.5248, allocations: 16 kB / 0.5572 GB, free: 0.9141 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001456/0.5263, allocations: 0.7479 MB / 0.5579 GB, free: 376 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004284/0.5306, allocations: 2.62 MB / 0.5605 GB, free: 14.17 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001517/0.5321, allocations: 0.8262 MB / 0.5613 GB, free: 13.5 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006722/0.5328, allocations: 419 kB / 0.5617 GB, free: 13.2 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.672e-05/0.5328, allocations: 4.438 kB / 0.5617 GB, free: 13.2 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.691e-05/0.5329, allocations: 42.56 kB / 0.5617 GB, free: 13.15 MB / 378.7 MB Notification: Performance of pre-optimization done (n=50): time 2.114e-06/0.5329, allocations: 3.938 kB / 0.5617 GB, free: 13.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=51): time 0.004299/0.5372, allocations: 2.186 MB / 0.5639 GB, free: 11.28 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.017e-05/0.5373, allocations: 89.42 kB / 0.5639 GB, free: 11.17 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004943/0.5378, allocations: 393.9 kB / 0.5643 GB, free: 10.86 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.551e-05/0.5379, allocations: 37.61 kB / 0.5644 GB, free: 10.82 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001866/0.538, allocations: 289.1 kB / 0.5646 GB, free: 10.61 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001539/0.5382, allocations: 180.4 kB / 0.5648 GB, free: 10.45 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.405e-05/0.5382, allocations: 7.375 kB / 0.5648 GB, free: 10.45 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001885/0.5384, allocations: 361 kB / 0.5652 GB, free: 10.11 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005486/0.539, allocations: 288.5 kB / 0.5654 GB, free: 9.906 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006002/0.5396, allocations: 391.8 kB / 0.5658 GB, free: 9.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001169/0.5408, allocations: 0.6769 MB / 0.5665 GB, free: 9.047 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.5408, allocations: 4 kB / 0.5665 GB, free: 9.043 MB / 378.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001528/0.5423, allocations: 0.891 MB / 0.5673 GB, free: 8.316 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.5424, allocations: 4 kB / 0.5673 GB, free: 8.312 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.5424, allocations: 4 kB / 0.5674 GB, free: 8.309 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002795/0.5427, allocations: 73.22 kB / 0.5674 GB, free: 8.242 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001441/0.5441, allocations: 399.6 kB / 0.5678 GB, free: 7.855 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006438/0.5506, allocations: 6.133 MB / 0.5738 GB, free: 1.492 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007535/0.5514, allocations: 49.25 kB / 0.5738 GB, free: 1.453 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001106/0.5515, allocations: 27.25 kB / 0.5739 GB, free: 1.43 MB / 378.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 () * Number of clocked 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.000559/0.5521, allocations: 238.5 kB / 0.5741 GB, free: 1.238 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001467/0.5523, allocations: 51.44 kB / 0.5741 GB, free: 1.188 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001616/0.5539, allocations: 0.8497 MB / 0.575 GB, free: 0.5156 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.5539, allocations: 8 kB / 0.575 GB, free: 0.5078 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.5539, allocations: 4 kB / 0.575 GB, free: 0.5039 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.5539, allocations: 0 / 0.575 GB, free: 0.5039 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002889/0.5568, allocations: 1.721 MB / 0.5767 GB, free: 15.06 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.5568, allocations: 3.938 kB / 0.5767 GB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001605/0.5585, allocations: 427.4 kB / 0.5771 GB, free: 14.64 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002361/0.5587, allocations: 77.03 kB / 0.5771 GB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.254e-05/0.5588, allocations: 21.05 kB / 0.5772 GB, free: 14.55 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002145/0.5609, allocations: 2.856 MB / 0.58 GB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.694e-06/0.5609, allocations: 11.95 kB / 0.58 GB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002092/0.563, allocations: 1.346 MB / 0.5813 GB, free: 10.47 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001563/0.5632, allocations: 119.5 kB / 0.5814 GB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.485e-05/0.5633, allocations: 19.16 kB / 0.5814 GB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003271/0.5636, allocations: 38.16 kB / 0.5815 GB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.5637, allocations: 50.67 kB / 0.5815 GB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-05/0.5638, allocations: 15.38 kB / 0.5815 GB, free: 10.24 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003275/0.5641, allocations: 278.7 kB / 0.5818 GB, free: 10.02 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5641, allocations: 3.938 kB / 0.5818 GB, free: 10.02 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006913/0.5648, allocations: 149.4 kB / 0.5819 GB, free: 9.887 MB / 394.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 () * Number of clocked 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.0002103/0.565, allocations: 130 kB / 0.582 GB, free: 9.758 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002571/0.5676, allocations: 1.189 MB / 0.5832 GB, free: 8.723 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.5676, allocations: 0 / 0.5832 GB, free: 8.723 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00191/0.5696, allocations: 0.8874 MB / 0.5841 GB, free: 7.91 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008244/0.5704, allocations: 129.3 kB / 0.5842 GB, free: 7.816 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003441/0.5738, allocations: 1.882 MB / 0.586 GB, free: 6.055 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006427/0.5745, allocations: 0.9366 MB / 0.587 GB, free: 5.117 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004594/0.575, allocations: 132.7 kB / 0.5871 GB, free: 4.984 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/0.5751, allocations: 39.44 kB / 0.5871 GB, free: 4.945 MB / 394.7 MB Notification: Performance of SimCode: time 3.888e-06/0.5751, allocations: 0 / 0.5871 GB, free: 4.945 MB / 394.7 MB Notification: Performance of Templates: time 0.01537/0.5905, allocations: 7.325 MB / 0.5943 GB, free: 13.63 MB / 410.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)