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.001242/0.001243, allocations: 179.9 kB / 16.38 MB, free: 5.766 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.216/1.216, allocations: 194.5 MB / 211.6 MB, free: 3.039 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.001592/0.001592, allocations: 111.5 kB / 256.9 MB, free: 4.387 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1564/0.1564, allocations: 38 MB / 340.1 MB, free: 1.355 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003479/0.000348, allocations: 12 kB / 403.8 MB, free: 68.8 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07957/0.07994, allocations: 53.23 MB / 457 MB, free: 15.55 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2765/0.3564, allocations: 94.88 MB / 0.539 GB, free: 364 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002065/0.3567, allocations: 90.52 kB / 0.539 GB, free: 316 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03861/0.3953, allocations: 14.5 MB / 0.5532 GB, free: 3.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3953, allocations: 3.938 kB / 0.5532 GB, free: 3.766 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.598e-05/0.3954, allocations: 16 kB / 0.5532 GB, free: 3.75 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.001835/0.3972, allocations: 0.9427 MB / 0.5541 GB, free: 2.801 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.669e-05/0.3973, allocations: 12.02 kB / 0.5541 GB, free: 2.789 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001404/0.3974, allocations: 71.16 kB / 0.5542 GB, free: 2.719 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002717/0.4002, allocations: 1.106 MB / 0.5553 GB, free: 1.758 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001688/0.4004, allocations: 118.7 kB / 0.5554 GB, free: 1.645 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.4005, allocations: 55.69 kB / 0.5555 GB, free: 1.609 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001317/0.4018, allocations: 0.7862 MB / 0.5562 GB, free: 1 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.4018, allocations: 4 kB / 0.5562 GB, free: 0.9961 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.075e-05/0.4019, allocations: 23.06 kB / 0.5563 GB, free: 0.9922 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.395e-05/0.4019, allocations: 12 kB / 0.5563 GB, free: 0.9805 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001273/0.4032, allocations: 0.7472 MB / 0.557 GB, free: 444 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003596/0.4068, allocations: 2.634 MB / 0.5596 GB, free: 14.22 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001482/0.4083, allocations: 0.8297 MB / 0.5604 GB, free: 13.55 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.11e-05/0.4083, allocations: 7.875 kB / 0.5604 GB, free: 13.55 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.4084, allocations: 38.56 kB / 0.5604 GB, free: 13.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=50): time 2.304e-06/0.4084, allocations: 0 / 0.5604 GB, free: 13.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=51): time 0.003683/0.4121, allocations: 2.195 MB / 0.5626 GB, free: 11.62 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/0.4121, allocations: 85.55 kB / 0.5627 GB, free: 11.52 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003446/0.4125, allocations: 347.1 kB / 0.563 GB, free: 11.23 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.491e-05/0.4125, allocations: 32.89 kB / 0.563 GB, free: 11.2 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.4127, allocations: 291.8 kB / 0.5633 GB, free: 10.99 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000126/0.4128, allocations: 178.6 kB / 0.5635 GB, free: 10.84 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.428e-05/0.4128, allocations: 6.938 kB / 0.5635 GB, free: 10.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.413, allocations: 360.2 kB / 0.5638 GB, free: 10.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004994/0.4135, allocations: 288.8 kB / 0.5641 GB, free: 10.29 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005555/0.4141, allocations: 394.4 kB / 0.5645 GB, free: 9.953 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005208/0.4146, allocations: 316.9 kB / 0.5648 GB, free: 9.746 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.4146, allocations: 4 kB / 0.5648 GB, free: 9.742 MB / 378.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001364/0.416, allocations: 0.8959 MB / 0.5656 GB, free: 9.012 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.416, allocations: 4 kB / 0.5656 GB, free: 9.008 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.416, allocations: 8.188 kB / 0.5657 GB, free: 9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002251/0.4162, allocations: 69.17 kB / 0.5657 GB, free: 8.938 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001573/0.4178, allocations: 403.3 kB / 0.5661 GB, free: 8.547 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005051/0.4229, allocations: 6.194 MB / 0.5722 GB, free: 2.133 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004223/0.4233, allocations: 51.8 kB / 0.5722 GB, free: 2.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.835e-05/0.4234, allocations: 27.67 kB / 0.5722 GB, free: 2.07 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.0003162/0.4237, allocations: 231.7 kB / 0.5725 GB, free: 1.883 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.337e-05/0.4238, allocations: 51.38 kB / 0.5725 GB, free: 1.832 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001406/0.4252, allocations: 0.8572 MB / 0.5733 GB, free: 1.164 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.4252, allocations: 4 kB / 0.5733 GB, free: 1.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.4252, allocations: 0 / 0.5733 GB, free: 1.16 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.4253, allocations: 7.984 kB / 0.5733 GB, free: 1.152 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00258/0.4278, allocations: 1.712 MB / 0.575 GB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.4279, allocations: 4 kB / 0.575 GB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001637/0.4295, allocations: 423 kB / 0.5754 GB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002212/0.4297, allocations: 79.83 kB / 0.5755 GB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.048e-05/0.4298, allocations: 14.62 kB / 0.5755 GB, free: 15.22 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001955/0.4318, allocations: 2.867 MB / 0.5783 GB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.4318, allocations: 8.031 kB / 0.5783 GB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002048/0.4338, allocations: 1.433 MB / 0.5797 GB, free: 11.01 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001428/0.434, allocations: 116.5 kB / 0.5798 GB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.517e-05/0.4341, allocations: 20.97 kB / 0.5799 GB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003495/0.4344, allocations: 42.41 kB / 0.5799 GB, free: 10.83 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.4345, allocations: 50.38 kB / 0.5799 GB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.4e-05/0.4346, allocations: 15.31 kB / 0.58 GB, free: 10.77 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002787/0.4349, allocations: 274.4 kB / 0.5802 GB, free: 10.56 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4349, allocations: 0 / 0.5802 GB, free: 10.56 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006423/0.4355, allocations: 150.8 kB / 0.5804 GB, free: 10.43 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.0001931/0.4357, allocations: 134.1 kB / 0.5805 GB, free: 10.29 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0024/0.4381, allocations: 1.15 MB / 0.5816 GB, free: 9.289 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.4381, allocations: 0 / 0.5816 GB, free: 9.289 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001945/0.4401, allocations: 0.8948 MB / 0.5825 GB, free: 8.469 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006516/0.4408, allocations: 131.4 kB / 0.5826 GB, free: 8.371 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00307/0.4438, allocations: 1.875 MB / 0.5844 GB, free: 6.605 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005115/0.4444, allocations: 0.9614 MB / 0.5854 GB, free: 5.645 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004227/0.4448, allocations: 128.7 kB / 0.5855 GB, free: 5.52 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001344/0.4449, allocations: 43.42 kB / 0.5855 GB, free: 5.48 MB / 394.7 MB Notification: Performance of SimCode: time 8.41e-07/0.4449, allocations: 0 / 0.5855 GB, free: 5.48 MB / 394.7 MB Notification: Performance of Templates: time 0.01168/0.4566, allocations: 7.228 MB / 0.5926 GB, free: 14.26 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)