Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001429/0.001429, allocations: 185.7 kB / 8.013 MB, free: 1.062 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.071/2.071, allocations: 205.3 MB / 213.7 MB, free: 1.727 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001096/0.001096, allocations: 90.64 kB / 261.8 MB, free: 1.668 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2821/0.2821, allocations: 38 MB / 347.7 MB, free: 5.754 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.175e-05/2.188e-05, allocations: 4 kB / 409.9 MB, free: 35.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1077, allocations: 56.33 MB / 466.2 MB, free: 10.82 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5146/0.6224, allocations: 99.2 MB / 0.5521 GB, free: 9.766 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003531/0.6228, allocations: 92.55 kB / 0.5522 GB, free: 9.754 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07529/0.6981, allocations: 14.38 MB / 0.5663 GB, free: 15.95 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.6982, allocations: 4 kB / 0.5663 GB, free: 15.95 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.89e-05/0.6982, allocations: 16.75 kB / 0.5663 GB, free: 15.93 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.002771/0.701, allocations: 0.8655 MB / 0.5671 GB, free: 15.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/0.7011, allocations: 12.03 kB / 0.5671 GB, free: 15.05 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003433/0.7014, allocations: 75.11 kB / 0.5672 GB, free: 14.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004699/0.7061, allocations: 1.089 MB / 0.5683 GB, free: 14.05 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002483/0.7064, allocations: 100.2 kB / 0.5684 GB, free: 13.95 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001583/0.7066, allocations: 35.98 kB / 0.5684 GB, free: 13.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001614/0.7082, allocations: 0.5919 MB / 0.569 GB, free: 13.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001546/0.7098, allocations: 0.6523 MB / 0.5696 GB, free: 13 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.732e-05/0.7098, allocations: 4 kB / 0.5696 GB, free: 13 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.872e-05/0.7099, allocations: 7.891 kB / 0.5696 GB, free: 12.99 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.05e-05/0.71, allocations: 12 kB / 0.5696 GB, free: 12.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005966/0.7159, allocations: 2.505 MB / 0.5721 GB, free: 10.89 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001883/0.7179, allocations: 0.7 MB / 0.5728 GB, free: 10.35 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007076/0.7186, allocations: 339.9 kB / 0.5731 GB, free: 10.12 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.215e-05/0.7187, allocations: 4.438 kB / 0.5731 GB, free: 10.12 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.518e-05/0.7187, allocations: 45.69 kB / 0.5731 GB, free: 10.07 MB / 378.7 MB Notification: Performance of pre-optimization done (n=50): time 3.577e-06/0.7187, allocations: 4 kB / 0.5732 GB, free: 10.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=51): time 0.003495/0.7223, allocations: 1.414 MB / 0.5745 GB, free: 8.848 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.337e-05/0.7224, allocations: 85.55 kB / 0.5746 GB, free: 8.746 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004887/0.7229, allocations: 296.5 kB / 0.5749 GB, free: 8.508 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.124e-05/0.7229, allocations: 29.73 kB / 0.5749 GB, free: 8.473 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002348/0.7232, allocations: 331.6 kB / 0.5752 GB, free: 8.199 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002102/0.7234, allocations: 165.6 kB / 0.5754 GB, free: 8.055 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.768e-05/0.7235, allocations: 0 / 0.5754 GB, free: 8.055 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.7236, allocations: 341.3 kB / 0.5757 GB, free: 7.723 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000515/0.7242, allocations: 216.2 kB / 0.5759 GB, free: 7.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006158/0.7248, allocations: 325.2 kB / 0.5762 GB, free: 7.316 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006056/0.7254, allocations: 255 kB / 0.5765 GB, free: 7.156 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.952e-06/0.7254, allocations: 4 kB / 0.5765 GB, free: 7.152 MB / 378.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001681/0.7271, allocations: 0.7037 MB / 0.5772 GB, free: 6.574 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.591e-05/0.7272, allocations: 8 kB / 0.5772 GB, free: 6.566 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.7272, allocations: 4 kB / 0.5772 GB, free: 6.562 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003764/0.7276, allocations: 75.98 kB / 0.5773 GB, free: 6.492 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003222/0.7308, allocations: 390.8 kB / 0.5776 GB, free: 6.113 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006972/0.7378, allocations: 5.673 MB / 0.5832 GB, free: 260 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008354/0.7387, allocations: 40.11 kB / 0.5832 GB, free: 220 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-05/0.7388, allocations: 18.69 kB / 0.5832 GB, free: 204 kB / 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.0002267/0.739, allocations: 120.1 kB / 0.5833 GB, free: 80 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.7392, allocations: 43.44 kB / 0.5834 GB, free: 36 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001858/0.741, allocations: 0.704 MB / 0.5841 GB, free: 15.51 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/0.7411, allocations: 8 kB / 0.5841 GB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.7411, allocations: 0 / 0.5841 GB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/0.7411, allocations: 3.984 kB / 0.5841 GB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003635/0.7447, allocations: 1.491 MB / 0.5855 GB, free: 14.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/0.7448, allocations: 4 kB / 0.5855 GB, free: 14.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003598/0.7484, allocations: 423.2 kB / 0.5859 GB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004026/0.7488, allocations: 79.77 kB / 0.586 GB, free: 13.77 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.514e-05/0.7489, allocations: 8 kB / 0.586 GB, free: 13.76 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002981/0.7519, allocations: 2.753 MB / 0.5887 GB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.606e-06/0.7519, allocations: 11.91 kB / 0.5887 GB, free: 10.89 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002494/0.7545, allocations: 1.228 MB / 0.5899 GB, free: 9.855 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001843/0.7547, allocations: 112.5 kB / 0.59 GB, free: 9.727 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/0.7548, allocations: 8.031 kB / 0.59 GB, free: 9.719 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006489/0.7554, allocations: 35.92 kB / 0.5901 GB, free: 9.684 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001792/0.7556, allocations: 50.23 kB / 0.5901 GB, free: 9.641 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.457e-05/0.7557, allocations: 18.38 kB / 0.5901 GB, free: 9.629 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003661/0.7561, allocations: 230.1 kB / 0.5904 GB, free: 9.449 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.7561, allocations: 0 / 0.5904 GB, free: 9.449 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000999/0.7571, allocations: 140 kB / 0.5905 GB, free: 9.312 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 () * 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.0002792/0.7574, allocations: 118.6 kB / 0.5906 GB, free: 9.191 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003625/0.761, allocations: 0.9895 MB / 0.5916 GB, free: 8.352 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.7611, allocations: 0 / 0.5916 GB, free: 8.352 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00323/0.7643, allocations: 0.8053 MB / 0.5924 GB, free: 7.629 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001084/0.7654, allocations: 98.33 kB / 0.5925 GB, free: 7.551 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004442/0.7699, allocations: 1.304 MB / 0.5937 GB, free: 6.355 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007865/0.7707, allocations: 0.9513 MB / 0.5947 GB, free: 5.406 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000325/0.7711, allocations: 39.44 kB / 0.5947 GB, free: 5.371 MB / 394.7 MB Notification: Performance of SimCode: time 1.002e-06/0.7711, allocations: 0 / 0.5947 GB, free: 5.371 MB / 394.7 MB Notification: Performance of Templates: time 0.0305/0.8016, allocations: 15.64 MB / 0.61 GB, free: 5.805 MB / 410.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe 2>&1)