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.001112/0.001112, allocations: 101.3 kB / 17.05 MB, free: 6.125 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.00102/0.00102, allocations: 196.1 kB / 18 MB, free: 5.199 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.385/1.385, allocations: 222.9 MB / 241.7 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1761/0.1761, allocations: 38.04 MB / 329.9 MB, free: 8.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001234, allocations: 67.89 kB / 458.2 MB, free: 6.828 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3954/0.3967, allocations: 58.06 MB / 0.5041 GB, free: 7.789 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.008303/0.405, allocations: 6.767 MB / 0.5107 GB, free: 3.086 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004247/0.4093, allocations: 2.145 MB / 0.5128 GB, free: 1.586 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006221/0.41, allocations: 28.03 kB / 0.5128 GB, free: 1.574 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001675/0.4117, allocations: 0.5139 MB / 0.5133 GB, free: 1.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001648/0.4133, allocations: 0.5538 MB / 0.5139 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001193/0.4145, allocations: 372.1 kB / 0.5142 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001704/0.4162, allocations: 1.3 MB / 0.5155 GB, free: 240 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001031/0.4173, allocations: 0.7268 MB / 0.5162 GB, free: 15.92 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001062/0.4184, allocations: 0.5575 MB / 0.5168 GB, free: 15.67 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001229/0.4196, allocations: 0.6871 MB / 0.5174 GB, free: 15.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002595/0.4199, allocations: 103.4 kB / 0.5175 GB, free: 15.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001251/0.4211, allocations: 0.5163 MB / 0.518 GB, free: 15.3 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006135/0.4218, allocations: 463.4 kB / 0.5185 GB, free: 15.13 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007066/0.4225, allocations: 0.5199 MB / 0.519 GB, free: 14.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002262/0.4248, allocations: 1.463 MB / 0.5204 GB, free: 14.3 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.535e-06/0.4248, allocations: 2.016 kB / 0.5204 GB, free: 14.3 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.4248, allocations: 0 / 0.5204 GB, free: 14.3 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.964e-05/0.4248, allocations: 0 / 0.5204 GB, free: 14.3 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.003151/0.428, allocations: 1.346 MB / 0.5217 GB, free: 13.49 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.428, allocations: 13.48 kB / 0.5217 GB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008374/0.4289, allocations: 147.8 kB / 0.5219 GB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001677/0.4305, allocations: 0.6903 MB / 0.5226 GB, free: 13.01 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002684/0.4308, allocations: 171.9 kB / 0.5227 GB, free: 12.88 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002335/0.4311, allocations: 102.3 kB / 0.5228 GB, free: 12.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00249/0.4336, allocations: 1.366 MB / 0.5242 GB, free: 12.23 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.949e-05/0.4336, allocations: 4.938 kB / 0.5242 GB, free: 12.23 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.651e-05/0.4337, allocations: 33.47 kB / 0.5242 GB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001573/0.4339, allocations: 60.62 kB / 0.5243 GB, free: 12.2 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0026/0.4365, allocations: 1.294 MB / 0.5255 GB, free: 11.8 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007295/0.4438, allocations: 4.911 MB / 0.5303 GB, free: 8.32 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002079/0.4459, allocations: 1.127 MB / 0.5314 GB, free: 7.684 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001085/0.447, allocations: 0.6176 MB / 0.532 GB, free: 7.367 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.342e-05/0.4471, allocations: 8.031 kB / 0.532 GB, free: 7.367 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.4471, allocations: 45.36 kB / 0.5321 GB, free: 7.316 MB / 398.1 MB Notification: Performance of pre-optimization done (n=72): time 2.936e-06/0.4471, allocations: 0 / 0.5321 GB, free: 7.316 MB / 398.1 MB Notification: Performance of matching and sorting (n=73): time 0.006232/0.4534, allocations: 3.172 MB / 0.5352 GB, free: 5.438 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.82e-05/0.4535, allocations: 88.39 kB / 0.5352 GB, free: 5.336 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006079/0.4541, allocations: 469.7 kB / 0.5357 GB, free: 5.047 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.298e-05/0.4541, allocations: 41.17 kB / 0.5357 GB, free: 5.004 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003551/0.4545, allocations: 391.8 kB / 0.5361 GB, free: 4.656 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002301/0.4547, allocations: 257.5 kB / 0.5364 GB, free: 4.434 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002679/0.455, allocations: 144.3 kB / 0.5365 GB, free: 4.352 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.4552, allocations: 376.5 kB / 0.5369 GB, free: 3.992 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009582/0.4562, allocations: 0.4941 MB / 0.5373 GB, free: 3.75 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001074/0.4573, allocations: 0.6812 MB / 0.538 GB, free: 3.27 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002078/0.4593, allocations: 1.224 MB / 0.5392 GB, free: 2.516 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.704e-06/0.4594, allocations: 5.312 kB / 0.5392 GB, free: 2.512 MB / 398.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004784/0.4642, allocations: 1.984 MB / 0.5411 GB, free: 1.441 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/0.4642, allocations: 6.875 kB / 0.5411 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003615/0.4678, allocations: 1.717 MB / 0.5428 GB, free: 244 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001715/0.4695, allocations: 0.6534 MB / 0.5435 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005888/0.4701, allocations: 155.7 kB / 0.5436 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01111/0.4813, allocations: 7.412 MB / 0.5508 GB, free: 7.742 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009542/0.4823, allocations: 76 kB / 0.5509 GB, free: 7.668 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.66e-05/0.4824, allocations: 28 kB / 0.5509 GB, free: 7.641 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.0006369/0.483, allocations: 309.5 kB / 0.5512 GB, free: 7.328 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001542/0.4832, allocations: 63.23 kB / 0.5513 GB, free: 7.266 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002269/0.4854, allocations: 1.301 MB / 0.5526 GB, free: 5.938 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.109e-05/0.4855, allocations: 12 kB / 0.5526 GB, free: 5.926 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.4855, allocations: 0 / 0.5526 GB, free: 5.926 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.4855, allocations: 7.984 kB / 0.5526 GB, free: 5.918 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004039/0.4895, allocations: 2.401 MB / 0.5549 GB, free: 3.426 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.205e-06/0.4896, allocations: 7.938 kB / 0.5549 GB, free: 3.418 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002377/0.4919, allocations: 499.3 kB / 0.5554 GB, free: 2.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001167/0.4921, allocations: 36.83 kB / 0.5555 GB, free: 2.891 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-05/0.4921, allocations: 20 kB / 0.5555 GB, free: 2.871 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001239/0.4934, allocations: 1.626 MB / 0.5571 GB, free: 1.105 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.4934, allocations: 0 / 0.5571 GB, free: 1.105 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003296/0.4967, allocations: 2.013 MB / 0.559 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002579/0.497, allocations: 132.3 kB / 0.5592 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.608e-05/0.4971, allocations: 16 kB / 0.5592 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004947/0.4976, allocations: 59.92 kB / 0.5592 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001874/0.4978, allocations: 64.41 kB / 0.5593 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.103e-05/0.4978, allocations: 19.98 kB / 0.5593 GB, free: 14.74 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003758/0.4982, allocations: 326.8 kB / 0.5596 GB, free: 14.42 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4982, allocations: 0 / 0.5596 GB, free: 14.42 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001119/0.4994, allocations: 240.1 kB / 0.5598 GB, free: 14.19 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.0002791/0.4996, allocations: 131 kB / 0.56 GB, free: 14.05 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0028/0.5025, allocations: 1.571 MB / 0.5615 GB, free: 12.45 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.5025, allocations: 0 / 0.5615 GB, free: 12.45 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002485/0.505, allocations: 1.009 MB / 0.5625 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.001034/0.506, allocations: 153.3 kB / 0.5626 GB, free: 11.29 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004133/0.5102, allocations: 2.26 MB / 0.5648 GB, free: 8.98 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007399/0.5109, allocations: 1.075 MB / 0.5659 GB, free: 7.879 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005618/0.5115, allocations: 209.5 kB / 0.5661 GB, free: 7.672 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001944/0.5117, allocations: 55.42 kB / 0.5661 GB, free: 7.621 MB / 430.1 MB Notification: Performance of SimCode: time 8.12e-07/0.5117, allocations: 0 / 0.5661 GB, free: 7.621 MB / 430.1 MB Notification: Performance of Templates: time 0.02153/0.5332, allocations: 13.65 MB / 0.5795 GB, free: 10.07 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Rectifier.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches