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.001443/0.001443, allocations: 108.6 kB / 17.06 MB, free: 5.957 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.001665/0.001666, allocations: 200 kB / 18.01 MB, free: 5.035 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.452/1.452, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1852/0.1852, allocations: 38.05 MB / 329.9 MB, free: 8.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 63.91 kB / 458.2 MB, free: 6.852 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4629/0.4642, allocations: 58.06 MB / 0.5041 GB, free: 7.809 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.008295/0.4725, allocations: 6.758 MB / 0.5107 GB, free: 3.109 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004222/0.4768, allocations: 2.148 MB / 0.5128 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006907/0.4775, allocations: 24.16 kB / 0.5128 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001746/0.4793, allocations: 0.5138 MB / 0.5133 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001838/0.4811, allocations: 0.5592 MB / 0.5139 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001248/0.4824, allocations: 369.1 kB / 0.5142 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002621/0.485, allocations: 1.302 MB / 0.5155 GB, free: 260 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001593/0.4866, allocations: 0.7337 MB / 0.5162 GB, free: 15.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001654/0.4883, allocations: 0.5544 MB / 0.5168 GB, free: 15.68 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002028/0.4904, allocations: 0.6914 MB / 0.5174 GB, free: 15.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006091/0.491, allocations: 99.59 kB / 0.5175 GB, free: 15.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00216/0.4932, allocations: 0.5169 MB / 0.518 GB, free: 15.31 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00129/0.4945, allocations: 462.8 kB / 0.5185 GB, free: 15.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001742/0.4962, allocations: 0.5232 MB / 0.519 GB, free: 14.83 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003802/0.5, allocations: 1.46 MB / 0.5204 GB, free: 14.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.5, allocations: 0 / 0.5204 GB, free: 14.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.5001, allocations: 3.938 kB / 0.5204 GB, free: 14.31 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.81e-05/0.5001, allocations: 1.062 kB / 0.5204 GB, free: 14.31 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.006413/0.5066, allocations: 1.342 MB / 0.5217 GB, free: 13.5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.119e-05/0.5066, allocations: 14.09 kB / 0.5217 GB, free: 13.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001344/0.508, allocations: 147.6 kB / 0.5219 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002126/0.5101, allocations: 0.6891 MB / 0.5226 GB, free: 13.03 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003753/0.5105, allocations: 182.1 kB / 0.5227 GB, free: 12.89 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002814/0.5108, allocations: 97 kB / 0.5228 GB, free: 12.86 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003276/0.5141, allocations: 1.362 MB / 0.5242 GB, free: 12.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.189e-05/0.5141, allocations: 1.719 kB / 0.5242 GB, free: 12.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/0.5143, allocations: 32.34 kB / 0.5242 GB, free: 12.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001764/0.5144, allocations: 62.08 kB / 0.5243 GB, free: 12.22 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002754/0.5172, allocations: 1.297 MB / 0.5255 GB, free: 11.81 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007652/0.5249, allocations: 4.906 MB / 0.5303 GB, free: 8.352 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002147/0.527, allocations: 1.132 MB / 0.5314 GB, free: 7.711 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001162/0.5282, allocations: 0.6232 MB / 0.532 GB, free: 7.391 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.647e-05/0.5283, allocations: 12.45 kB / 0.532 GB, free: 7.387 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.5283, allocations: 41.28 kB / 0.5321 GB, free: 7.34 MB / 398.1 MB Notification: Performance of pre-optimization done (n=72): time 3.486e-06/0.5283, allocations: 1.062 kB / 0.5321 GB, free: 7.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=73): time 0.006197/0.5345, allocations: 3.171 MB / 0.5352 GB, free: 5.461 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.55e-05/0.5346, allocations: 84.2 kB / 0.5353 GB, free: 5.363 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005404/0.5352, allocations: 466 kB / 0.5357 GB, free: 5.078 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.675e-05/0.5352, allocations: 39.83 kB / 0.5357 GB, free: 5.035 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002539/0.5355, allocations: 392.8 kB / 0.5361 GB, free: 4.688 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002038/0.5357, allocations: 252.1 kB / 0.5363 GB, free: 4.469 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002765/0.536, allocations: 152.7 kB / 0.5365 GB, free: 4.379 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.5362, allocations: 376.1 kB / 0.5369 GB, free: 4.02 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008971/0.5371, allocations: 0.49 MB / 0.5373 GB, free: 3.781 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001016/0.5381, allocations: 0.6822 MB / 0.538 GB, free: 3.301 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001958/0.5401, allocations: 1.223 MB / 0.5392 GB, free: 2.547 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.5401, allocations: 5.312 kB / 0.5392 GB, free: 2.543 MB / 398.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004384/0.5445, allocations: 1.981 MB / 0.5411 GB, free: 1.477 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.75e-05/0.5445, allocations: 7.531 kB / 0.5411 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003669/0.5482, allocations: 1.715 MB / 0.5428 GB, free: 240 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001739/0.5499, allocations: 0.6612 MB / 0.5435 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006033/0.5505, allocations: 151.8 kB / 0.5436 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01072/0.5613, allocations: 7.417 MB / 0.5508 GB, free: 7.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008641/0.5622, allocations: 76 kB / 0.5509 GB, free: 7.656 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.861e-05/0.5623, allocations: 28 kB / 0.5509 GB, free: 7.629 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.0005602/0.5628, allocations: 313.5 kB / 0.5512 GB, free: 7.312 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001498/0.563, allocations: 63.25 kB / 0.5513 GB, free: 7.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002377/0.5654, allocations: 1.293 MB / 0.5526 GB, free: 5.93 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.139e-05/0.5654, allocations: 12 kB / 0.5526 GB, free: 5.918 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.5654, allocations: 4 kB / 0.5526 GB, free: 5.914 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.769e-06/0.5654, allocations: 3.984 kB / 0.5526 GB, free: 5.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004444/0.5699, allocations: 2.405 MB / 0.5549 GB, free: 3.414 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.205e-05/0.5699, allocations: 3.938 kB / 0.5549 GB, free: 3.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002503/0.5724, allocations: 499.3 kB / 0.5554 GB, free: 2.922 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001324/0.5726, allocations: 40.84 kB / 0.5555 GB, free: 2.879 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7e-05/0.5726, allocations: 16 kB / 0.5555 GB, free: 2.863 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001364/0.574, allocations: 1.622 MB / 0.5571 GB, free: 1.102 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.574, allocations: 7.969 kB / 0.5571 GB, free: 1.094 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003333/0.5774, allocations: 2.017 MB / 0.559 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002755/0.5777, allocations: 128.4 kB / 0.5592 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.205e-05/0.5778, allocations: 19.94 kB / 0.5592 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005084/0.5783, allocations: 63.91 kB / 0.5592 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001963/0.5785, allocations: 60.47 kB / 0.5593 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.296e-05/0.5786, allocations: 24 kB / 0.5593 GB, free: 14.72 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004442/0.579, allocations: 322.8 kB / 0.5596 GB, free: 14.41 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.579, allocations: 0 / 0.5596 GB, free: 14.41 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001102/0.5801, allocations: 232 kB / 0.5598 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.0002576/0.5804, allocations: 135 kB / 0.56 GB, free: 14.04 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003082/0.5835, allocations: 1.571 MB / 0.5615 GB, free: 12.44 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.5835, allocations: 0 / 0.5615 GB, free: 12.44 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002661/0.5862, allocations: 1.006 MB / 0.5625 GB, free: 11.42 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009564/0.5871, allocations: 163.1 kB / 0.5626 GB, free: 11.27 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004685/0.5918, allocations: 2.257 MB / 0.5648 GB, free: 8.969 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001132/0.593, allocations: 1.071 MB / 0.5659 GB, free: 7.871 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000675/0.5937, allocations: 213.5 kB / 0.5661 GB, free: 7.66 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002612/0.5939, allocations: 59.42 kB / 0.5662 GB, free: 7.605 MB / 430.1 MB Notification: Performance of SimCode: time 1.362e-06/0.594, allocations: 0 / 0.5662 GB, free: 7.605 MB / 430.1 MB Notification: Performance of Templates: time 0.02706/0.621, allocations: 13.64 MB / 0.5795 GB, free: 10.05 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