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.001939/0.001939, allocations: 180.6 kB / 16.39 MB, free: 5.762 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.442/1.442, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.0008682/0.0008682, allocations: 100.6 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1646/0.1646, allocations: 38.05 MB / 357.2 MB, free: 1.883 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003051/0.0003053, allocations: 11.98 kB / 424 MB, free: 37.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.2986, allocations: 56.31 MB / 480.3 MB, free: 9.551 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1396/0.4382, allocations: 99.97 MB / 0.5667 GB, free: 2.441 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000232/0.4385, allocations: 95.95 kB / 0.5668 GB, free: 2.348 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0403/0.4788, allocations: 14.52 MB / 0.5809 GB, free: 3.625 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.143e-06/0.4788, allocations: 0 / 0.5809 GB, free: 3.625 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.464e-05/0.4789, allocations: 19.94 kB / 0.581 GB, free: 3.605 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.001897/0.4808, allocations: 0.9345 MB / 0.5819 GB, free: 2.621 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.4808, allocations: 12.03 kB / 0.5819 GB, free: 2.609 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001571/0.481, allocations: 75.11 kB / 0.582 GB, free: 2.535 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002817/0.4838, allocations: 1.118 MB / 0.5831 GB, free: 1.375 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001903/0.484, allocations: 116.7 kB / 0.5832 GB, free: 1.246 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.95e-05/0.4841, allocations: 52 kB / 0.5832 GB, free: 1.195 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001317/0.4854, allocations: 0.7872 MB / 0.584 GB, free: 380 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.4855, allocations: 4 kB / 0.584 GB, free: 376 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.266e-05/0.4855, allocations: 24 kB / 0.584 GB, free: 352 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.4856, allocations: 15.95 kB / 0.584 GB, free: 336 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001351/0.4869, allocations: 0.7455 MB / 0.5848 GB, free: 15.58 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00381/0.4907, allocations: 2.623 MB / 0.5873 GB, free: 12.87 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001574/0.4923, allocations: 0.8399 MB / 0.5881 GB, free: 11.99 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.697e-05/0.4924, allocations: 8.5 kB / 0.5881 GB, free: 11.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.4924, allocations: 39 kB / 0.5882 GB, free: 11.93 MB / 426.7 MB Notification: Performance of pre-optimization done (n=50): time 3.466e-06/0.4924, allocations: 0 / 0.5882 GB, free: 11.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=51): time 0.004071/0.4965, allocations: 2.187 MB / 0.5903 GB, free: 9.633 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.413e-05/0.4966, allocations: 93.52 kB / 0.5904 GB, free: 9.523 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003891/0.497, allocations: 345.1 kB / 0.5907 GB, free: 9.176 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.29e-05/0.497, allocations: 37.7 kB / 0.5908 GB, free: 9.133 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001802/0.4972, allocations: 284.4 kB / 0.591 GB, free: 8.852 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001362/0.4974, allocations: 181.4 kB / 0.5912 GB, free: 8.672 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.603e-05/0.4974, allocations: 8 kB / 0.5912 GB, free: 8.664 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.4976, allocations: 370.7 kB / 0.5916 GB, free: 8.293 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005242/0.4981, allocations: 284.9 kB / 0.5918 GB, free: 8.016 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005723/0.4987, allocations: 389.1 kB / 0.5922 GB, free: 7.594 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005434/0.4992, allocations: 318 kB / 0.5925 GB, free: 7.285 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.4992, allocations: 0 / 0.5925 GB, free: 7.285 MB / 426.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0015/0.5007, allocations: 0.9031 MB / 0.5934 GB, free: 6.348 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.5008, allocations: 7.938 kB / 0.5934 GB, free: 6.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.5008, allocations: 4 kB / 0.5934 GB, free: 6.336 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002539/0.5011, allocations: 65.67 kB / 0.5935 GB, free: 6.266 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001581/0.5026, allocations: 399.7 kB / 0.5939 GB, free: 5.875 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005687/0.5083, allocations: 6.206 MB / 0.5999 GB, free: 15.14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005574/0.5089, allocations: 43.95 kB / 0.6 GB, free: 15.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-05/0.509, allocations: 20 kB / 0.6 GB, free: 15.08 MB / 442.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.0004122/0.5094, allocations: 237.9 kB / 0.6002 GB, free: 14.84 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.778e-05/0.5095, allocations: 55.33 kB / 0.6003 GB, free: 14.78 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001509/0.511, allocations: 0.8438 MB / 0.6011 GB, free: 13.9 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.511, allocations: 4 kB / 0.6011 GB, free: 13.9 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.511, allocations: 0 / 0.6011 GB, free: 13.9 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/0.5111, allocations: 15.88 kB / 0.6011 GB, free: 13.88 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002849/0.5139, allocations: 1.715 MB / 0.6028 GB, free: 12.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/0.5139, allocations: 0 / 0.6028 GB, free: 12.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0017/0.5156, allocations: 423.8 kB / 0.6032 GB, free: 11.65 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002562/0.5159, allocations: 85.56 kB / 0.6033 GB, free: 11.56 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.308e-05/0.516, allocations: 12 kB / 0.6033 GB, free: 11.55 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002149/0.5181, allocations: 2.876 MB / 0.6061 GB, free: 8.414 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.5181, allocations: 4.031 kB / 0.6061 GB, free: 8.41 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002154/0.5203, allocations: 1.422 MB / 0.6075 GB, free: 6.879 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001515/0.5205, allocations: 128.6 kB / 0.6076 GB, free: 6.734 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.546e-05/0.5205, allocations: 8 kB / 0.6076 GB, free: 6.727 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003557/0.5209, allocations: 43.95 kB / 0.6076 GB, free: 6.684 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/0.521, allocations: 51.83 kB / 0.6077 GB, free: 6.633 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.349e-05/0.5211, allocations: 16 kB / 0.6077 GB, free: 6.617 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003055/0.5214, allocations: 279.1 kB / 0.608 GB, free: 6.348 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.834e-06/0.5214, allocations: 0 / 0.608 GB, free: 6.348 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006747/0.5221, allocations: 159.9 kB / 0.6081 GB, free: 6.191 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 () * 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.0002056/0.5223, allocations: 131 kB / 0.6083 GB, free: 6.055 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002517/0.5248, allocations: 1.144 MB / 0.6094 GB, free: 4.887 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.5248, allocations: 0 / 0.6094 GB, free: 4.887 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001999/0.5268, allocations: 0.8922 MB / 0.6102 GB, free: 3.969 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006477/0.5275, allocations: 133.5 kB / 0.6104 GB, free: 3.84 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003218/0.5307, allocations: 1.883 MB / 0.6122 GB, free: 1.906 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005889/0.5313, allocations: 0.9603 MB / 0.6132 GB, free: 0.918 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004318/0.5318, allocations: 120.7 kB / 0.6133 GB, free: 0.8008 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001422/0.5319, allocations: 43.44 kB / 0.6133 GB, free: 0.7578 MB / 442.7 MB Notification: Performance of SimCode: time 8.82e-07/0.5319, allocations: 0 / 0.6133 GB, free: 0.7578 MB / 442.7 MB Notification: Performance of Templates: time 0.01258/0.5445, allocations: 7.238 MB / 0.6204 GB, free: 9.531 MB / 458.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