Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/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="mat",numberOfIntervals=2000,variableFilter="Time|meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001038/0.001038, allocations: 175.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.344/1.344, allocations: 205.2 MB / 219.4 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008419/0.000842, allocations: 82.67 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1507/0.1507, allocations: 37.98 MB / 353.5 MB, free: 1.742 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.591e-05/2.596e-05, allocations: 0 / 417.7 MB, free: 29.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08675/0.0868, allocations: 56.32 MB / 474.1 MB, free: 4.797 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3431/0.4299, allocations: 99.87 MB / 0.5605 GB, free: 2.871 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000196/0.4301, allocations: 87.77 kB / 0.5606 GB, free: 2.828 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03706/0.4672, allocations: 14.52 MB / 0.5747 GB, free: 6.266 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.4672, allocations: 0 / 0.5747 GB, free: 6.266 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.186e-05/0.4673, allocations: 16 kB / 0.5748 GB, free: 6.25 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.001484/0.4688, allocations: 0.8649 MB / 0.5756 GB, free: 5.379 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.4688, allocations: 8.031 kB / 0.5756 GB, free: 5.371 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001352/0.469, allocations: 75.11 kB / 0.5757 GB, free: 5.297 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002497/0.4715, allocations: 1.098 MB / 0.5768 GB, free: 4.344 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001534/0.4716, allocations: 121.4 kB / 0.5769 GB, free: 4.234 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.964e-05/0.4717, allocations: 54.25 kB / 0.5769 GB, free: 4.199 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001059/0.4728, allocations: 0.7234 MB / 0.5776 GB, free: 3.648 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.4728, allocations: 7.938 kB / 0.5776 GB, free: 3.641 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.636e-05/0.4729, allocations: 21 kB / 0.5777 GB, free: 3.637 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.381e-05/0.4729, allocations: 23.83 kB / 0.5777 GB, free: 3.613 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009207/0.4738, allocations: 0.6352 MB / 0.5783 GB, free: 3.18 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003417/0.4773, allocations: 2.618 MB / 0.5809 GB, free: 0.9805 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001133/0.4784, allocations: 0.7255 MB / 0.5816 GB, free: 420 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004473/0.4789, allocations: 350.6 kB / 0.5819 GB, free: 184 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.645e-05/0.4789, allocations: 12.42 kB / 0.5819 GB, free: 172 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.479, allocations: 42.67 kB / 0.582 GB, free: 120 kB / 378.7 MB Notification: Performance of pre-optimization done (n=50): time 1.893e-06/0.479, allocations: 0 / 0.582 GB, free: 120 kB / 378.7 MB Notification: Performance of matching and sorting (n=51): time 0.00226/0.4812, allocations: 1.503 MB / 0.5834 GB, free: 14.85 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.16e-05/0.4813, allocations: 89.58 kB / 0.5835 GB, free: 14.75 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003412/0.4816, allocations: 355 kB / 0.5838 GB, free: 14.46 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.627e-05/0.4817, allocations: 33.08 kB / 0.5839 GB, free: 14.43 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/0.4818, allocations: 289 kB / 0.5842 GB, free: 14.21 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000123/0.482, allocations: 168.9 kB / 0.5843 GB, free: 14.07 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.507e-05/0.482, allocations: 11.44 kB / 0.5843 GB, free: 14.07 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.4821, allocations: 362 kB / 0.5847 GB, free: 13.73 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003176/0.4825, allocations: 229.2 kB / 0.5849 GB, free: 13.58 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003695/0.4828, allocations: 337.6 kB / 0.5852 GB, free: 13.3 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003539/0.4832, allocations: 267 kB / 0.5855 GB, free: 13.12 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.4832, allocations: 0 / 0.5855 GB, free: 13.12 MB / 394.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00101/0.4842, allocations: 0.7821 MB / 0.5862 GB, free: 12.48 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.4843, allocations: 8 kB / 0.5862 GB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.4843, allocations: 7.953 kB / 0.5862 GB, free: 12.47 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002166/0.4845, allocations: 77.48 kB / 0.5863 GB, free: 12.4 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001635/0.4861, allocations: 391.4 kB / 0.5867 GB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004692/0.4908, allocations: 5.885 MB / 0.5924 GB, free: 5.898 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005323/0.4914, allocations: 48.56 kB / 0.5925 GB, free: 5.859 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.273e-05/0.4915, allocations: 15.31 kB / 0.5925 GB, free: 5.848 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 () * 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.0001782/0.4917, allocations: 149 kB / 0.5926 GB, free: 5.711 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.848e-05/0.4918, allocations: 47.44 kB / 0.5927 GB, free: 5.664 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001198/0.493, allocations: 0.7308 MB / 0.5934 GB, free: 5.105 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/0.493, allocations: 11.95 kB / 0.5934 GB, free: 5.094 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.493, allocations: 4 kB / 0.5934 GB, free: 5.09 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.493, allocations: 3.984 kB / 0.5934 GB, free: 5.086 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002315/0.4953, allocations: 1.612 MB / 0.595 GB, free: 3.734 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.4953, allocations: 0 / 0.595 GB, free: 3.734 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001821/0.4972, allocations: 426.2 kB / 0.5954 GB, free: 3.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002347/0.4974, allocations: 79.83 kB / 0.5955 GB, free: 3.246 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.922e-05/0.4975, allocations: 14.75 kB / 0.5955 GB, free: 3.242 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002007/0.4995, allocations: 2.856 MB / 0.5983 GB, free: 264 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.4995, allocations: 0 / 0.5983 GB, free: 264 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001563/0.5011, allocations: 1.262 MB / 0.5995 GB, free: 15.19 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/0.5012, allocations: 131.8 kB / 0.5996 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.573e-05/0.5013, allocations: 19.62 kB / 0.5997 GB, free: 15.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003626/0.5017, allocations: 42.64 kB / 0.5997 GB, free: 15 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/0.5018, allocations: 47.52 kB / 0.5997 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.535e-05/0.5018, allocations: 15.06 kB / 0.5998 GB, free: 14.94 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003027/0.5021, allocations: 280.8 kB / 0.6 GB, free: 14.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.5022, allocations: 0 / 0.6 GB, free: 14.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006531/0.5028, allocations: 159.3 kB / 0.6002 GB, free: 14.59 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 () * 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.0002119/0.503, allocations: 120.2 kB / 0.6003 GB, free: 14.47 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00214/0.5052, allocations: 1.031 MB / 0.6013 GB, free: 13.58 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.5052, allocations: 4 kB / 0.6013 GB, free: 13.58 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001863/0.5071, allocations: 0.8367 MB / 0.6021 GB, free: 12.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005736/0.5077, allocations: 124.6 kB / 0.6022 GB, free: 12.72 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002455/0.5101, allocations: 1.285 MB / 0.6035 GB, free: 11.55 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005143/0.5106, allocations: 0.9555 MB / 0.6044 GB, free: 10.6 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003905/0.511, allocations: 120.7 kB / 0.6045 GB, free: 10.48 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.5112, allocations: 43.42 kB / 0.6046 GB, free: 10.44 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5112, allocations: 4 kB / 0.6046 GB, free: 10.43 MB / 410.7 MB Notification: Performance of Templates: time 0.01221/0.5234, allocations: 7.31 MB / 0.6117 GB, free: 3.145 MB / 410.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches