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.0009433/0.0009433, allocations: 180.1 kB / 17.4 MB, free: 4.414 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.628/1.628, allocations: 205.4 MB / 223.5 MB, free: 9.02 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.0007782/0.0007783, allocations: 73.02 kB / 271.9 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1887/0.1887, allocations: 38.08 MB / 358.2 MB, free: 1.734 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003809/0.0003809, allocations: 16 kB / 425.2 MB, free: 37.36 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3224, allocations: 56.31 MB / 481.6 MB, free: 9.594 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1438/0.4662, allocations: 109.8 MB / 0.5775 GB, free: 8.453 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003009/0.4666, allocations: 99.81 kB / 0.5776 GB, free: 8.359 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08383/0.5504, allocations: 24.4 MB / 0.6014 GB, free: 15.66 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.589e-06/0.5505, allocations: 0 / 0.6014 GB, free: 15.66 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.647e-05/0.5505, allocations: 23.94 kB / 0.6014 GB, free: 15.64 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.004732/0.5553, allocations: 1.256 MB / 0.6027 GB, free: 14.33 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.5554, allocations: 8.031 kB / 0.6027 GB, free: 14.32 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001244/0.5566, allocations: 139.8 kB / 0.6028 GB, free: 14.19 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003147/0.5598, allocations: 0.9299 MB / 0.6037 GB, free: 13.22 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003661/0.5602, allocations: 180.2 kB / 0.6039 GB, free: 13.03 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003682/0.5606, allocations: 83.98 kB / 0.604 GB, free: 12.95 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003591/0.5642, allocations: 1.416 MB / 0.6054 GB, free: 11.48 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.641e-05/0.5642, allocations: 3.906 kB / 0.6054 GB, free: 11.48 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001062/0.5643, allocations: 35.98 kB / 0.6054 GB, free: 11.45 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001729/0.5645, allocations: 73.91 kB / 0.6055 GB, free: 11.37 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002922/0.5674, allocations: 1.538 MB / 0.607 GB, free: 9.836 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007511/0.575, allocations: 4.435 MB / 0.6113 GB, free: 5.273 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002438/0.5774, allocations: 1.326 MB / 0.6126 GB, free: 3.902 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001224/0.5787, allocations: 0.7661 MB / 0.6133 GB, free: 3.133 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.879e-05/0.5788, allocations: 12.66 kB / 0.6134 GB, free: 3.121 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.5788, allocations: 47.16 kB / 0.6134 GB, free: 3.066 MB / 442.7 MB Notification: Performance of pre-optimization done (n=103): time 4.689e-06/0.5788, allocations: 0 / 0.6134 GB, free: 3.066 MB / 442.7 MB Notification: Performance of matching and sorting (n=104): time 0.007141/0.586, allocations: 3.74 MB / 0.617 GB, free: 15.27 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.289e-05/0.5861, allocations: 89.8 kB / 0.6171 GB, free: 15.17 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005586/0.5867, allocations: 390 kB / 0.6175 GB, free: 14.78 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.423e-05/0.5867, allocations: 41.7 kB / 0.6175 GB, free: 14.73 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002484/0.587, allocations: 340.2 kB / 0.6179 GB, free: 14.39 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003368/0.5874, allocations: 358.8 kB / 0.6182 GB, free: 14.04 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.729e-05/0.5874, allocations: 16 kB / 0.6182 GB, free: 14.02 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001914/0.5876, allocations: 382.7 kB / 0.6186 GB, free: 13.64 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001102/0.5887, allocations: 0.6109 MB / 0.6192 GB, free: 13.02 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001198/0.5899, allocations: 0.7658 MB / 0.6199 GB, free: 12.21 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00252/0.5925, allocations: 1.43 MB / 0.6213 GB, free: 10.73 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.5925, allocations: 0 / 0.6213 GB, free: 10.73 MB / 458.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003003/0.5955, allocations: 1.527 MB / 0.6228 GB, free: 9.199 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.917e-05/0.5956, allocations: 4 kB / 0.6228 GB, free: 9.195 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/0.5956, allocations: 4 kB / 0.6228 GB, free: 9.191 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.576e-05/0.5956, allocations: 8 kB / 0.6228 GB, free: 9.184 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002625/0.5983, allocations: 0.6206 MB / 0.6234 GB, free: 8.562 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005711/0.604, allocations: 4.932 MB / 0.6283 GB, free: 3.234 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/0.6051, allocations: 99.98 kB / 0.6284 GB, free: 3.137 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000288/0.6054, allocations: 28 kB / 0.6284 GB, free: 3.109 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 (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.0009609/0.6064, allocations: 321.5 kB / 0.6287 GB, free: 2.785 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002723/0.6067, allocations: 67.23 kB / 0.6288 GB, free: 2.719 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003058/0.6097, allocations: 1.508 MB / 0.6302 GB, free: 1.203 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.576e-05/0.6098, allocations: 31.92 kB / 0.6303 GB, free: 1.172 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.6098, allocations: 0 / 0.6303 GB, free: 1.172 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.6098, allocations: 3.984 kB / 0.6303 GB, free: 1.168 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00519/0.615, allocations: 2.844 MB / 0.633 GB, free: 14.25 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.6151, allocations: 0 / 0.633 GB, free: 14.25 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002899/0.618, allocations: 0.6792 MB / 0.6337 GB, free: 13.57 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.835e-05/0.618, allocations: 15.92 kB / 0.6337 GB, free: 13.55 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.099e-05/0.6181, allocations: 23.91 kB / 0.6337 GB, free: 13.53 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.544e-06/0.6181, allocations: 4 kB / 0.6337 GB, free: 13.53 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.082e-06/0.6181, allocations: 3.938 kB / 0.6337 GB, free: 13.52 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0041/0.6222, allocations: 2.481 MB / 0.6362 GB, free: 11 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002576/0.6225, allocations: 144.2 kB / 0.6363 GB, free: 10.84 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001382/0.6227, allocations: 23.94 kB / 0.6363 GB, free: 10.81 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006495/0.6233, allocations: 91.95 kB / 0.6364 GB, free: 10.72 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002051/0.6235, allocations: 68.55 kB / 0.6365 GB, free: 10.66 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.392e-05/0.6236, allocations: 28 kB / 0.6365 GB, free: 10.63 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003855/0.624, allocations: 275.1 kB / 0.6368 GB, free: 10.36 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.624, allocations: 3.938 kB / 0.6368 GB, free: 10.36 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001023/0.6251, allocations: 255.9 kB / 0.637 GB, free: 10.11 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 (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.000406/0.6255, allocations: 182.9 kB / 0.6372 GB, free: 9.922 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004256/0.6297, allocations: 1.881 MB / 0.639 GB, free: 8.043 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.758e-06/0.6298, allocations: 0 / 0.639 GB, free: 8.043 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002897/0.6327, allocations: 1.227 MB / 0.6402 GB, free: 6.816 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.6338, allocations: 160 kB / 0.6404 GB, free: 6.668 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005379/0.6392, allocations: 3.038 MB / 0.6434 GB, free: 3.578 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008173/0.64, allocations: 1.076 MB / 0.6444 GB, free: 2.477 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0009343/0.641, allocations: 261.5 kB / 0.6447 GB, free: 2.219 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002462/0.6413, allocations: 55.42 kB / 0.6447 GB, free: 2.164 MB / 474.7 MB Notification: Performance of SimCode: time 3.566e-06/0.6413, allocations: 4 kB / 0.6447 GB, free: 2.16 MB / 474.7 MB Notification: Performance of Templates: time 0.2237/0.865, allocations: 9.689 MB / 0.6542 GB, free: 137.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/jenkins1/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