Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.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.AC3ph.Inverters.Rectifier,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p_av.1.|meterAC.p_av.2.|meterAC.p_av.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Inverters.Rectifier,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p_av.1.|meterAC.p_av.2.|meterAC.p_av.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00123/0.00123, 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.372/1.372, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0008485/0.0008485, allocations: 95.2 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1652/0.1652, allocations: 38.06 MB / 357.2 MB, free: 1.887 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003128/0.0003129, allocations: 8 kB / 424 MB, free: 37.7 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2897/0.29, allocations: 56.31 MB / 480.3 MB, free: 9.543 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1506/0.4407, allocations: 109.8 MB / 0.5762 GB, free: 8.66 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003124/0.4411, allocations: 99.94 kB / 0.5763 GB, free: 8.562 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06932/0.5104, allocations: 24.41 MB / 0.6002 GB, free: 15.86 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.5105, allocations: 0 / 0.6002 GB, free: 15.86 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.725e-05/0.5105, allocations: 24.16 kB / 0.6002 GB, free: 15.84 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.002926/0.5135, allocations: 1.259 MB / 0.6014 GB, free: 14.52 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.5135, allocations: 8.031 kB / 0.6014 GB, free: 14.52 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000704/0.5142, allocations: 146.8 kB / 0.6016 GB, free: 14.37 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003273/0.5175, allocations: 1.279 MB / 0.6028 GB, free: 13.05 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002313/0.5178, allocations: 179.1 kB / 0.603 GB, free: 12.86 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001577/0.5179, allocations: 76 kB / 0.6031 GB, free: 12.79 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002439/0.5204, allocations: 1.42 MB / 0.6044 GB, free: 11.32 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/0.5204, allocations: 0 / 0.6044 GB, free: 11.32 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.513e-05/0.5205, allocations: 32 kB / 0.6045 GB, free: 11.29 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001506/0.5207, allocations: 81.94 kB / 0.6046 GB, free: 11.21 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002547/0.5232, allocations: 1.53 MB / 0.606 GB, free: 9.672 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006927/0.5302, allocations: 4.428 MB / 0.6104 GB, free: 5.117 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002259/0.5325, allocations: 1.326 MB / 0.6117 GB, free: 3.75 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.403e-05/0.5325, allocations: 20.64 kB / 0.6117 GB, free: 3.73 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.5326, allocations: 39.22 kB / 0.6117 GB, free: 3.684 MB / 442.7 MB Notification: Performance of pre-optimization done (n=103): time 3.407e-06/0.5326, allocations: 0 / 0.6117 GB, free: 3.684 MB / 442.7 MB Notification: Performance of matching and sorting (n=104): time 0.006845/0.5394, allocations: 4.265 MB / 0.6159 GB, free: 15.25 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.782e-05/0.5395, allocations: 89.8 kB / 0.616 GB, free: 15.14 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004857/0.54, allocations: 353.1 kB / 0.6163 GB, free: 14.8 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.056e-05/0.5401, allocations: 41.7 kB / 0.6164 GB, free: 14.75 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002212/0.5403, allocations: 340.3 kB / 0.6167 GB, free: 14.41 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002863/0.5406, allocations: 354.8 kB / 0.617 GB, free: 14.06 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.402e-05/0.5407, allocations: 19.98 kB / 0.617 GB, free: 14.04 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.5409, allocations: 374.8 kB / 0.6174 GB, free: 13.67 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001013/0.5419, allocations: 0.611 MB / 0.618 GB, free: 13.06 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001101/0.543, allocations: 0.7646 MB / 0.6187 GB, free: 12.25 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001149/0.5442, allocations: 0.69 MB / 0.6194 GB, free: 11.56 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.5442, allocations: 3.953 kB / 0.6194 GB, free: 11.55 MB / 458.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002679/0.5469, allocations: 1.619 MB / 0.621 GB, free: 9.91 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.5469, allocations: 8 kB / 0.621 GB, free: 9.902 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.681e-05/0.5469, allocations: 4 kB / 0.621 GB, free: 9.898 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001408/0.5471, allocations: 33.06 kB / 0.621 GB, free: 9.863 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003325/0.5504, allocations: 0.6204 MB / 0.6216 GB, free: 9.242 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009428/0.5599, allocations: 6.392 MB / 0.6279 GB, free: 2.324 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/0.5613, allocations: 88.16 kB / 0.628 GB, free: 2.238 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001571/0.5615, allocations: 31.98 kB / 0.628 GB, free: 2.207 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (104): * Single equations (assignments): 96 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000958/0.5625, allocations: 317.7 kB / 0.6283 GB, free: 1.887 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002874/0.5628, allocations: 75.22 kB / 0.6284 GB, free: 1.812 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004345/0.5671, allocations: 1.608 MB / 0.6299 GB, free: 180 kB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.965e-05/0.5672, allocations: 31.98 kB / 0.63 GB, free: 148 kB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.5672, allocations: 4 kB / 0.63 GB, free: 144 kB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.604e-05/0.5673, allocations: 7.984 kB / 0.63 GB, free: 136 kB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007328/0.5746, allocations: 2.927 MB / 0.6328 GB, free: 13.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.826e-06/0.5747, allocations: 0 / 0.6328 GB, free: 13.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004492/0.5792, allocations: 0.683 MB / 0.6335 GB, free: 12.42 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001217/0.5793, allocations: 20.86 kB / 0.6335 GB, free: 12.39 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001218/0.5794, allocations: 31.92 kB / 0.6336 GB, free: 12.36 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001512/0.581, allocations: 1.385 MB / 0.6349 GB, free: 10.85 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.581, allocations: 8 kB / 0.6349 GB, free: 10.84 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006396/0.5874, allocations: 2.679 MB / 0.6375 GB, free: 8.043 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003935/0.5878, allocations: 136.2 kB / 0.6377 GB, free: 7.891 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001542/0.588, allocations: 20 kB / 0.6377 GB, free: 7.871 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000961/0.589, allocations: 91.95 kB / 0.6378 GB, free: 7.781 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002846/0.5893, allocations: 80.48 kB / 0.6379 GB, free: 7.703 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001105/0.5894, allocations: 20 kB / 0.6379 GB, free: 7.684 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005507/0.59, allocations: 279.1 kB / 0.6381 GB, free: 7.414 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.59, allocations: 4 kB / 0.6381 GB, free: 7.41 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001741/0.5917, allocations: 259.9 kB / 0.6384 GB, free: 7.156 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],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 (85): * Single equations (assignments): 79 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000503/0.5923, allocations: 174.8 kB / 0.6386 GB, free: 6.977 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006083/0.5983, allocations: 1.935 MB / 0.6404 GB, free: 5.035 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.5984, allocations: 0.5 kB / 0.6404 GB, free: 5.035 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004767/0.6032, allocations: 1.35 MB / 0.6418 GB, free: 3.664 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001187/0.6044, allocations: 145.5 kB / 0.6419 GB, free: 3.523 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008186/0.6126, allocations: 3.049 MB / 0.6449 GB, free: 432 kB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1858/0.7984, allocations: 1.088 MB / 0.6459 GB, free: 136.8 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001091/0.7996, allocations: 263.5 kB / 0.6462 GB, free: 136.8 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002835/0.7999, allocations: 54.53 kB / 0.6462 GB, free: 136.8 MB / 474.7 MB Notification: Performance of SimCode: time 1.743e-06/0.7999, allocations: 0 / 0.6462 GB, free: 136.8 MB / 474.7 MB Notification: Performance of Templates: time 0.01907/0.8189, allocations: 9.771 MB / 0.6558 GB, free: 136.6 MB / 474.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Inverters.Rectifier.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches