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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001547/0.001547, allocations: 110.9 kB / 17.75 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001739/0.001739, allocations: 186.6 kB / 18.68 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.298/1.298, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1733/0.1733, allocations: 38.03 MB / 330.6 MB, free: 8.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 67.83 kB / 458.8 MB, free: 6.828 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2949/0.2961, allocations: 58.05 MB / 0.5048 GB, free: 7.691 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.006615/0.3028, allocations: 6.776 MB / 0.5114 GB, free: 2.984 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00303/0.3058, allocations: 2.143 MB / 0.5135 GB, free: 1.488 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002926/0.3061, allocations: 28.12 kB / 0.5135 GB, free: 1.477 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0013/0.3074, allocations: 0.5176 MB / 0.514 GB, free: 1.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001008/0.3085, allocations: 0.5537 MB / 0.5146 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007713/0.3092, allocations: 360.5 kB / 0.5149 GB, free: 0.707 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001141/0.3104, allocations: 1.305 MB / 0.5162 GB, free: 136 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000872/0.3113, allocations: 0.7327 MB / 0.5169 GB, free: 15.81 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007274/0.312, allocations: 0.5471 MB / 0.5174 GB, free: 15.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00102/0.313, allocations: 0.6946 MB / 0.5181 GB, free: 15.31 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002153/0.3133, allocations: 99.53 kB / 0.5182 GB, free: 15.31 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009793/0.3143, allocations: 0.5165 MB / 0.5187 GB, free: 15.2 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004898/0.3148, allocations: 463.4 kB / 0.5191 GB, free: 15.03 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005839/0.3154, allocations: 0.5156 MB / 0.5196 GB, free: 14.72 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001609/0.317, allocations: 1.464 MB / 0.5211 GB, free: 14.2 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.317, allocations: 0 / 0.5211 GB, free: 14.2 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.317, allocations: 5.031 kB / 0.5211 GB, free: 14.2 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.683e-05/0.317, allocations: 0 / 0.5211 GB, free: 14.2 MB / 398.1 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.002859/0.3199, allocations: 1.342 MB / 0.5224 GB, free: 13.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.3199, allocations: 13.48 kB / 0.5224 GB, free: 13.39 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00079/0.3207, allocations: 148.1 kB / 0.5225 GB, free: 13.33 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001401/0.3221, allocations: 0.6933 MB / 0.5232 GB, free: 12.91 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002333/0.3224, allocations: 169.5 kB / 0.5234 GB, free: 12.79 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002169/0.3226, allocations: 97.61 kB / 0.5235 GB, free: 12.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002278/0.3249, allocations: 1.362 MB / 0.5248 GB, free: 12.14 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.9e-05/0.3249, allocations: 6.062 kB / 0.5248 GB, free: 12.14 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-05/0.3251, allocations: 32.47 kB / 0.5248 GB, free: 12.12 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001603/0.3252, allocations: 68.97 kB / 0.5249 GB, free: 12.1 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002458/0.3277, allocations: 1.293 MB / 0.5262 GB, free: 11.7 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006754/0.3345, allocations: 4.913 MB / 0.531 GB, free: 8.285 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002111/0.3366, allocations: 1.132 MB / 0.5321 GB, free: 7.645 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001088/0.3377, allocations: 0.6158 MB / 0.5327 GB, free: 7.332 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.232e-05/0.3378, allocations: 15.48 kB / 0.5327 GB, free: 7.324 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/0.3378, allocations: 42.53 kB / 0.5327 GB, free: 7.277 MB / 398.1 MB Notification: Performance of pre-optimization done (n=72): time 2.725e-06/0.3378, allocations: 0 / 0.5327 GB, free: 7.277 MB / 398.1 MB Notification: Performance of matching and sorting (n=73): time 0.005843/0.3437, allocations: 3.171 MB / 0.5358 GB, free: 5.398 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.3437, allocations: 83.55 kB / 0.5359 GB, free: 5.301 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005011/0.3442, allocations: 470.5 kB / 0.5364 GB, free: 5.012 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.679e-05/0.3443, allocations: 36.11 kB / 0.5364 GB, free: 4.973 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002417/0.3445, allocations: 396.3 kB / 0.5368 GB, free: 4.621 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002079/0.3448, allocations: 260.3 kB / 0.537 GB, free: 4.395 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002507/0.345, allocations: 149.1 kB / 0.5372 GB, free: 4.309 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.3452, allocations: 377 kB / 0.5375 GB, free: 3.949 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000912/0.3461, allocations: 0.49 MB / 0.538 GB, free: 3.711 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001029/0.3471, allocations: 0.685 MB / 0.5387 GB, free: 3.227 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001928/0.3491, allocations: 1.224 MB / 0.5399 GB, free: 2.473 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.3491, allocations: 1.375 kB / 0.5399 GB, free: 2.473 MB / 398.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004281/0.3534, allocations: 1.98 MB / 0.5418 GB, free: 1.406 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.3534, allocations: 7.656 kB / 0.5418 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003727/0.3571, allocations: 1.712 MB / 0.5435 GB, free: 240 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00177/0.3589, allocations: 0.6572 MB / 0.5441 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005899/0.3595, allocations: 151.8 kB / 0.5443 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01099/0.3705, allocations: 7.419 MB / 0.5515 GB, free: 7.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007576/0.3713, allocations: 71.91 kB / 0.5516 GB, free: 7.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.819e-05/0.3714, allocations: 36.08 kB / 0.5516 GB, free: 7.625 MB / 414.1 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): 73 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0004891/0.3719, allocations: 309.5 kB / 0.5519 GB, free: 7.312 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001515/0.3721, allocations: 59.25 kB / 0.552 GB, free: 7.254 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002359/0.3744, allocations: 1.297 MB / 0.5532 GB, free: 5.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.3745, allocations: 3.984 kB / 0.5532 GB, free: 5.926 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.3745, allocations: 4 kB / 0.5532 GB, free: 5.922 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001457/0.3746, allocations: 136.3 kB / 0.5534 GB, free: 5.77 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/0.3747, allocations: 15.94 kB / 0.5534 GB, free: 5.754 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005293/0.3753, allocations: 63.91 kB / 0.5534 GB, free: 5.691 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001627/0.3754, allocations: 68.39 kB / 0.5535 GB, free: 5.625 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004496/0.38, allocations: 1.791 MB / 0.5553 GB, free: 3.809 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00307/0.383, allocations: 2.004 MB / 0.5572 GB, free: 1.789 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009057/0.384, allocations: 0.5705 MB / 0.5578 GB, free: 1.219 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003409/0.3843, allocations: 322.9 kB / 0.5581 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of Backend: time 5.61e-07/0.3843, allocations: 0 / 0.5581 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002774/0.3871, allocations: 1.276 MB / 0.5593 GB, free: 15.59 MB / 430.1 MB Notification: Performance of SimCode: time 0.003105/0.3902, allocations: 2.342 MB / 0.5616 GB, free: 13.21 MB / 430.1 MB Notification: Performance of Templates: time 0.02427/0.4145, allocations: 16.09 MB / 0.5773 GB, free: 13.21 MB / 446.1 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches