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.001076/0.001076, allocations: 175.4 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.471/1.471, allocations: 205.2 MB / 219.4 MB, free: 14.25 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.0009886/0.0009885, allocations: 86.66 kB / 267.5 MB, free: 14.1 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2496/0.2496, allocations: 37.98 MB / 353.5 MB, free: 1.75 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.764e-05/2.765e-05, allocations: 0 / 417.7 MB, free: 29.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1105, allocations: 56.33 MB / 474.1 MB, free: 4.801 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3944/0.5049, allocations: 109.7 MB / 0.57 GB, free: 9.426 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002574/0.5053, allocations: 93.31 kB / 0.5701 GB, free: 9.379 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07093/0.5762, allocations: 24.39 MB / 0.5939 GB, free: 4.336 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.5763, allocations: 0 / 0.5939 GB, free: 4.336 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.596e-05/0.5763, allocations: 28 kB / 0.594 GB, free: 4.309 MB / 394.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.002933/0.5793, allocations: 1.196 MB / 0.5951 GB, free: 3.121 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.515e-05/0.5793, allocations: 8.031 kB / 0.5951 GB, free: 3.113 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007638/0.5801, allocations: 138.8 kB / 0.5953 GB, free: 2.977 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003565/0.5837, allocations: 1.255 MB / 0.5965 GB, free: 1.902 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002465/0.584, allocations: 173.5 kB / 0.5967 GB, free: 1.746 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001738/0.5841, allocations: 89.95 kB / 0.5968 GB, free: 1.684 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002156/0.5863, allocations: 1.323 MB / 0.5981 GB, free: 0.7109 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.963e-05/0.5864, allocations: 0 / 0.5981 GB, free: 0.7109 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.96e-05/0.5865, allocations: 38.94 kB / 0.5981 GB, free: 0.6953 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001542/0.5866, allocations: 77.77 kB / 0.5982 GB, free: 0.6289 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00207/0.5887, allocations: 1.358 MB / 0.5995 GB, free: 15.7 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007429/0.5961, allocations: 4.419 MB / 0.6038 GB, free: 12.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001998/0.5982, allocations: 1.174 MB / 0.605 GB, free: 11.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001073/0.5993, allocations: 0.6862 MB / 0.6056 GB, free: 10.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.279e-05/0.5994, allocations: 20.16 kB / 0.6056 GB, free: 10.77 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.329e-05/0.5994, allocations: 41.2 kB / 0.6057 GB, free: 10.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=103): time 5.27e-06/0.5995, allocations: 0 / 0.6057 GB, free: 10.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=104): time 0.004999/0.6045, allocations: 2.795 MB / 0.6084 GB, free: 8.605 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.268e-05/0.6046, allocations: 97.86 kB / 0.6085 GB, free: 8.492 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004575/0.605, allocations: 350.9 kB / 0.6088 GB, free: 8.211 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.364e-05/0.6051, allocations: 36.27 kB / 0.6089 GB, free: 8.18 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002262/0.6053, allocations: 341.4 kB / 0.6092 GB, free: 7.922 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003158/0.6056, allocations: 363 kB / 0.6095 GB, free: 7.605 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.063e-05/0.6057, allocations: 14.38 kB / 0.6096 GB, free: 7.602 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.6059, allocations: 376.5 kB / 0.6099 GB, free: 7.254 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007215/0.6066, allocations: 0.5256 MB / 0.6104 GB, free: 6.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008032/0.6074, allocations: 0.679 MB / 0.6111 GB, free: 6.387 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009143/0.6084, allocations: 0.6026 MB / 0.6117 GB, free: 5.973 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.281e-06/0.6084, allocations: 4 kB / 0.6117 GB, free: 5.969 MB / 410.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.0021/0.6105, allocations: 1.356 MB / 0.613 GB, free: 4.656 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.6105, allocations: 8.031 kB / 0.613 GB, free: 4.648 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.974e-05/0.6105, allocations: 8 kB / 0.613 GB, free: 4.641 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.6106, allocations: 11.94 kB / 0.613 GB, free: 4.629 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002652/0.6132, allocations: 0.6243 MB / 0.6136 GB, free: 4.004 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00382/0.6171, allocations: 4.55 MB / 0.6181 GB, free: 15.06 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007439/0.6178, allocations: 91.98 kB / 0.6182 GB, free: 14.97 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.251e-05/0.6179, allocations: 32 kB / 0.6182 GB, free: 14.94 MB / 426.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 98 * 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: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0002035/0.6181, allocations: 156.7 kB / 0.6184 GB, free: 14.78 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001502/0.6183, allocations: 75.14 kB / 0.6184 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00209/0.6204, allocations: 1.327 MB / 0.6197 GB, free: 13.37 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.254e-05/0.6204, allocations: 31.98 kB / 0.6198 GB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.6204, allocations: 0 / 0.6198 GB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/0.6205, allocations: 7.984 kB / 0.6198 GB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003891/0.6244, allocations: 2.669 MB / 0.6224 GB, free: 10.58 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.6244, allocations: 4 kB / 0.6224 GB, free: 10.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003015/0.6274, allocations: 0.687 MB / 0.623 GB, free: 9.887 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.026e-05/0.6274, allocations: 4 kB / 0.623 GB, free: 9.883 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.071e-05/0.6275, allocations: 27.94 kB / 0.6231 GB, free: 9.855 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.024e-06/0.6275, allocations: 7.984 kB / 0.6231 GB, free: 9.848 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.6275, allocations: 4 kB / 0.6231 GB, free: 9.844 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002925/0.6305, allocations: 2.332 MB / 0.6254 GB, free: 7.422 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001524/0.6306, allocations: 132.3 kB / 0.6255 GB, free: 7.273 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/0.6307, allocations: 23.98 kB / 0.6255 GB, free: 7.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006169/0.6314, allocations: 83.91 kB / 0.6256 GB, free: 7.168 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001877/0.6316, allocations: 80.67 kB / 0.6257 GB, free: 7.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-05/0.6316, allocations: 27.92 kB / 0.6257 GB, free: 7.062 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002924/0.6319, allocations: 273.2 kB / 0.626 GB, free: 6.797 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6319, allocations: 0 / 0.626 GB, free: 6.797 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008066/0.6327, allocations: 259.8 kB / 0.6262 GB, free: 6.543 MB / 426.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000308/0.6331, allocations: 175 kB / 0.6264 GB, free: 6.363 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003323/0.6364, allocations: 1.654 MB / 0.628 GB, free: 4.707 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.6364, allocations: 4.188 kB / 0.628 GB, free: 4.703 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002713/0.6391, allocations: 1.145 MB / 0.6291 GB, free: 3.562 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006354/0.6398, allocations: 137.6 kB / 0.6292 GB, free: 3.426 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004066/0.6439, allocations: 2.238 MB / 0.6314 GB, free: 1.137 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006352/0.6445, allocations: 1.095 MB / 0.6325 GB, free: 16 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007357/0.6453, allocations: 265.5 kB / 0.6327 GB, free: 15.75 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002315/0.6455, allocations: 55.42 kB / 0.6328 GB, free: 15.7 MB / 442.7 MB Notification: Performance of SimCode: time 2.4e-07/0.6455, allocations: 0 / 0.6328 GB, free: 15.7 MB / 442.7 MB Notification: Performance of Templates: time 0.01531/0.6608, allocations: 9.659 MB / 0.6422 GB, free: 6.043 MB / 442.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