Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.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.AC1ph_DC.Elementary.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 112.2 kB / 17.74 MB, free: 5.355 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.001217/0.001218, allocations: 187.1 kB / 18.67 MB, free: 4.434 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.409/1.409, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1766/0.1766, allocations: 38.05 MB / 330.6 MB, free: 8.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 55.91 kB / 458.8 MB, free: 6.836 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.373/0.3744, allocations: 58.06 MB / 0.5048 GB, free: 7.715 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier): time 0.01005/0.3845, allocations: 6.341 MB / 0.511 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003771/0.3883, allocations: 1.442 MB / 0.5124 GB, free: 2.285 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000645/0.389, allocations: 26.69 kB / 0.5124 GB, free: 2.273 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007785/0.3898, allocations: 155.3 kB / 0.5126 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001544/0.3914, allocations: 419 kB / 0.513 GB, free: 1.949 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008555/0.3923, allocations: 216.6 kB / 0.5132 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002148/0.3944, allocations: 1.117 MB / 0.5142 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007445/0.3952, allocations: 361.1 kB / 0.5146 GB, free: 1.211 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001175/0.3964, allocations: 483.8 kB / 0.5151 GB, free: 1 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001161/0.3976, allocations: 0.5367 MB / 0.5156 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002772/0.3978, allocations: 69.09 kB / 0.5156 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003209/0.3982, allocations: 65.72 kB / 0.5157 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006834/0.3989, allocations: 316.9 kB / 0.516 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009365/0.3998, allocations: 372 kB / 0.5164 GB, free: 476 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001716/0.4016, allocations: 0.8717 MB / 0.5172 GB, free: 144 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.4016, allocations: 4 kB / 0.5172 GB, free: 140 kB / 382.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4016, allocations: 0.875 kB / 0.5172 GB, free: 140 kB / 382.1 MB Notification: Performance of Transformations before backend: time 5.675e-05/0.4016, allocations: 0 / 0.5172 GB, free: 140 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.003542/0.4052, allocations: 1.014 MB / 0.5182 GB, free: 15.46 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/0.4053, allocations: 9.312 kB / 0.5182 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003262/0.4056, allocations: 75.42 kB / 0.5183 GB, free: 15.42 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001363/0.407, allocations: 0.5948 MB / 0.5189 GB, free: 15.04 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001916/0.4072, allocations: 119.8 kB / 0.519 GB, free: 14.95 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/0.4073, allocations: 55.66 kB / 0.519 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001724/0.409, allocations: 0.7861 MB / 0.5198 GB, free: 14.58 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.152e-05/0.4091, allocations: 9.234 kB / 0.5198 GB, free: 14.57 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.715e-05/0.4091, allocations: 20.69 kB / 0.5198 GB, free: 14.55 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001377/0.4093, allocations: 40.27 kB / 0.5199 GB, free: 14.55 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/0.4107, allocations: 0.6884 MB / 0.5205 GB, free: 14.34 MB / 398.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004815/0.4156, allocations: 2.693 MB / 0.5232 GB, free: 12.7 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001845/0.4174, allocations: 0.8725 MB / 0.524 GB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007513/0.4182, allocations: 326.9 kB / 0.5243 GB, free: 12.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.557e-05/0.4182, allocations: 3.812 kB / 0.5243 GB, free: 12.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.092e-05/0.4183, allocations: 45.61 kB / 0.5244 GB, free: 12.11 MB / 398.1 MB Notification: Performance of pre-optimization done (n=38): time 2.255e-06/0.4183, allocations: 0 / 0.5244 GB, free: 12.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=39): time 0.004327/0.4226, allocations: 1.936 MB / 0.5263 GB, free: 10.99 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.093e-05/0.4227, allocations: 90.91 kB / 0.5264 GB, free: 10.89 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006249/0.4233, allocations: 419.3 kB / 0.5268 GB, free: 10.7 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.641e-05/0.4234, allocations: 31.64 kB / 0.5268 GB, free: 10.66 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002612/0.4237, allocations: 318.9 kB / 0.5271 GB, free: 10.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000148/0.4238, allocations: 141.8 kB / 0.5272 GB, free: 10.29 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001719/0.424, allocations: 86.22 kB / 0.5273 GB, free: 10.25 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.4242, allocations: 358.8 kB / 0.5277 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005391/0.4247, allocations: 234 kB / 0.5279 GB, free: 9.848 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006155/0.4253, allocations: 357.9 kB / 0.5282 GB, free: 9.637 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/0.4265, allocations: 0.5773 MB / 0.5288 GB, free: 9.328 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.4265, allocations: 1.188 kB / 0.5288 GB, free: 9.328 MB / 398.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001665/0.4281, allocations: 0.7875 MB / 0.5296 GB, free: 8.953 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/0.4282, allocations: 7.625 kB / 0.5296 GB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.4282, allocations: 8.125 kB / 0.5296 GB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003403/0.4286, allocations: 73.86 kB / 0.5296 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001525/0.4301, allocations: 284.4 kB / 0.5299 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006648/0.4368, allocations: 6.508 MB / 0.5363 GB, free: 2.609 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005183/0.4373, allocations: 35.41 kB / 0.5363 GB, free: 2.594 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.321e-05/0.4374, allocations: 20.73 kB / 0.5363 GB, free: 2.586 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004818/0.4379, allocations: 248.5 kB / 0.5366 GB, free: 2.387 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001379/0.438, allocations: 45.12 kB / 0.5366 GB, free: 2.363 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001454/0.4395, allocations: 0.7336 MB / 0.5373 GB, free: 1.887 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.4395, allocations: 5.25 kB / 0.5373 GB, free: 1.887 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.4395, allocations: 1.031 kB / 0.5373 GB, free: 1.887 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.597e-06/0.4395, allocations: 3.984 kB / 0.5373 GB, free: 1.883 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002927/0.4424, allocations: 1.488 MB / 0.5388 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/0.4425, allocations: 5.125 kB / 0.5388 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001635/0.4441, allocations: 304.1 kB / 0.5391 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002701/0.4444, allocations: 86.22 kB / 0.5392 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.536e-05/0.4444, allocations: 12.62 kB / 0.5392 GB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002449/0.4469, allocations: 3.164 MB / 0.5423 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.4469, allocations: 1.406 kB / 0.5423 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002034/0.4489, allocations: 1.126 MB / 0.5434 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001848/0.4491, allocations: 115 kB / 0.5435 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/0.4493, allocations: 16.53 kB / 0.5435 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003689/0.4496, allocations: 28.03 kB / 0.5435 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/0.4498, allocations: 44.78 kB / 0.5436 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.115e-05/0.4498, allocations: 15 kB / 0.5436 GB, free: 12.6 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003862/0.4502, allocations: 295.4 kB / 0.5439 GB, free: 12.42 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4502, allocations: 0 / 0.5439 GB, free: 12.42 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007871/0.451, allocations: 140.7 kB / 0.544 GB, free: 12.41 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,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 (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001741/0.4512, allocations: 104.5 kB / 0.5441 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002845/0.454, allocations: 0.9912 MB / 0.5451 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.4541, allocations: 1.125 kB / 0.5451 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002002/0.4561, allocations: 0.7343 MB / 0.5458 GB, free: 11.26 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008787/0.457, allocations: 148.2 kB / 0.5459 GB, free: 11.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002824/0.4598, allocations: 1.466 MB / 0.5473 GB, free: 10.21 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008131/0.4606, allocations: 0.9437 MB / 0.5483 GB, free: 9.398 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001798/0.4608, allocations: 43.42 kB / 0.5483 GB, free: 9.387 MB / 414.1 MB Notification: Performance of SimCode: time 8.22e-07/0.4608, allocations: 0 / 0.5483 GB, free: 9.387 MB / 414.1 MB Notification: Performance of Templates: time 0.02259/0.4834, allocations: 16.89 MB / 0.5648 GB, free: 9.414 MB / 430.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches