Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.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,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") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001519/0.001519, allocations: 111.7 kB / 17.06 MB, free: 5.973 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.00173/0.00173, allocations: 198.8 kB / 18.01 MB, free: 5.055 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.523/1.523, allocations: 222.9 MB / 241.7 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.2068/0.2068, allocations: 38.05 MB / 329.9 MB, free: 8.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 63.91 kB / 458.1 MB, free: 6.867 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4903/0.4919, allocations: 58.05 MB / 0.5041 GB, free: 7.793 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.009178/0.5011, allocations: 7.422 MB / 0.5113 GB, free: 2.594 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007991/0.5091, allocations: 4.387 MB / 0.5156 GB, free: 15.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006568/0.5098, allocations: 17.06 kB / 0.5156 GB, free: 15.51 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003052/0.5129, allocations: 1.032 MB / 0.5167 GB, free: 14.88 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004332/0.5172, allocations: 1.21 MB / 0.5178 GB, free: 14.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001257/0.5185, allocations: 328.4 kB / 0.5181 GB, free: 14.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002716/0.5212, allocations: 1.402 MB / 0.5195 GB, free: 13.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001455/0.5227, allocations: 0.6508 MB / 0.5202 GB, free: 13.24 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001519/0.5242, allocations: 0.623 MB / 0.5208 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001212/0.5254, allocations: 0.6783 MB / 0.5214 GB, free: 12.68 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000126/0.5256, allocations: 63.22 kB / 0.5215 GB, free: 12.68 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003452/0.529, allocations: 1.327 MB / 0.5228 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008178/0.5299, allocations: 488 kB / 0.5232 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000606/0.5305, allocations: 439.5 kB / 0.5237 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004078/0.5346, allocations: 1.454 MB / 0.5251 GB, free: 11.24 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.263e-05/0.5346, allocations: 0 / 0.5251 GB, free: 11.24 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.5346, allocations: 3.938 kB / 0.5251 GB, free: 11.24 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.278e-05/0.5347, allocations: 0 / 0.5251 GB, free: 11.24 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.003257/0.5379, allocations: 1.124 MB / 0.5262 GB, free: 10.44 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.554e-05/0.538, allocations: 13.73 kB / 0.5262 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00363/0.5416, allocations: 385.8 kB / 0.5266 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/0.5427, allocations: 490.4 kB / 0.527 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.891e-05/0.5428, allocations: 58.56 kB / 0.5271 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001725/0.543, allocations: 75.72 kB / 0.5272 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002538/0.5455, allocations: 1.174 MB / 0.5283 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.115e-05/0.5455, allocations: 10.16 kB / 0.5283 GB, free: 9.508 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.919e-05/0.5456, allocations: 29.92 kB / 0.5283 GB, free: 9.484 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001453/0.5458, allocations: 74.53 kB / 0.5284 GB, free: 9.477 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002297/0.5481, allocations: 1.247 MB / 0.5296 GB, free: 9.039 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006172/0.5543, allocations: 3.48 MB / 0.533 GB, free: 6.668 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00173/0.556, allocations: 1.069 MB / 0.5341 GB, free: 6.098 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009693/0.557, allocations: 0.6602 MB / 0.5347 GB, free: 5.762 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.228e-05/0.5571, allocations: 18.39 kB / 0.5347 GB, free: 5.754 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.821e-05/0.5572, allocations: 47.73 kB / 0.5348 GB, free: 5.703 MB / 398.1 MB Notification: Performance of pre-optimization done (n=91): time 3.657e-06/0.5572, allocations: 0 / 0.5348 GB, free: 5.703 MB / 398.1 MB Notification: Performance of matching and sorting (n=92): time 0.007099/0.5643, allocations: 3.084 MB / 0.5378 GB, free: 4.07 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.248e-05/0.5644, allocations: 99.78 kB / 0.5379 GB, free: 3.961 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004837/0.5649, allocations: 362.2 kB / 0.5382 GB, free: 3.734 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.44e-05/0.5649, allocations: 40.45 kB / 0.5383 GB, free: 3.691 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002363/0.5652, allocations: 319.3 kB / 0.5386 GB, free: 3.406 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003305/0.5655, allocations: 311.2 kB / 0.5389 GB, free: 3.137 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00028/0.5658, allocations: 160.7 kB / 0.539 GB, free: 3.043 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.566, allocations: 366 kB / 0.5394 GB, free: 2.691 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00069/0.5667, allocations: 469.8 kB / 0.5398 GB, free: 2.469 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00077/0.5674, allocations: 0.5698 MB / 0.5404 GB, free: 2.129 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001657/0.5691, allocations: 1.112 MB / 0.5415 GB, free: 1.523 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.5691, allocations: 1.125 kB / 0.5415 GB, free: 1.523 MB / 398.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.00262/0.5718, allocations: 1.482 MB / 0.5429 GB, free: 500 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.848e-05/0.5718, allocations: 8 kB / 0.5429 GB, free: 492 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.5718, allocations: 0 / 0.5429 GB, free: 492 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009707/0.5728, allocations: 334.4 kB / 0.5432 GB, free: 156 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007307/0.5735, allocations: 183.7 kB / 0.5434 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006429/0.58, allocations: 4.182 MB / 0.5475 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000805/0.5808, allocations: 47.94 kB / 0.5476 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-05/0.5809, allocations: 35.98 kB / 0.5476 GB, free: 11.54 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.0006662/0.5816, allocations: 289.5 kB / 0.5479 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/0.5817, allocations: 55.34 kB / 0.5479 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002707/0.5844, allocations: 1.571 MB / 0.5494 GB, free: 9.605 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.609e-05/0.5845, allocations: 15.98 kB / 0.5495 GB, free: 9.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.5845, allocations: 4 kB / 0.5495 GB, free: 9.586 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.458e-05/0.5845, allocations: 3.984 kB / 0.5495 GB, free: 9.582 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.005191/0.5897, allocations: 3.031 MB / 0.5524 GB, free: 6.426 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/0.5897, allocations: 4 kB / 0.5524 GB, free: 6.422 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007455/0.5905, allocations: 168.2 kB / 0.5526 GB, free: 6.258 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008206/0.5913, allocations: 280.6 kB / 0.5529 GB, free: 5.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.027e-05/0.5914, allocations: 35.98 kB / 0.5529 GB, free: 5.945 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004873/0.5963, allocations: 3.909 MB / 0.5567 GB, free: 1.887 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.655e-06/0.5963, allocations: 15.94 kB / 0.5567 GB, free: 1.871 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002465/0.5988, allocations: 1.59 MB / 0.5583 GB, free: 220 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002247/0.599, allocations: 140.3 kB / 0.5584 GB, free: 60 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/0.5991, allocations: 23.98 kB / 0.5584 GB, free: 36 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004987/0.5996, allocations: 40.11 kB / 0.5585 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001438/0.5998, allocations: 80.83 kB / 0.5586 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.602e-05/0.5999, allocations: 43.92 kB / 0.5586 GB, free: 15.87 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003081/0.6002, allocations: 259.2 kB / 0.5588 GB, free: 15.62 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6002, allocations: 0 / 0.5588 GB, free: 15.62 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001094/0.6013, allocations: 307.9 kB / 0.5591 GB, free: 15.32 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.000205/0.6015, allocations: 138.9 kB / 0.5593 GB, free: 15.17 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002362/0.6039, allocations: 1.405 MB / 0.5606 GB, free: 13.75 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.75e-06/0.6039, allocations: 0 / 0.5606 GB, free: 13.75 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001334/0.6053, allocations: 0.8438 MB / 0.5615 GB, free: 12.89 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007319/0.606, allocations: 102.4 kB / 0.5616 GB, free: 12.8 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002834/0.6088, allocations: 1.782 MB / 0.5633 GB, free: 10.94 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007427/0.6096, allocations: 1.076 MB / 0.5644 GB, free: 9.832 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006352/0.6102, allocations: 176.6 kB / 0.5645 GB, free: 9.66 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002131/0.6105, allocations: 67.41 kB / 0.5646 GB, free: 9.594 MB / 430.1 MB Notification: Performance of SimCode: time 1.262e-06/0.6105, allocations: 0 / 0.5646 GB, free: 9.594 MB / 430.1 MB Notification: Performance of Templates: time 0.02143/0.6319, allocations: 10.35 MB / 0.5747 GB, free: 15.26 MB / 446.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches