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.001527/0.001527, allocations: 182.3 kB / 15.76 MB, free: 6.34 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.014/2.014, allocations: 205.4 MB / 221.9 MB, free: 13.75 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001113/0.001113, allocations: 102.7 kB / 270.2 MB, free: 13.28 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2517/0.2517, allocations: 38.07 MB / 356.6 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004409/0.0004411, allocations: 12 kB / 422.7 MB, free: 26.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1062, allocations: 56.33 MB / 479 MB, free: 2.047 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4766/0.5829, allocations: 99.95 MB / 0.5654 GB, free: 15.85 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00033/0.5833, allocations: 97.3 kB / 0.5655 GB, free: 15.8 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06338/0.6467, allocations: 14.53 MB / 0.5797 GB, free: 3.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.6467, allocations: 0 / 0.5797 GB, free: 3.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.888e-05/0.6468, allocations: 16 kB / 0.5797 GB, free: 3.215 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.002839/0.6497, allocations: 0.9354 MB / 0.5806 GB, free: 2.273 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.6497, allocations: 12.03 kB / 0.5806 GB, free: 2.262 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002188/0.65, allocations: 75.11 kB / 0.5807 GB, free: 2.188 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004342/0.6543, allocations: 1.113 MB / 0.5818 GB, free: 1.219 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002554/0.6546, allocations: 118.3 kB / 0.5819 GB, free: 1.109 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001591/0.6548, allocations: 55.12 kB / 0.582 GB, free: 1.074 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002171/0.657, allocations: 0.7876 MB / 0.5827 GB, free: 476 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.83e-05/0.657, allocations: 4 kB / 0.5827 GB, free: 472 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.657e-05/0.6571, allocations: 21.62 kB / 0.5828 GB, free: 468 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.141e-05/0.6571, allocations: 15.95 kB / 0.5828 GB, free: 452 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002489/0.6596, allocations: 0.7491 MB / 0.5835 GB, free: 15.89 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006044/0.6657, allocations: 2.621 MB / 0.5861 GB, free: 13.7 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002787/0.6685, allocations: 0.8397 MB / 0.5869 GB, free: 13.02 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.378e-05/0.6686, allocations: 12.48 kB / 0.5869 GB, free: 13 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.96e-05/0.6687, allocations: 38.81 kB / 0.5869 GB, free: 12.96 MB / 394.7 MB Notification: Performance of pre-optimization done (n=50): time 3.015e-06/0.6687, allocations: 0 / 0.5869 GB, free: 12.96 MB / 394.7 MB Notification: Performance of matching and sorting (n=51): time 0.006947/0.6757, allocations: 2.185 MB / 0.5891 GB, free: 11.09 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.692e-05/0.6758, allocations: 97.2 kB / 0.5892 GB, free: 10.98 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006424/0.6765, allocations: 344.6 kB / 0.5895 GB, free: 10.7 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.186e-05/0.6765, allocations: 36.27 kB / 0.5895 GB, free: 10.66 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002397/0.6768, allocations: 324.3 kB / 0.5898 GB, free: 10.4 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002187/0.677, allocations: 179.1 kB / 0.59 GB, free: 10.25 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-05/0.6771, allocations: 10.56 kB / 0.59 GB, free: 10.25 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.6773, allocations: 332.4 kB / 0.5903 GB, free: 9.922 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001011/0.6783, allocations: 290.1 kB / 0.5906 GB, free: 9.719 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001096/0.6794, allocations: 392 kB / 0.591 GB, free: 9.383 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/0.6805, allocations: 316.8 kB / 0.5913 GB, free: 9.172 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.762e-06/0.6805, allocations: 4 kB / 0.5913 GB, free: 9.168 MB / 394.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002603/0.6831, allocations: 0.8647 MB / 0.5921 GB, free: 8.465 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.6832, allocations: 11.94 kB / 0.5921 GB, free: 8.453 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.6832, allocations: 4 kB / 0.5922 GB, free: 8.449 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003868/0.6836, allocations: 72.3 kB / 0.5922 GB, free: 8.387 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003218/0.6868, allocations: 399.3 kB / 0.5926 GB, free: 8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00934/0.6962, allocations: 6.199 MB / 0.5987 GB, free: 1.582 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00082/0.6971, allocations: 50.69 kB / 0.5987 GB, free: 1.539 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-05/0.6972, allocations: 23.92 kB / 0.5987 GB, free: 1.52 MB / 394.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.0005154/0.6977, allocations: 245.2 kB / 0.599 GB, free: 1.324 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/0.6978, allocations: 47.44 kB / 0.599 GB, free: 1.277 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002576/0.7004, allocations: 0.8454 MB / 0.5998 GB, free: 0.6172 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.484e-05/0.7004, allocations: 8 kB / 0.5998 GB, free: 0.6094 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.7005, allocations: 0 / 0.5998 GB, free: 0.6094 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/0.7005, allocations: 3.953 kB / 0.5998 GB, free: 0.6055 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004686/0.7052, allocations: 1.716 MB / 0.6015 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/0.7052, allocations: 4 kB / 0.6015 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003542/0.7088, allocations: 423.7 kB / 0.6019 GB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004026/0.7092, allocations: 78.28 kB / 0.602 GB, free: 14.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.238e-05/0.7093, allocations: 14.61 kB / 0.602 GB, free: 14.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003028/0.7123, allocations: 2.881 MB / 0.6048 GB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.7124, allocations: 0 / 0.6048 GB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003835/0.7162, allocations: 1.426 MB / 0.6062 GB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001906/0.7164, allocations: 127.8 kB / 0.6063 GB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/0.7166, allocations: 14.86 kB / 0.6064 GB, free: 10.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006363/0.7172, allocations: 45.95 kB / 0.6064 GB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001887/0.7174, allocations: 50.39 kB / 0.6065 GB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-05/0.7175, allocations: 22.98 kB / 0.6065 GB, free: 10.21 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004789/0.718, allocations: 275.4 kB / 0.6067 GB, free: 9.996 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.545e-06/0.718, allocations: 0 / 0.6067 GB, free: 9.996 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000933/0.7189, allocations: 158.6 kB / 0.6069 GB, free: 9.859 MB / 410.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.0002547/0.7192, allocations: 121.9 kB / 0.607 GB, free: 9.734 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004616/0.7238, allocations: 1.141 MB / 0.6081 GB, free: 8.742 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.7239, allocations: 0 / 0.6081 GB, free: 8.742 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003718/0.7276, allocations: 0.8775 MB / 0.609 GB, free: 7.941 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.7286, allocations: 122 kB / 0.6091 GB, free: 7.855 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005272/0.7339, allocations: 1.945 MB / 0.611 GB, free: 6.023 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007414/0.7347, allocations: 0.948 MB / 0.6119 GB, free: 5.074 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003128/0.735, allocations: 51.3 kB / 0.612 GB, free: 5.027 MB / 410.7 MB Notification: Performance of SimCode: time 9.42e-07/0.7351, allocations: 4 kB / 0.612 GB, free: 5.023 MB / 410.7 MB Notification: Performance of Templates: time 0.03001/0.7651, allocations: 16.02 MB / 0.6276 GB, free: 5.074 MB / 426.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)