Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.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.Generic.Network.NetworkLoop_dq0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.i.3.|impedance3.p.1.|impedance3.p.2.|impedance3.p.3.|impedance3.v.1.|impedance3.v.2.|impedance3.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.i.3.|impedance3.p.1.|impedance3.p.2.|impedance3.p.3.|impedance3.v.1.|impedance3.v.2.|impedance3.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 105.5 kB / 17.06 MB, free: 6.016 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.001139/0.001139, allocations: 192 kB / 18 MB, free: 5.102 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.359/1.359, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1731/0.1731, allocations: 38.04 MB / 329.9 MB, free: 8.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 63.89 kB / 458.2 MB, free: 6.824 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4614/0.4627, allocations: 58.05 MB / 0.5041 GB, free: 7.805 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.008461/0.4712, allocations: 7.427 MB / 0.5114 GB, free: 2.602 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006224/0.4775, allocations: 4.444 MB / 0.5157 GB, free: 15.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006045/0.4781, allocations: 13.22 kB / 0.5157 GB, free: 15.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002756/0.4809, allocations: 1.033 MB / 0.5167 GB, free: 14.86 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003957/0.4849, allocations: 1.271 MB / 0.518 GB, free: 14.22 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001312/0.4862, allocations: 344.6 kB / 0.5183 GB, free: 14.06 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002728/0.4889, allocations: 1.404 MB / 0.5197 GB, free: 13.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001433/0.4904, allocations: 0.8009 MB / 0.5205 GB, free: 13.15 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001519/0.4919, allocations: 0.641 MB / 0.5211 GB, free: 12.85 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001112/0.493, allocations: 0.7365 MB / 0.5218 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000141/0.4932, allocations: 78.88 kB / 0.5219 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004154/0.4974, allocations: 1.516 MB / 0.5234 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001209/0.4986, allocations: 0.601 MB / 0.5239 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009863/0.4996, allocations: 0.5622 MB / 0.5245 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006219/0.5058, allocations: 1.893 MB / 0.5263 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.178e-06/0.5058, allocations: 5 kB / 0.5263 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.5058, allocations: 0 / 0.5263 GB, free: 10.86 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.84e-05/0.5059, allocations: 0 / 0.5263 GB, free: 10.86 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.003065/0.5089, allocations: 1.359 MB / 0.5277 GB, free: 9.922 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.509, allocations: 17.67 kB / 0.5277 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004288/0.5133, allocations: 0.5514 MB / 0.5282 GB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001134/0.5144, allocations: 0.5626 MB / 0.5288 GB, free: 9.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.595e-05/0.5145, allocations: 65.48 kB / 0.5288 GB, free: 9.402 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001922/0.5147, allocations: 93.14 kB / 0.5289 GB, free: 9.367 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002643/0.5174, allocations: 1.513 MB / 0.5304 GB, free: 8.492 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.276e-05/0.5174, allocations: 5.547 kB / 0.5304 GB, free: 8.488 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000111/0.5175, allocations: 35.61 kB / 0.5304 GB, free: 8.461 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001485/0.5177, allocations: 103.3 kB / 0.5305 GB, free: 8.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002869/0.5206, allocations: 1.545 MB / 0.532 GB, free: 7.699 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.008723/0.5293, allocations: 4.893 MB / 0.5368 GB, free: 4.219 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002038/0.5314, allocations: 1.186 MB / 0.538 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001261/0.5326, allocations: 0.766 MB / 0.5387 GB, free: 3.211 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.341e-05/0.5327, allocations: 24.05 kB / 0.5388 GB, free: 3.199 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.003e-05/0.5328, allocations: 45.06 kB / 0.5388 GB, free: 3.148 MB / 398.1 MB Notification: Performance of pre-optimization done (n=107): time 4.248e-06/0.5328, allocations: 0 / 0.5388 GB, free: 3.148 MB / 398.1 MB Notification: Performance of matching and sorting (n=108): time 0.01018/0.543, allocations: 3.707 MB / 0.5424 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.878e-05/0.5431, allocations: 90.11 kB / 0.5425 GB, free: 0.832 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007286/0.5438, allocations: 469.8 kB / 0.543 GB, free: 372 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.957e-05/0.5439, allocations: 41.7 kB / 0.543 GB, free: 324 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003608/0.5443, allocations: 440.8 kB / 0.5434 GB, free: 15.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004444/0.5447, allocations: 392.6 kB / 0.5438 GB, free: 15.49 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003322/0.5451, allocations: 198.9 kB / 0.544 GB, free: 15.29 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002274/0.5453, allocations: 378.8 kB / 0.5443 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008059/0.5461, allocations: 0.5413 MB / 0.5449 GB, free: 14.37 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00096/0.5471, allocations: 0.75 MB / 0.5456 GB, free: 13.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001844/0.549, allocations: 1.404 MB / 0.547 GB, free: 12.06 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.549, allocations: 3.75 kB / 0.547 GB, free: 12.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003146/0.5521, allocations: 1.806 MB / 0.5487 GB, free: 10.24 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.777e-05/0.5522, allocations: 12.06 kB / 0.5487 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/0.5522, allocations: 8 kB / 0.5488 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001119/0.5533, allocations: 397.4 kB / 0.5491 GB, free: 9.824 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008901/0.5542, allocations: 239.6 kB / 0.5494 GB, free: 9.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007789/0.562, allocations: 6.082 MB / 0.5553 GB, free: 3.207 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/0.5631, allocations: 67.92 kB / 0.5554 GB, free: 3.141 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.531e-05/0.5632, allocations: 44 kB / 0.5554 GB, free: 3.098 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (105): * Single equations (assignments): 103 * Array equations: 0 * 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): 2 systems {(2,26,100.0%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008217/0.564, allocations: 369.4 kB / 0.5558 GB, free: 2.727 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/0.5642, allocations: 75.53 kB / 0.5558 GB, free: 2.652 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003174/0.5674, allocations: 1.803 MB / 0.5576 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/0.5674, allocations: 12 kB / 0.5576 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/0.5674, allocations: 11.94 kB / 0.5576 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.43e-05/0.5674, allocations: 7.969 kB / 0.5576 GB, free: 0.8047 MB / 414.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 postOpt removeSimpleEquations (simulation): time 0.005974/0.5734, allocations: 3.473 MB / 0.561 GB, free: 13.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.247e-06/0.5734, allocations: 3.984 kB / 0.561 GB, free: 13.19 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007372/0.5742, allocations: 188.2 kB / 0.5612 GB, free: 13.01 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009516/0.5751, allocations: 353.3 kB / 0.5615 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.579e-05/0.5752, allocations: 31.92 kB / 0.5616 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007062/0.5823, allocations: 5.779 MB / 0.5672 GB, free: 6.555 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.318e-05/0.5823, allocations: 8 kB / 0.5672 GB, free: 6.547 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003106/0.5854, allocations: 1.841 MB / 0.569 GB, free: 4.637 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003013/0.5857, allocations: 168.5 kB / 0.5692 GB, free: 4.453 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.5859, allocations: 27.98 kB / 0.5692 GB, free: 4.426 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005299/0.5864, allocations: 51.89 kB / 0.5693 GB, free: 4.375 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001841/0.5866, allocations: 88.81 kB / 0.5693 GB, free: 4.289 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.74e-05/0.5867, allocations: 36 kB / 0.5694 GB, free: 4.254 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004255/0.5871, allocations: 327.1 kB / 0.5697 GB, free: 3.934 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5871, allocations: 4 kB / 0.5697 GB, free: 3.93 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001395/0.5885, allocations: 399.9 kB / 0.5701 GB, free: 3.539 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 simulation (91): * Single equations (assignments): 88 * 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,7,100.0%), (2,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001983/0.5887, allocations: 130 kB / 0.5702 GB, free: 3.406 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002768/0.5915, allocations: 1.756 MB / 0.5719 GB, free: 1.629 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.5915, allocations: 4.188 kB / 0.5719 GB, free: 1.625 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001637/0.5932, allocations: 1.084 MB / 0.573 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007661/0.5939, allocations: 118.9 kB / 0.5731 GB, free: 408 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003797/0.5977, allocations: 2.236 MB / 0.5753 GB, free: 14.08 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009281/0.5987, allocations: 1.171 MB / 0.5764 GB, free: 12.88 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005969/0.5993, allocations: 233.4 kB / 0.5766 GB, free: 12.65 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002318/0.5995, allocations: 63.42 kB / 0.5767 GB, free: 12.59 MB / 446.1 MB Notification: Performance of SimCode: time 7.61e-07/0.5995, allocations: 0 / 0.5767 GB, free: 12.59 MB / 446.1 MB Notification: Performance of Templates: time 0.02087/0.6204, allocations: 12.75 MB / 0.5891 GB, free: 15.85 MB / 462.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches