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.001123/0.001123, allocations: 111.9 kB / 17.68 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.0009867/0.0009867, allocations: 192 kB / 18.62 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.382/1.382, allocations: 222.9 MB / 242.3 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.1764/0.1764, allocations: 38.04 MB / 330.5 MB, free: 8.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 58.98 kB / 400.2 MB, free: 33.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1075, allocations: 58.07 MB / 458.3 MB, free: 7.348 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.008123/0.1157, allocations: 7.402 MB / 465.7 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005591/0.1213, allocations: 4.385 MB / 470.1 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003346/0.1217, allocations: 15.94 kB / 470.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00238/0.124, allocations: 1.041 MB / 471.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002372/0.1264, allocations: 1.203 MB / 472.4 MB, free: 9.242 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007746/0.1272, allocations: 315.1 kB / 472.7 MB, free: 8.934 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001407/0.1286, allocations: 1.406 MB / 474.1 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000824/0.1295, allocations: 0.6611 MB / 474.7 MB, free: 6.859 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007686/0.1303, allocations: 0.6147 MB / 475.4 MB, free: 6.242 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008266/0.1311, allocations: 0.6736 MB / 476 MB, free: 5.566 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.8e-05/0.1312, allocations: 64 kB / 476.1 MB, free: 5.504 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00214/0.1333, allocations: 1.329 MB / 477.4 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004047/0.1338, allocations: 478.9 kB / 477.9 MB, free: 3.703 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004649/0.1342, allocations: 445.9 kB / 478.3 MB, free: 3.266 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001709/0.1359, allocations: 1.449 MB / 479.8 MB, free: 1.812 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.136, allocations: 0 / 479.8 MB, free: 1.812 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.136, allocations: 0 / 479.8 MB, free: 1.812 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.136, 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.001525/0.1375, allocations: 1.132 MB / 480.9 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.1376, allocations: 11.89 kB / 480.9 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003082/0.1407, allocations: 391.4 kB / 481.3 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00088/0.1416, allocations: 494.8 kB / 481.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.194e-05/0.1416, allocations: 54.36 kB / 481.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001267/0.1417, allocations: 72.36 kB / 481.9 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001626/0.1434, allocations: 1.184 MB / 483.1 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.624e-05/0.1434, allocations: 8 kB / 483.1 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.974e-05/0.1435, allocations: 24 kB / 483.1 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.549e-05/0.1436, allocations: 69.95 kB / 483.2 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00172/0.1453, allocations: 1.241 MB / 484.4 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004976/0.1503, allocations: 3.488 MB / 487.9 MB, free: 9.449 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001596/0.1519, allocations: 1.069 MB / 489 MB, free: 8.363 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008376/0.1528, allocations: 0.6567 MB / 489.6 MB, free: 7.699 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.469e-05/0.1528, allocations: 13 kB / 489.7 MB, free: 7.684 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.1529, allocations: 47.67 kB / 489.7 MB, free: 7.629 MB / 366.1 MB Notification: Performance of pre-optimization done (n=91): time 2.274e-06/0.1529, allocations: 0 / 489.7 MB, free: 7.629 MB / 366.1 MB Notification: Performance of matching and sorting (n=92): time 0.00622/0.1591, allocations: 3.083 MB / 492.8 MB, free: 4.52 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.71e-05/0.1592, allocations: 94.09 kB / 492.9 MB, free: 4.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003811/0.1596, allocations: 365.5 kB / 493.2 MB, free: 4.047 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.623e-05/0.1596, allocations: 41.7 kB / 493.3 MB, free: 4 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001909/0.1598, allocations: 312.1 kB / 493.6 MB, free: 3.688 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002422/0.1601, allocations: 315.4 kB / 493.9 MB, free: 3.375 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002386/0.1603, allocations: 162.6 kB / 494 MB, free: 3.211 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.1605, allocations: 366.8 kB / 494.4 MB, free: 2.844 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006261/0.1611, allocations: 473.7 kB / 494.9 MB, free: 2.379 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007026/0.1618, allocations: 0.5618 MB / 495.4 MB, free: 1.789 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001413/0.1632, allocations: 1.117 MB / 496.5 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1633, allocations: 0 / 496.5 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002309/0.1656, allocations: 1.477 MB / 498 MB, free: 15.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.1656, allocations: 8 kB / 498 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.1656, allocations: 0 / 498 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009037/0.1665, allocations: 332.8 kB / 498.4 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007019/0.1672, allocations: 179.7 kB / 498.5 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005099/0.1724, allocations: 4.193 MB / 0.4909 GB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000539/0.1729, allocations: 51.94 kB / 0.491 GB, free: 10.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-05/0.173, allocations: 31.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.0003876/0.1734, allocations: 302.4 kB / 0.4913 GB, free: 9.906 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.1735, allocations: 55.34 kB / 0.4914 GB, free: 9.852 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002553/0.1761, allocations: 1.563 MB / 0.4929 GB, free: 8.273 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.337e-05/0.1761, allocations: 15.98 kB / 0.4929 GB, free: 8.258 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.1761, allocations: 4 kB / 0.4929 GB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.1761, allocations: 11.92 kB / 0.4929 GB, free: 8.242 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.004728/0.1809, allocations: 3.027 MB / 0.4959 GB, free: 5.082 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/0.1809, allocations: 8.031 kB / 0.4959 GB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000621/0.1815, allocations: 167.8 kB / 0.496 GB, free: 4.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007853/0.1823, allocations: 284.5 kB / 0.4963 GB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.584e-05/0.1824, allocations: 27.98 kB / 0.4963 GB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004669/0.187, allocations: 3.899 MB / 0.5001 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.1871, allocations: 8 kB / 0.5002 GB, free: 0.543 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2108/0.3978, allocations: 1.588 MB / 0.5017 GB, free: 56.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002539/0.3981, allocations: 149.3 kB / 0.5018 GB, free: 56.53 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.386e-05/0.3982, allocations: 26.91 kB / 0.5019 GB, free: 56.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004389/0.3987, allocations: 44.45 kB / 0.5019 GB, free: 56.53 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002272/0.3989, allocations: 86.45 kB / 0.502 GB, free: 56.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.835e-05/0.399, allocations: 34.16 kB / 0.502 GB, free: 56.53 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000338/0.3994, allocations: 260.2 kB / 0.5023 GB, free: 56.45 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3994, allocations: 0.8438 kB / 0.5023 GB, free: 56.45 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00112/0.4005, allocations: 302.7 kB / 0.5026 GB, free: 56.45 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.0001844/0.4007, allocations: 123.3 kB / 0.5027 GB, free: 56.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002459/0.4032, allocations: 1.407 MB / 0.5041 GB, free: 55.86 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.4032, allocations: 1.125 kB / 0.5041 GB, free: 55.86 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001237/0.4044, allocations: 0.842 MB / 0.5049 GB, free: 55.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006692/0.4051, allocations: 105.1 kB / 0.505 GB, free: 55.45 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002909/0.408, allocations: 1.788 MB / 0.5067 GB, free: 54.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007282/0.4088, allocations: 1.067 MB / 0.5078 GB, free: 53.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004725/0.4092, allocations: 182.6 kB / 0.5079 GB, free: 53.87 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002022/0.4095, allocations: 61.52 kB / 0.508 GB, free: 53.86 MB / 382.1 MB Notification: Performance of SimCode: time 1.173e-06/0.4095, allocations: 0 / 0.508 GB, free: 53.86 MB / 382.1 MB Notification: Performance of Templates: time 0.01822/0.4277, allocations: 10.13 MB / 0.5179 GB, free: 51.59 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 gbode -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