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.001028/0.001029, allocations: 175.5 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.394/1.394, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.0008288/0.000829, allocations: 86.66 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1533/0.1533, allocations: 37.98 MB / 353.5 MB, free: 1.754 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.679e-05/2.682e-05, allocations: 0 / 417.7 MB, free: 29.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1187, allocations: 56.32 MB / 474.1 MB, free: 4.812 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3478/0.4666, allocations: 110 MB / 0.5703 GB, free: 9.141 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/0.4669, allocations: 88.81 kB / 0.5704 GB, free: 9.094 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0653/0.5322, allocations: 23.29 MB / 0.5931 GB, free: 5.078 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.5322, allocations: 0 / 0.5931 GB, free: 5.078 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.744e-05/0.5323, allocations: 16 kB / 0.5932 GB, free: 5.062 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002756/0.535, allocations: 1.179 MB / 0.5943 GB, free: 3.891 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.333e-05/0.5351, allocations: 16.03 kB / 0.5943 GB, free: 3.875 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008448/0.536, allocations: 142.8 kB / 0.5945 GB, free: 3.734 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003369/0.5393, allocations: 1.248 MB / 0.5957 GB, free: 2.664 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002341/0.5396, allocations: 173.5 kB / 0.5959 GB, free: 2.508 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001537/0.5398, allocations: 78.69 kB / 0.5959 GB, free: 2.457 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001972/0.5417, allocations: 1.283 MB / 0.5972 GB, free: 1.477 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.722e-05/0.5418, allocations: 3.984 kB / 0.5972 GB, free: 1.473 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.881e-05/0.5419, allocations: 30.88 kB / 0.5972 GB, free: 1.465 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.848e-05/0.542, allocations: 60.61 kB / 0.5973 GB, free: 1.414 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001671/0.5437, allocations: 1.13 MB / 0.5984 GB, free: 0.6484 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006874/0.5506, allocations: 4.957 MB / 0.6032 GB, free: 12.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001363/0.5519, allocations: 0.9581 MB / 0.6042 GB, free: 11.71 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008213/0.5528, allocations: 0.5711 MB / 0.6047 GB, free: 11.33 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.709e-05/0.5529, allocations: 15.8 kB / 0.6047 GB, free: 11.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.5529, allocations: 39.25 kB / 0.6048 GB, free: 11.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=74): time 3.456e-06/0.5529, allocations: 0 / 0.6048 GB, free: 11.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=75): time 0.003732/0.5566, allocations: 2.387 MB / 0.6071 GB, free: 9.395 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.155e-05/0.5567, allocations: 85.61 kB / 0.6072 GB, free: 9.293 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004593/0.5572, allocations: 402.3 kB / 0.6076 GB, free: 8.973 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.648e-05/0.5573, allocations: 39.89 kB / 0.6076 GB, free: 8.938 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002449/0.5575, allocations: 393.5 kB / 0.608 GB, free: 8.633 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002206/0.5577, allocations: 266.5 kB / 0.6082 GB, free: 8.402 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.499e-05/0.5578, allocations: 18.81 kB / 0.6082 GB, free: 8.395 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.558, allocations: 375.7 kB / 0.6086 GB, free: 8.047 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006263/0.5586, allocations: 443.4 kB / 0.609 GB, free: 7.766 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007708/0.5594, allocations: 0.6355 MB / 0.6096 GB, free: 7.223 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00075/0.5601, allocations: 0.508 MB / 0.6101 GB, free: 6.875 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.5602, allocations: 7.953 kB / 0.6101 GB, free: 6.867 MB / 410.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.003711/0.5639, allocations: 1.872 MB / 0.612 GB, free: 5.371 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.5639, allocations: 8.062 kB / 0.612 GB, free: 5.363 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003235/0.5672, allocations: 1.616 MB / 0.6136 GB, free: 4.004 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001283/0.5685, allocations: 0.548 MB / 0.6141 GB, free: 3.449 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006359/0.5691, allocations: 147.7 kB / 0.6142 GB, free: 3.305 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008628/0.5778, allocations: 6.212 MB / 0.6203 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008648/0.5787, allocations: 99.94 kB / 0.6204 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-05/0.5787, allocations: 28 kB / 0.6204 GB, free: 12.7 MB / 426.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 () * 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.0002261/0.579, allocations: 148.7 kB / 0.6206 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001509/0.5791, allocations: 63.23 kB / 0.6206 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001997/0.5811, allocations: 1.171 MB / 0.6218 GB, free: 11.29 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-05/0.5812, allocations: 16 kB / 0.6218 GB, free: 11.27 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.5812, allocations: 3.953 kB / 0.6218 GB, free: 11.27 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.5812, allocations: 7.984 kB / 0.6218 GB, free: 11.26 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003778/0.585, allocations: 2.322 MB / 0.6241 GB, free: 8.844 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.585, allocations: 4 kB / 0.6241 GB, free: 8.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002953/0.588, allocations: 0.6322 MB / 0.6247 GB, free: 8.207 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.877e-05/0.5881, allocations: 28.8 kB / 0.6247 GB, free: 8.176 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.44e-05/0.5882, allocations: 19.98 kB / 0.6247 GB, free: 8.156 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001037/0.5892, allocations: 1.385 MB / 0.6261 GB, free: 6.641 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.5892, allocations: 7.984 kB / 0.6261 GB, free: 6.633 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002671/0.5919, allocations: 1.891 MB / 0.6279 GB, free: 4.664 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001984/0.5921, allocations: 128.4 kB / 0.6281 GB, free: 4.52 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.564e-05/0.5922, allocations: 15.98 kB / 0.6281 GB, free: 4.504 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005763/0.5928, allocations: 75.92 kB / 0.6282 GB, free: 4.43 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001813/0.593, allocations: 68.41 kB / 0.6282 GB, free: 4.363 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.271e-05/0.5931, allocations: 16 kB / 0.6282 GB, free: 4.348 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004148/0.5935, allocations: 313.6 kB / 0.6285 GB, free: 4.043 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5935, allocations: 0 / 0.6285 GB, free: 4.043 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001065/0.5946, allocations: 260 kB / 0.6288 GB, free: 3.789 MB / 426.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 () * 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.0003128/0.5949, allocations: 151 kB / 0.6289 GB, free: 3.633 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00258/0.5975, allocations: 1.436 MB / 0.6303 GB, free: 2.168 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.5975, allocations: 128 / 0.6303 GB, free: 2.168 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002871/0.6004, allocations: 1.087 MB / 0.6314 GB, free: 1.066 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009256/0.6013, allocations: 142.8 kB / 0.6315 GB, free: 0.9297 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003874/0.6052, allocations: 1.925 MB / 0.6334 GB, free: 14.96 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008739/0.6061, allocations: 1.095 MB / 0.6345 GB, free: 13.84 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0007796/0.6069, allocations: 201.5 kB / 0.6347 GB, free: 13.64 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000219/0.6071, allocations: 51.44 kB / 0.6347 GB, free: 13.59 MB / 442.7 MB Notification: Performance of SimCode: time 2.234e-06/0.6072, allocations: 0 / 0.6347 GB, free: 13.59 MB / 442.7 MB Notification: Performance of Templates: time 0.02142/0.6286, allocations: 12.27 MB / 0.6467 GB, free: 1.312 MB / 442.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/jenkins/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