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.001512/0.001512, allocations: 184.6 kB / 13.19 MB, free: 2.125 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.038/2.038, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.00109/0.00109, allocations: 100 kB / 267.1 MB, free: 9.289 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.2637/0.2637, allocations: 37.97 MB / 353.1 MB, free: 3.066 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.488e-05/4.507e-05, allocations: 4 kB / 416.8 MB, free: 41.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1383, allocations: 56.32 MB / 473.1 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5206/0.659, allocations: 99.87 MB / 0.5596 GB, free: 3.863 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003313/0.6594, allocations: 87.95 kB / 0.5596 GB, free: 3.777 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06596/0.7254, allocations: 14.52 MB / 0.5738 GB, free: 5.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.7254, allocations: 0 / 0.5738 GB, free: 5.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.215e-05/0.7255, allocations: 16 kB / 0.5738 GB, free: 5.055 MB / 410.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.002701/0.7282, allocations: 0.868 MB / 0.5747 GB, free: 4.141 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/0.7283, allocations: 12.03 kB / 0.5747 GB, free: 4.129 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003236/0.7286, allocations: 75.11 kB / 0.5748 GB, free: 4.055 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00472/0.7333, allocations: 1.093 MB / 0.5758 GB, free: 2.918 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002807/0.7337, allocations: 116.7 kB / 0.576 GB, free: 2.793 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002127/0.7339, allocations: 59.98 kB / 0.576 GB, free: 2.734 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001874/0.7358, allocations: 0.7283 MB / 0.5767 GB, free: 1.965 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/0.7358, allocations: 0 / 0.5767 GB, free: 1.965 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.537e-05/0.7359, allocations: 20 kB / 0.5767 GB, free: 1.945 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.506e-05/0.736, allocations: 19.95 kB / 0.5768 GB, free: 1.926 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00179/0.7378, allocations: 0.6363 MB / 0.5774 GB, free: 1.289 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007862/0.7457, allocations: 2.616 MB / 0.5799 GB, free: 14.57 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00273/0.7484, allocations: 0.7268 MB / 0.5806 GB, free: 13.8 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001204/0.7497, allocations: 359.5 kB / 0.581 GB, free: 13.45 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.112e-05/0.7498, allocations: 8.438 kB / 0.581 GB, free: 13.44 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.894e-05/0.7498, allocations: 39 kB / 0.581 GB, free: 13.39 MB / 426.7 MB Notification: Performance of pre-optimization done (n=50): time 5.29e-06/0.7499, allocations: 0 / 0.581 GB, free: 13.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=51): time 0.005964/0.7558, allocations: 1.509 MB / 0.5825 GB, free: 11.8 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.776e-05/0.756, allocations: 85.55 kB / 0.5826 GB, free: 11.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009181/0.7569, allocations: 355 kB / 0.5829 GB, free: 11.35 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001045/0.757, allocations: 37.7 kB / 0.583 GB, free: 11.3 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003469/0.7574, allocations: 326.9 kB / 0.5833 GB, free: 10.98 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003057/0.7577, allocations: 169.5 kB / 0.5834 GB, free: 10.82 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.222e-05/0.7578, allocations: 12 kB / 0.5834 GB, free: 10.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002012/0.758, allocations: 326.8 kB / 0.5838 GB, free: 10.48 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008982/0.7589, allocations: 237 kB / 0.584 GB, free: 10.25 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001007/0.76, allocations: 333.2 kB / 0.5843 GB, free: 9.879 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009561/0.7609, allocations: 263.2 kB / 0.5846 GB, free: 9.625 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.761, allocations: 3.938 kB / 0.5846 GB, free: 9.621 MB / 426.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002657/0.7636, allocations: 0.7589 MB / 0.5853 GB, free: 8.832 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.109e-05/0.7637, allocations: 8 kB / 0.5853 GB, free: 8.824 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.233e-05/0.7637, allocations: 8.328 kB / 0.5853 GB, free: 8.816 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005048/0.7642, allocations: 69.67 kB / 0.5854 GB, free: 8.742 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004398/0.7687, allocations: 395.5 kB / 0.5858 GB, free: 8.355 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0102/0.7789, allocations: 5.896 MB / 0.5915 GB, free: 1.934 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001119/0.7801, allocations: 44.09 kB / 0.5916 GB, free: 1.891 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-05/0.7802, allocations: 23.98 kB / 0.5916 GB, free: 1.867 MB / 426.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.0003005/0.7805, allocations: 141.9 kB / 0.5917 GB, free: 1.723 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000196/0.7807, allocations: 47.44 kB / 0.5918 GB, free: 1.676 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002671/0.7834, allocations: 0.7343 MB / 0.5925 GB, free: 0.9102 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.91e-05/0.7835, allocations: 15.95 kB / 0.5925 GB, free: 0.8945 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/0.7835, allocations: 0 / 0.5925 GB, free: 0.8945 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/0.7835, allocations: 3.938 kB / 0.5925 GB, free: 0.8906 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005753/0.7893, allocations: 1.606 MB / 0.5941 GB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.345e-06/0.7893, allocations: 0 / 0.5941 GB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005697/0.795, allocations: 427.7 kB / 0.5945 GB, free: 14.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005754/0.7957, allocations: 77.59 kB / 0.5946 GB, free: 14.68 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001236/0.7958, allocations: 15.98 kB / 0.5946 GB, free: 14.67 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004145/0.8, allocations: 2.856 MB / 0.5974 GB, free: 11.54 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.8, allocations: 224 / 0.5974 GB, free: 11.54 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00395/0.804, allocations: 1.269 MB / 0.5986 GB, free: 10.16 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002493/0.8043, allocations: 120.5 kB / 0.5987 GB, free: 10.03 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001748/0.8045, allocations: 16 kB / 0.5987 GB, free: 10.01 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009722/0.8055, allocations: 43.95 kB / 0.5988 GB, free: 9.969 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002612/0.8058, allocations: 47.83 kB / 0.5988 GB, free: 9.922 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.328e-05/0.8059, allocations: 23.98 kB / 0.5988 GB, free: 9.898 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006786/0.8066, allocations: 269.2 kB / 0.5991 GB, free: 9.641 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.8066, allocations: 4 kB / 0.5991 GB, free: 9.637 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00155/0.8081, allocations: 155.9 kB / 0.5992 GB, free: 9.484 MB / 442.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.0003657/0.8085, allocations: 127.2 kB / 0.5994 GB, free: 9.352 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005286/0.8138, allocations: 1.035 MB / 0.6004 GB, free: 8.293 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.8139, allocations: 0 / 0.6004 GB, free: 8.293 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004576/0.8185, allocations: 0.8176 MB / 0.6012 GB, free: 7.449 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001151/0.8197, allocations: 125.4 kB / 0.6013 GB, free: 7.324 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00472/0.8244, allocations: 1.342 MB / 0.6026 GB, free: 5.926 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007906/0.8252, allocations: 0.9526 MB / 0.6035 GB, free: 4.945 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003419/0.8256, allocations: 47.44 kB / 0.6036 GB, free: 4.898 MB / 442.7 MB Notification: Performance of SimCode: time 1.332e-06/0.8256, allocations: 0 / 0.6036 GB, free: 4.898 MB / 442.7 MB Notification: Performance of Templates: time 0.0312/0.8568, allocations: 16.04 MB / 0.6192 GB, free: 4.84 MB / 458.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)