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.001456/0.001456, allocations: 115.7 kB / 17.74 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.001845/0.001845, allocations: 185.6 kB / 18.67 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.375/1.375, allocations: 222.9 MB / 242.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1741/0.1741, allocations: 38.04 MB / 330.6 MB, free: 8.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 67.89 kB / 458.8 MB, free: 6.848 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.3474, allocations: 58.06 MB / 0.5048 GB, free: 7.816 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.007656/0.3551, allocations: 6.762 MB / 0.5114 GB, free: 3.117 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003816/0.3589, allocations: 2.146 MB / 0.5135 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005396/0.3595, allocations: 27.22 kB / 0.5135 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0015/0.361, allocations: 0.5142 MB / 0.514 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001442/0.3625, allocations: 0.5529 MB / 0.5145 GB, free: 1 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.3635, allocations: 373.5 kB / 0.5149 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001601/0.3652, allocations: 1.301 MB / 0.5162 GB, free: 264 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001046/0.3662, allocations: 0.7372 MB / 0.5169 GB, free: 15.94 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001238/0.3675, allocations: 0.5462 MB / 0.5174 GB, free: 15.7 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001346/0.3688, allocations: 0.6955 MB / 0.5181 GB, free: 15.44 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002482/0.3691, allocations: 99.69 kB / 0.5182 GB, free: 15.44 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001138/0.3702, allocations: 0.5201 MB / 0.5187 GB, free: 15.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005759/0.3708, allocations: 464.4 kB / 0.5191 GB, free: 15.15 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006258/0.3715, allocations: 0.5148 MB / 0.5196 GB, free: 14.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001949/0.3734, allocations: 1.463 MB / 0.5211 GB, free: 14.33 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3734, allocations: 1.219 kB / 0.5211 GB, free: 14.33 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3734, allocations: 0 / 0.5211 GB, free: 14.33 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.144e-05/0.3735, allocations: 0 / 0.5211 GB, free: 14.33 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.00316/0.3766, allocations: 1.343 MB / 0.5224 GB, free: 13.52 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.3767, allocations: 13.48 kB / 0.5224 GB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007901/0.3775, allocations: 151.8 kB / 0.5225 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001304/0.3788, allocations: 0.6894 MB / 0.5232 GB, free: 13.04 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000234/0.379, allocations: 173.2 kB / 0.5234 GB, free: 12.91 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002331/0.3793, allocations: 97.8 kB / 0.5235 GB, free: 12.88 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002559/0.3819, allocations: 1.362 MB / 0.5248 GB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.096e-05/0.3819, allocations: 6.094 kB / 0.5248 GB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.984e-05/0.382, allocations: 36.39 kB / 0.5249 GB, free: 12.24 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001721/0.3822, allocations: 61.16 kB / 0.5249 GB, free: 12.23 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002574/0.3848, allocations: 1.293 MB / 0.5262 GB, free: 11.83 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007373/0.3921, allocations: 4.906 MB / 0.531 GB, free: 8.355 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002271/0.3945, allocations: 1.131 MB / 0.5321 GB, free: 7.715 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001179/0.3957, allocations: 0.6233 MB / 0.5327 GB, free: 7.395 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.818e-05/0.3957, allocations: 8.031 kB / 0.5327 GB, free: 7.395 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/0.3958, allocations: 42.5 kB / 0.5327 GB, free: 7.348 MB / 398.1 MB Notification: Performance of pre-optimization done (n=72): time 3.116e-06/0.3958, allocations: 0 / 0.5327 GB, free: 7.348 MB / 398.1 MB Notification: Performance of matching and sorting (n=73): time 0.00675/0.4025, allocations: 3.175 MB / 0.5358 GB, free: 5.465 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.534e-05/0.4026, allocations: 88.92 kB / 0.5359 GB, free: 5.363 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006258/0.4033, allocations: 461.1 kB / 0.5363 GB, free: 5.082 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.12e-05/0.4033, allocations: 40.92 kB / 0.5364 GB, free: 5.039 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002824/0.4036, allocations: 393.9 kB / 0.5368 GB, free: 4.691 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000224/0.4039, allocations: 254.5 kB / 0.537 GB, free: 4.469 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002543/0.4041, allocations: 149.3 kB / 0.5371 GB, free: 4.383 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.4043, allocations: 372.1 kB / 0.5375 GB, free: 4.027 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009401/0.4053, allocations: 0.4943 MB / 0.538 GB, free: 3.785 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00113/0.4064, allocations: 0.682 MB / 0.5387 GB, free: 3.305 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002062/0.4085, allocations: 1.226 MB / 0.5398 GB, free: 2.547 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.224e-06/0.4085, allocations: 6.688 kB / 0.5399 GB, free: 2.543 MB / 398.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004526/0.413, allocations: 1.98 MB / 0.5418 GB, free: 1.477 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/0.4131, allocations: 7.594 kB / 0.5418 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003913/0.417, allocations: 1.714 MB / 0.5435 GB, free: 240 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00181/0.4188, allocations: 0.6611 MB / 0.5441 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007084/0.4195, allocations: 151.8 kB / 0.5443 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01168/0.4312, allocations: 7.416 MB / 0.5515 GB, free: 7.734 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009103/0.4322, allocations: 71.91 kB / 0.5516 GB, free: 7.664 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.663e-05/0.4323, allocations: 28 kB / 0.5516 GB, free: 7.637 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.0006035/0.4329, allocations: 313.5 kB / 0.5519 GB, free: 7.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001807/0.4331, allocations: 67.41 kB / 0.552 GB, free: 7.254 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002386/0.4355, allocations: 1.297 MB / 0.5532 GB, free: 5.93 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.307e-05/0.4355, allocations: 16 kB / 0.5532 GB, free: 5.914 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.4355, allocations: 0 / 0.5532 GB, free: 5.914 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.4355, allocations: 3.984 kB / 0.5532 GB, free: 5.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004058/0.4396, allocations: 2.409 MB / 0.5556 GB, free: 3.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.4396, allocations: 3.938 kB / 0.5556 GB, free: 3.406 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00276/0.4424, allocations: 0.4915 MB / 0.5561 GB, free: 2.914 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001165/0.4425, allocations: 36.84 kB / 0.5561 GB, free: 2.875 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.78e-05/0.4426, allocations: 15.98 kB / 0.5561 GB, free: 2.859 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001237/0.4438, allocations: 1.622 MB / 0.5577 GB, free: 1.098 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.4439, allocations: 4.031 kB / 0.5577 GB, free: 1.094 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003393/0.4473, allocations: 2.013 MB / 0.5597 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002243/0.4475, allocations: 136.4 kB / 0.5598 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001172/0.4476, allocations: 15.98 kB / 0.5598 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005351/0.4482, allocations: 55.92 kB / 0.5599 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001723/0.4484, allocations: 64.47 kB / 0.5599 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.846e-05/0.4484, allocations: 16 kB / 0.56 GB, free: 14.73 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003981/0.4488, allocations: 322.8 kB / 0.5603 GB, free: 14.41 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4488, allocations: 3.938 kB / 0.5603 GB, free: 14.41 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001056/0.4499, allocations: 240 kB / 0.5605 GB, free: 14.18 MB / 430.1 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 (67): * Single equations (assignments): 64 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002462/0.4501, allocations: 135.1 kB / 0.5606 GB, free: 14.04 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002994/0.4531, allocations: 1.575 MB / 0.5622 GB, free: 12.44 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.4532, allocations: 0 / 0.5622 GB, free: 12.44 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002647/0.4558, allocations: 0.9939 MB / 0.5631 GB, free: 11.43 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009583/0.4568, allocations: 146.8 kB / 0.5633 GB, free: 11.29 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004114/0.4609, allocations: 2.342 MB / 0.5656 GB, free: 8.898 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006353/0.4616, allocations: 1.071 MB / 0.5666 GB, free: 7.801 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000261/0.4618, allocations: 59.42 kB / 0.5667 GB, free: 7.746 MB / 430.1 MB Notification: Performance of SimCode: time 8.22e-07/0.4618, allocations: 0 / 0.5667 GB, free: 7.746 MB / 430.1 MB Notification: Performance of Templates: time 0.02445/0.4863, allocations: 20.29 MB / 0.5865 GB, free: 3.484 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