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.001008/0.001008, allocations: 181.9 kB / 13.64 MB, free: 1.676 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.593/1.593, allocations: 194.3 MB / 208.4 MB, free: 6.707 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.001566/0.001566, allocations: 116.7 kB / 253.5 MB, free: 9.574 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1707/0.1707, allocations: 37.92 MB / 336.4 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.745e-05/3.755e-05, allocations: 0 / 397.5 MB, free: 1.031 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.264/0.2641, allocations: 53.21 MB / 450.8 MB, free: 13.47 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3753/0.6394, allocations: 94.79 MB / 0.5328 GB, free: 31.79 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003227/0.6398, allocations: 94.02 kB / 0.5328 GB, free: 31.78 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04115/0.681, allocations: 14.51 MB / 0.547 GB, free: 30.01 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.681, allocations: 3.938 kB / 0.547 GB, free: 30 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.995e-05/0.6811, allocations: 16.34 kB / 0.547 GB, free: 30 MB / 378.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.002177/0.6833, allocations: 0.8645 MB / 0.5479 GB, free: 29.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.11e-05/0.6834, allocations: 9.312 kB / 0.5479 GB, free: 29.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000194/0.6836, allocations: 71.19 kB / 0.548 GB, free: 29.44 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002868/0.6864, allocations: 1.092 MB / 0.549 GB, free: 29.13 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001689/0.6866, allocations: 120.7 kB / 0.5491 GB, free: 29.07 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/0.6868, allocations: 55.09 kB / 0.5492 GB, free: 29.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.6878, allocations: 0.7332 MB / 0.5499 GB, free: 28.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.6878, allocations: 3.938 kB / 0.5499 GB, free: 28.91 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.759e-05/0.6879, allocations: 30.97 kB / 0.5499 GB, free: 28.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.859e-06/0.6879, allocations: 11.75 kB / 0.5499 GB, free: 28.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008253/0.6888, allocations: 0.6272 MB / 0.5506 GB, free: 28.89 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003214/0.692, allocations: 2.629 MB / 0.5531 GB, free: 27.82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009939/0.693, allocations: 0.7134 MB / 0.5538 GB, free: 27.66 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003955/0.6934, allocations: 361.7 kB / 0.5542 GB, free: 27.64 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.605e-05/0.6934, allocations: 4.344 kB / 0.5542 GB, free: 27.64 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.6935, allocations: 38.84 kB / 0.5542 GB, free: 27.6 MB / 378.7 MB Notification: Performance of pre-optimization done (n=50): time 3.065e-06/0.6935, allocations: 3.938 kB / 0.5542 GB, free: 27.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=51): time 0.002222/0.6957, allocations: 1.515 MB / 0.5557 GB, free: 27.03 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.6958, allocations: 85.39 kB / 0.5558 GB, free: 26.94 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003298/0.6961, allocations: 349.5 kB / 0.5561 GB, free: 26.83 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.373e-05/0.6962, allocations: 32.83 kB / 0.5561 GB, free: 26.8 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/0.6963, allocations: 293.1 kB / 0.5564 GB, free: 26.64 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.6964, allocations: 171.7 kB / 0.5566 GB, free: 26.53 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.545e-05/0.6965, allocations: 15.38 kB / 0.5566 GB, free: 26.53 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.413e-05/0.6966, allocations: 356.2 kB / 0.5569 GB, free: 26.21 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003019/0.6969, allocations: 238.5 kB / 0.5572 GB, free: 26.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000324/0.6972, allocations: 333.1 kB / 0.5575 GB, free: 26.1 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003451/0.6976, allocations: 268.1 kB / 0.5577 GB, free: 26.08 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.6976, allocations: 3.906 kB / 0.5577 GB, free: 26.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009761/0.6986, allocations: 0.785 MB / 0.5585 GB, free: 25.88 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/0.6986, allocations: 7.781 kB / 0.5585 GB, free: 25.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.6986, allocations: 3.969 kB / 0.5585 GB, free: 25.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002373/0.6989, allocations: 73.41 kB / 0.5586 GB, free: 25.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001606/0.7005, allocations: 397.5 kB / 0.559 GB, free: 25.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003577/0.7041, allocations: 5.87 MB / 0.5647 GB, free: 20.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005002/0.7046, allocations: 52.44 kB / 0.5648 GB, free: 20.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-05/0.7046, allocations: 19.16 kB / 0.5648 GB, free: 20.57 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 () * 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.0001367/0.7048, allocations: 138.6 kB / 0.5649 GB, free: 20.45 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.118e-05/0.7049, allocations: 54.47 kB / 0.565 GB, free: 20.42 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001055/0.7059, allocations: 0.741 MB / 0.5657 GB, free: 20.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.7059, allocations: 11.75 kB / 0.5657 GB, free: 20.24 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.706, allocations: 0 / 0.5657 GB, free: 20.24 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.706, allocations: 3.188 kB / 0.5657 GB, free: 20.24 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002191/0.7082, allocations: 1.6 MB / 0.5673 GB, free: 19.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.892e-06/0.7082, allocations: 3.906 kB / 0.5673 GB, free: 19.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001642/0.7098, allocations: 431.5 kB / 0.5677 GB, free: 19.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00021/0.7101, allocations: 82.19 kB / 0.5677 GB, free: 19.7 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.142e-05/0.7101, allocations: 18.64 kB / 0.5678 GB, free: 19.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001516/0.7116, allocations: 2.855 MB / 0.5706 GB, free: 17.08 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.7117, allocations: 0 / 0.5706 GB, free: 17.08 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001281/0.7129, allocations: 1.265 MB / 0.5718 GB, free: 16.61 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.7131, allocations: 123.7 kB / 0.5719 GB, free: 16.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.291e-05/0.7131, allocations: 11.22 kB / 0.5719 GB, free: 16.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003469/0.7135, allocations: 41.62 kB / 0.572 GB, free: 16.49 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.7136, allocations: 56.97 kB / 0.572 GB, free: 16.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.482e-05/0.7137, allocations: 15.34 kB / 0.572 GB, free: 16.48 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002733/0.7139, allocations: 274.7 kB / 0.5723 GB, free: 16.4 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.7139, allocations: 0 / 0.5723 GB, free: 16.4 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006638/0.7146, allocations: 153.6 kB / 0.5724 GB, free: 16.4 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.0002289/0.7149, allocations: 133.4 kB / 0.5726 GB, free: 16.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002191/0.7171, allocations: 1.027 MB / 0.5736 GB, free: 16.05 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.7171, allocations: 0 / 0.5736 GB, free: 16.05 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001734/0.7188, allocations: 0.8374 MB / 0.5744 GB, free: 15.79 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006587/0.7195, allocations: 127.3 kB / 0.5745 GB, free: 15.77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002413/0.7219, allocations: 1.29 MB / 0.5758 GB, free: 15.29 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003847/0.7223, allocations: 0.9586 MB / 0.5767 GB, free: 14.57 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004074/0.7227, allocations: 129.2 kB / 0.5768 GB, free: 14.55 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001313/0.7229, allocations: 42.48 kB / 0.5769 GB, free: 14.54 MB / 378.7 MB Notification: Performance of SimCode: time 6.91e-07/0.7229, allocations: 0 / 0.5769 GB, free: 14.54 MB / 378.7 MB Notification: Performance of Templates: time 0.01199/0.7349, allocations: 7.29 MB / 0.584 GB, free: 13.76 MB / 378.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)