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.001321/0.001321, allocations: 116.4 kB / 17.69 MB, free: 5.312 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.001673/0.001673, allocations: 191 kB / 18.63 MB, free: 4.379 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.581/1.581, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2047/0.2047, allocations: 38.05 MB / 330.5 MB, free: 8.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001664/0.001664, allocations: 70.44 kB / 400.3 MB, free: 33.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.1723, allocations: 58.06 MB / 458.3 MB, free: 7.352 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.01142/0.1838, allocations: 7.402 MB / 465.7 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007043/0.1909, allocations: 4.397 MB / 470.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007695/0.1918, allocations: 15.94 kB / 470.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002981/0.1947, allocations: 1.038 MB / 471.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004095/0.1989, allocations: 1.199 MB / 472.4 MB, free: 9.242 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001244/0.2001, allocations: 323.1 kB / 472.7 MB, free: 8.926 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002442/0.2026, allocations: 1.391 MB / 474.1 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001222/0.2038, allocations: 0.6611 MB / 474.7 MB, free: 6.867 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001147/0.205, allocations: 0.6108 MB / 475.4 MB, free: 6.254 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009893/0.206, allocations: 0.6891 MB / 476 MB, free: 5.562 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001095/0.2061, allocations: 64 kB / 476.1 MB, free: 5.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003047/0.2091, allocations: 1.325 MB / 477.4 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005437/0.2097, allocations: 478.9 kB / 477.9 MB, free: 3.703 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005368/0.2102, allocations: 437.9 kB / 478.3 MB, free: 3.273 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002302/0.2126, allocations: 1.449 MB / 479.8 MB, free: 1.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.064e-05/0.2126, allocations: 7.984 kB / 479.8 MB, free: 1.812 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.474e-06/0.2126, allocations: 0 / 479.8 MB, free: 1.812 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.035e-05/0.2126, allocations: 0 / 479.8 MB, free: 1.812 MB / 350.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.001948/0.2146, allocations: 1.124 MB / 480.9 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.604e-05/0.2146, allocations: 15.83 kB / 480.9 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003172/0.2178, allocations: 395.3 kB / 481.3 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009938/0.2188, allocations: 486.8 kB / 481.8 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.867e-05/0.2189, allocations: 54.36 kB / 481.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000145/0.2191, allocations: 76.36 kB / 481.9 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001919/0.221, allocations: 1.176 MB / 483.1 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.591e-05/0.221, allocations: 7.922 kB / 483.1 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.258e-05/0.2211, allocations: 31.98 kB / 483.1 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001098/0.2212, allocations: 73.97 kB / 483.2 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001972/0.2232, allocations: 1.245 MB / 484.4 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005867/0.2291, allocations: 3.484 MB / 487.9 MB, free: 9.449 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001737/0.2308, allocations: 1.066 MB / 489 MB, free: 8.367 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009239/0.2318, allocations: 0.6567 MB / 489.6 MB, free: 7.703 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.819e-05/0.2319, allocations: 20.97 kB / 489.7 MB, free: 7.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.558e-05/0.2319, allocations: 43.56 kB / 489.7 MB, free: 7.629 MB / 366.1 MB Notification: Performance of pre-optimization done (n=91): time 2.785e-06/0.2319, allocations: 0 / 489.7 MB, free: 7.629 MB / 366.1 MB Notification: Performance of matching and sorting (n=92): time 0.006753/0.2387, allocations: 3.083 MB / 492.8 MB, free: 4.52 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.531e-05/0.2388, allocations: 90.23 kB / 492.9 MB, free: 4.414 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000436/0.2392, allocations: 365.5 kB / 493.2 MB, free: 4.051 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.056e-05/0.2393, allocations: 41.7 kB / 493.3 MB, free: 4.004 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002419/0.2395, allocations: 316.1 kB / 493.6 MB, free: 3.688 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002945/0.2398, allocations: 311.4 kB / 493.9 MB, free: 3.379 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002547/0.2401, allocations: 158.5 kB / 494 MB, free: 3.219 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002024/0.2403, allocations: 370.8 kB / 494.4 MB, free: 2.848 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007073/0.241, allocations: 469.7 kB / 494.9 MB, free: 2.387 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008281/0.2419, allocations: 0.5695 MB / 495.4 MB, free: 1.789 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001614/0.2435, allocations: 1.109 MB / 496.5 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2435, allocations: 0 / 496.5 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002551/0.2461, allocations: 1.481 MB / 498 MB, free: 15.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.642e-05/0.2461, allocations: 8 kB / 498 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.2461, allocations: 7.938 kB / 498 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001002/0.2471, allocations: 328.8 kB / 498.4 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007013/0.2478, allocations: 183.7 kB / 498.5 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005889/0.2537, allocations: 4.189 MB / 0.491 GB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005695/0.2543, allocations: 43.95 kB / 0.491 GB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.501e-05/0.2544, allocations: 39.98 kB / 0.491 GB, free: 10.21 MB / 382.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.0005167/0.2549, allocations: 298.3 kB / 0.4913 GB, free: 9.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/0.2551, allocations: 59.33 kB / 0.4914 GB, free: 9.852 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002795/0.2579, allocations: 1.563 MB / 0.4929 GB, free: 8.273 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.2579, allocations: 11.94 kB / 0.4929 GB, free: 8.262 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.2579, allocations: 4 kB / 0.4929 GB, free: 8.258 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/0.2579, allocations: 11.92 kB / 0.4929 GB, free: 8.246 MB / 382.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.005314/0.2633, allocations: 3.031 MB / 0.4959 GB, free: 5.082 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-05/0.2633, allocations: 8 kB / 0.4959 GB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000608/0.2639, allocations: 164.2 kB / 0.4961 GB, free: 4.914 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008/0.2647, allocations: 292.5 kB / 0.4963 GB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.129e-05/0.2648, allocations: 24 kB / 0.4964 GB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00522/0.27, allocations: 3.899 MB / 0.5002 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.473e-06/0.27, allocations: 7.938 kB / 0.5002 GB, free: 0.543 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3575/0.6275, allocations: 1.587 MB / 0.5017 GB, free: 56.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000294/0.6279, allocations: 146.1 kB / 0.5019 GB, free: 55.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.686e-05/0.628, allocations: 26.23 kB / 0.5019 GB, free: 55.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004581/0.6284, allocations: 47.08 kB / 0.5019 GB, free: 55.95 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002435/0.6287, allocations: 85.47 kB / 0.502 GB, free: 55.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.844e-05/0.6288, allocations: 37.66 kB / 0.502 GB, free: 55.95 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003897/0.6292, allocations: 256 kB / 0.5023 GB, free: 55.87 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6292, allocations: 4.688 kB / 0.5023 GB, free: 55.87 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00119/0.6304, allocations: 306.3 kB / 0.5026 GB, free: 55.87 MB / 382.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.0002021/0.6306, allocations: 119.2 kB / 0.5027 GB, free: 55.78 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002664/0.6333, allocations: 1.406 MB / 0.5041 GB, free: 55.6 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.6333, allocations: 2.812 kB / 0.5041 GB, free: 55.6 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001447/0.6348, allocations: 0.8432 MB / 0.5049 GB, free: 55.24 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007587/0.6355, allocations: 103.2 kB / 0.505 GB, free: 55.19 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003471/0.639, allocations: 1.783 MB / 0.5067 GB, free: 54.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009899/0.64, allocations: 1.07 MB / 0.5078 GB, free: 53.62 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005849/0.6406, allocations: 184.3 kB / 0.508 GB, free: 53.61 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002308/0.6408, allocations: 67.95 kB / 0.508 GB, free: 53.6 MB / 382.1 MB Notification: Performance of SimCode: time 1.834e-06/0.6409, allocations: 0 / 0.508 GB, free: 53.6 MB / 382.1 MB Notification: Performance of Templates: time 0.02381/0.6647, allocations: 10.13 MB / 0.5179 GB, free: 51.42 MB / 382.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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches