Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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_dq,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.p.1.|impedance3.p.2.|impedance3.v.1.|impedance3.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.p.1.|impedance3.p.2.|impedance3.v.1.|impedance3.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001215, allocations: 111.2 kB / 17.06 MB, free: 6 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.001367/0.001367, allocations: 196 kB / 18 MB, free: 5.078 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.436/1.436, 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.181/0.181, allocations: 38.04 MB / 329.9 MB, free: 8.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002354/0.002355, allocations: 59.89 kB / 458.2 MB, free: 6.871 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4999/0.5023, allocations: 58.05 MB / 0.5041 GB, free: 7.734 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.00992/0.5122, allocations: 7.426 MB / 0.5114 GB, free: 2.535 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00678/0.5191, allocations: 4.388 MB / 0.5156 GB, free: 15.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008764/0.52, allocations: 16.81 kB / 0.5157 GB, free: 15.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002905/0.5229, allocations: 1.027 MB / 0.5167 GB, free: 14.83 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004499/0.5274, allocations: 1.222 MB / 0.5179 GB, free: 14.19 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001253/0.5287, allocations: 317.2 kB / 0.5182 GB, free: 14.04 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003077/0.5318, allocations: 1.406 MB / 0.5195 GB, free: 13.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001328/0.5331, allocations: 0.6605 MB / 0.5202 GB, free: 13.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001768/0.5349, allocations: 0.6193 MB / 0.5208 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001415/0.5363, allocations: 0.6778 MB / 0.5214 GB, free: 12.62 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001562/0.5365, allocations: 63.72 kB / 0.5215 GB, free: 12.62 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004244/0.5407, allocations: 1.328 MB / 0.5228 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007543/0.5415, allocations: 479.8 kB / 0.5233 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006292/0.5421, allocations: 438.7 kB / 0.5237 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003208/0.5454, allocations: 1.458 MB / 0.5251 GB, free: 11.19 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.5454, allocations: 0 / 0.5251 GB, free: 11.19 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.5454, allocations: 7.938 kB / 0.5251 GB, free: 11.18 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.595e-05/0.5454, allocations: 1.406 kB / 0.5251 GB, free: 11.18 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002098/0.5475, allocations: 1.119 MB / 0.5262 GB, free: 10.38 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.5476, allocations: 13.77 kB / 0.5262 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003321/0.5509, allocations: 389.9 kB / 0.5266 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009653/0.5519, allocations: 490 kB / 0.5271 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.25e-05/0.552, allocations: 54.8 kB / 0.5271 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001715/0.5521, allocations: 74.92 kB / 0.5272 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002308/0.5544, allocations: 1.184 MB / 0.5283 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.988e-05/0.5545, allocations: 5.406 kB / 0.5283 GB, free: 9.449 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.941e-05/0.5546, allocations: 30.67 kB / 0.5284 GB, free: 9.426 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001237/0.5547, allocations: 68.98 kB / 0.5284 GB, free: 9.422 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002149/0.5569, allocations: 1.241 MB / 0.5297 GB, free: 9.035 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005674/0.5626, allocations: 3.492 MB / 0.5331 GB, free: 6.652 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001888/0.5645, allocations: 1.058 MB / 0.5341 GB, free: 6.094 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001103/0.5656, allocations: 0.6635 MB / 0.5347 GB, free: 5.754 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.791e-05/0.5657, allocations: 14.58 kB / 0.5348 GB, free: 5.75 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.482e-05/0.5657, allocations: 47.84 kB / 0.5348 GB, free: 5.699 MB / 398.1 MB Notification: Performance of pre-optimization done (n=91): time 3.967e-06/0.5657, allocations: 7.922 kB / 0.5348 GB, free: 5.691 MB / 398.1 MB Notification: Performance of matching and sorting (n=92): time 0.01055/0.5763, allocations: 3.088 MB / 0.5378 GB, free: 4.055 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.988e-05/0.5764, allocations: 91.3 kB / 0.5379 GB, free: 3.953 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007559/0.5772, allocations: 363.3 kB / 0.5383 GB, free: 3.727 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.446e-05/0.5773, allocations: 40.45 kB / 0.5383 GB, free: 3.684 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002992/0.5776, allocations: 318.5 kB / 0.5386 GB, free: 3.398 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004947/0.5781, allocations: 316.7 kB / 0.5389 GB, free: 3.125 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004142/0.5786, allocations: 163.2 kB / 0.5391 GB, free: 3.027 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002392/0.5788, allocations: 367.3 kB / 0.5394 GB, free: 2.676 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001135/0.58, allocations: 465.4 kB / 0.5399 GB, free: 2.457 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001293/0.5813, allocations: 0.5737 MB / 0.5404 GB, free: 2.113 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002835/0.5841, allocations: 1.109 MB / 0.5415 GB, free: 1.512 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.063e-05/0.5841, allocations: 1.312 kB / 0.5415 GB, free: 1.512 MB / 398.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.004532/0.5887, allocations: 1.476 MB / 0.5429 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.513e-05/0.5887, allocations: 4 kB / 0.5429 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/0.5888, allocations: 4 kB / 0.5429 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001389/0.5902, allocations: 338.4 kB / 0.5433 GB, free: 176 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/0.5913, allocations: 183.8 kB / 0.5434 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008766/0.6, allocations: 4.188 MB / 0.5475 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/0.6013, allocations: 43.95 kB / 0.5476 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001482/0.6015, allocations: 44.05 kB / 0.5476 GB, free: 11.55 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (80): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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 {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009392/0.6024, allocations: 289.6 kB / 0.5479 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002177/0.6027, allocations: 59.34 kB / 0.548 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004848/0.6075, allocations: 1.571 MB / 0.5495 GB, free: 9.613 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.61e-05/0.6076, allocations: 8 kB / 0.5495 GB, free: 9.605 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.569e-05/0.6076, allocations: 8 kB / 0.5495 GB, free: 9.598 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-05/0.6076, allocations: 3.984 kB / 0.5495 GB, free: 9.594 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.009033/0.6167, allocations: 3.031 MB / 0.5525 GB, free: 6.438 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.096e-05/0.6167, allocations: 4 kB / 0.5525 GB, free: 6.434 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001142/0.6179, allocations: 163.8 kB / 0.5526 GB, free: 6.273 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001458/0.6193, allocations: 288.9 kB / 0.5529 GB, free: 5.988 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001084/0.6195, allocations: 27.98 kB / 0.5529 GB, free: 5.961 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008961/0.6284, allocations: 3.911 MB / 0.5567 GB, free: 1.898 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.294e-05/0.6285, allocations: 11.92 kB / 0.5568 GB, free: 1.887 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004487/0.633, allocations: 1.59 MB / 0.5583 GB, free: 236 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004011/0.6334, allocations: 140.3 kB / 0.5584 GB, free: 76 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001416/0.6336, allocations: 20 kB / 0.5585 GB, free: 56 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007726/0.6343, allocations: 51.89 kB / 0.5585 GB, free: 4 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000297/0.6347, allocations: 84.81 kB / 0.5586 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001306/0.6348, allocations: 32 kB / 0.5586 GB, free: 15.88 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005407/0.6354, allocations: 267.1 kB / 0.5589 GB, free: 15.62 MB / 430.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6354, allocations: 0 / 0.5589 GB, free: 15.62 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001933/0.6373, allocations: 304 kB / 0.5592 GB, free: 15.33 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 (82): * Single equations (assignments): 80 * Array equations: 0 * 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 {(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.0002828/0.6376, allocations: 134.9 kB / 0.5593 GB, free: 15.18 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00397/0.6416, allocations: 1.413 MB / 0.5607 GB, free: 13.76 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.144e-05/0.6416, allocations: 0 / 0.5607 GB, free: 13.76 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002152/0.6438, allocations: 0.8321 MB / 0.5615 GB, free: 12.91 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001251/0.6451, allocations: 110.5 kB / 0.5616 GB, free: 12.81 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005557/0.6507, allocations: 1.772 MB / 0.5633 GB, free: 10.96 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001478/0.6522, allocations: 1.072 MB / 0.5644 GB, free: 9.859 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0009545/0.6531, allocations: 180.6 kB / 0.5645 GB, free: 9.684 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004186/0.6536, allocations: 63.41 kB / 0.5646 GB, free: 9.621 MB / 430.1 MB Notification: Performance of SimCode: time 1.964e-06/0.6536, allocations: 0 / 0.5646 GB, free: 9.621 MB / 430.1 MB Notification: Performance of Templates: time 0.03635/0.69, allocations: 10.36 MB / 0.5747 GB, free: 15.27 MB / 446.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_dq.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches