Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.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.Elementary.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p.1.|meterAC.p.2.|meterAC.p.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Elementary.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p.1.|meterAC.p.2.|meterAC.p.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001374/0.001374, allocations: 176.6 kB / 17.4 MB, free: 4.418 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.527/1.527, allocations: 205.4 MB / 223.5 MB, free: 9.023 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.0008314/0.0008314, allocations: 90.28 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1862/0.1862, allocations: 38.07 MB / 358.2 MB, free: 1.734 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006725/0.0006725, allocations: 12 kB / 425.2 MB, free: 37.36 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3412, allocations: 56.31 MB / 481.6 MB, free: 9.586 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1554/0.4967, allocations: 110.1 MB / 0.5778 GB, free: 8.152 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003348/0.4971, allocations: 99.81 kB / 0.5779 GB, free: 8.059 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06718/0.5643, allocations: 23.3 MB / 0.6006 GB, free: 0.5234 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.5643, allocations: 0 / 0.6006 GB, free: 0.5234 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.184e-05/0.5644, allocations: 20 kB / 0.6006 GB, free: 0.5039 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.003922/0.5684, allocations: 1.248 MB / 0.6019 GB, free: 15.2 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.5684, allocations: 8.031 kB / 0.6019 GB, free: 15.19 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001122/0.5695, allocations: 143.8 kB / 0.602 GB, free: 15.05 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002605/0.5722, allocations: 0.9244 MB / 0.6029 GB, free: 14.09 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002956/0.5725, allocations: 184.2 kB / 0.6031 GB, free: 13.89 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000341/0.5728, allocations: 87.89 kB / 0.6032 GB, free: 13.8 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002599/0.5755, allocations: 1.368 MB / 0.6045 GB, free: 12.36 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.407e-05/0.5755, allocations: 0 / 0.6045 GB, free: 12.36 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/0.5756, allocations: 35.98 kB / 0.6045 GB, free: 12.33 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.515e-05/0.5757, allocations: 57.98 kB / 0.6046 GB, free: 12.27 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0025/0.5782, allocations: 1.308 MB / 0.6059 GB, free: 10.96 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007263/0.5855, allocations: 4.954 MB / 0.6107 GB, free: 5.852 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00212/0.5877, allocations: 1.196 MB / 0.6119 GB, free: 4.617 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001068/0.5887, allocations: 0.6476 MB / 0.6125 GB, free: 3.965 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.667e-05/0.5888, allocations: 12.56 kB / 0.6125 GB, free: 3.949 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.5889, allocations: 43.11 kB / 0.6126 GB, free: 3.898 MB / 442.7 MB Notification: Performance of pre-optimization done (n=74): time 2.615e-06/0.5889, allocations: 0 / 0.6126 GB, free: 3.898 MB / 442.7 MB Notification: Performance of matching and sorting (n=75): time 0.005967/0.5948, allocations: 3.3 MB / 0.6158 GB, free: 0.5078 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.649e-05/0.5949, allocations: 89.61 kB / 0.6159 GB, free: 412 kB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005578/0.5955, allocations: 461.9 kB / 0.6163 GB, free: 15.94 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.817e-05/0.5955, allocations: 37.7 kB / 0.6164 GB, free: 15.89 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002792/0.5958, allocations: 391.3 kB / 0.6167 GB, free: 15.5 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002401/0.5961, allocations: 268.2 kB / 0.617 GB, free: 15.24 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.567e-05/0.5961, allocations: 16 kB / 0.617 GB, free: 15.22 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.5963, allocations: 374.8 kB / 0.6174 GB, free: 14.85 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008986/0.5972, allocations: 0.5173 MB / 0.6179 GB, free: 14.33 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001047/0.5983, allocations: 0.7105 MB / 0.6186 GB, free: 13.54 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00199/0.6003, allocations: 1.276 MB / 0.6198 GB, free: 12.18 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.6003, allocations: 4 kB / 0.6198 GB, free: 12.18 MB / 458.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.004264/0.6046, allocations: 2.12 MB / 0.6219 GB, free: 10.03 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.6046, allocations: 8 kB / 0.6219 GB, free: 10.02 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003697/0.6083, allocations: 1.869 MB / 0.6237 GB, free: 8.129 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001704/0.61, allocations: 0.689 MB / 0.6244 GB, free: 7.434 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006194/0.6107, allocations: 151.8 kB / 0.6245 GB, free: 7.285 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01032/0.621, allocations: 6.979 MB / 0.6313 GB, free: 44 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008067/0.6218, allocations: 83.95 kB / 0.6314 GB, free: 15.96 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001328/0.622, allocations: 35.98 kB / 0.6315 GB, free: 15.93 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (76): * Single equations (assignments): 72 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {4 16} Notification: Performance of prepare postOptimizeDAE: time 0.0007327/0.6227, allocations: 305.6 kB / 0.6317 GB, free: 15.62 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000195/0.6229, allocations: 63.23 kB / 0.6318 GB, free: 15.55 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002393/0.6253, allocations: 1.329 MB / 0.6331 GB, free: 14.19 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.861e-05/0.6254, allocations: 23.94 kB / 0.6331 GB, free: 14.17 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.6254, allocations: 0 / 0.6331 GB, free: 14.17 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/0.6254, allocations: 3.984 kB / 0.6331 GB, free: 14.16 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004189/0.6296, allocations: 2.476 MB / 0.6355 GB, free: 11.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.6296, allocations: 4 kB / 0.6356 GB, free: 11.59 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002566/0.6322, allocations: 0.6439 MB / 0.6362 GB, free: 10.95 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.68e-05/0.6323, allocations: 32.78 kB / 0.6362 GB, free: 10.91 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.279e-05/0.6324, allocations: 12 kB / 0.6362 GB, free: 10.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001021/0.6334, allocations: 1.388 MB / 0.6376 GB, free: 9.379 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.6334, allocations: 0 / 0.6376 GB, free: 9.379 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003364/0.6368, allocations: 2.09 MB / 0.6396 GB, free: 7.234 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002305/0.637, allocations: 132.3 kB / 0.6397 GB, free: 7.086 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001328/0.6372, allocations: 19.98 kB / 0.6398 GB, free: 7.066 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005651/0.6378, allocations: 83.97 kB / 0.6398 GB, free: 6.984 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001886/0.638, allocations: 64.34 kB / 0.6399 GB, free: 6.922 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.417e-05/0.638, allocations: 16 kB / 0.6399 GB, free: 6.906 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005213/0.6385, allocations: 318.9 kB / 0.6402 GB, free: 6.598 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6386, allocations: 0 / 0.6402 GB, free: 6.598 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001399/0.64, allocations: 252 kB / 0.6405 GB, free: 6.352 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (66): * Single equations (assignments): 62 * Array equations: 2 * 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.0003915/0.6404, allocations: 155 kB / 0.6406 GB, free: 6.191 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003135/0.6435, allocations: 1.618 MB / 0.6422 GB, free: 4.547 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.6435, allocations: 0 / 0.6422 GB, free: 4.547 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002708/0.6462, allocations: 1.154 MB / 0.6433 GB, free: 3.383 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009833/0.6472, allocations: 145.9 kB / 0.6435 GB, free: 3.238 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004738/0.652, allocations: 2.725 MB / 0.6461 GB, free: 476 kB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2123/0.8644, allocations: 1.063 MB / 0.6472 GB, free: 138.2 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0009156/0.8653, allocations: 210.2 kB / 0.6474 GB, free: 138.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002379/0.8656, allocations: 52.17 kB / 0.6474 GB, free: 138.2 MB / 474.7 MB Notification: Performance of SimCode: time 1.012e-06/0.8656, allocations: 0 / 0.6474 GB, free: 138.2 MB / 474.7 MB Notification: Performance of Templates: time 0.02419/0.8898, allocations: 12.31 MB / 0.6594 GB, free: 137.9 MB / 474.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Rectifier.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches