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.001483/0.001483, allocations: 109.6 kB / 16.51 MB, free: 6.707 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.001647/0.001647, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.445/1.445, allocations: 222.9 MB / 241.1 MB, free: 15.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1755/0.1755, allocations: 38.04 MB / 329.3 MB, free: 9.086 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 57.84 kB / 398.1 MB, free: 34.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08649/0.0877, allocations: 58.06 MB / 456.2 MB, free: 8.555 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.008265/0.096, allocations: 7.622 MB / 463.8 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005471/0.1015, allocations: 4.495 MB / 468.3 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003675/0.1019, allocations: 19.94 kB / 468.3 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002189/0.1041, allocations: 0.9761 MB / 469.3 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002634/0.1068, allocations: 1.145 MB / 470.4 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007696/0.1075, allocations: 287.3 kB / 470.7 MB, free: 9.957 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002154/0.1097, allocations: 2.577 MB / 473.3 MB, free: 7.375 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009429/0.1107, allocations: 0.6645 MB / 473.9 MB, free: 6.707 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007515/0.1114, allocations: 0.5094 MB / 474.4 MB, free: 6.195 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008304/0.1123, allocations: 0.7321 MB / 475.2 MB, free: 5.461 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.115e-05/0.1124, allocations: 48 kB / 475.2 MB, free: 5.414 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00248/0.1148, allocations: 1.613 MB / 476.8 MB, free: 3.797 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000443/0.1153, allocations: 466.9 kB / 477.3 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004104/0.1157, allocations: 421.9 kB / 477.7 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001765/0.1175, allocations: 1.523 MB / 479.2 MB, free: 1.398 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1175, allocations: 4 kB / 479.2 MB, free: 1.395 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1175, allocations: 0 / 479.2 MB, free: 1.395 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.311e-05/0.1175, allocations: 0 / 479.2 MB, free: 1.395 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.001607/0.1192, allocations: 1.136 MB / 480.4 MB, free: 212 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.1192, allocations: 8.031 kB / 480.4 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003058/0.1223, allocations: 383.4 kB / 480.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000964/0.1233, allocations: 478.7 kB / 481.2 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.978e-05/0.1233, allocations: 54.36 kB / 481.3 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/0.1235, allocations: 76.34 kB / 481.3 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001934/0.1254, allocations: 1.18 MB / 482.5 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.754e-05/0.1254, allocations: 3.906 kB / 482.5 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.651e-05/0.1255, allocations: 31.98 kB / 482.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.996e-05/0.1256, allocations: 77.89 kB / 482.6 MB, free: 13.87 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001826/0.1275, allocations: 1.241 MB / 483.9 MB, free: 12.63 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00576/0.1332, allocations: 3.507 MB / 487.4 MB, free: 9.023 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001611/0.1349, allocations: 1.058 MB / 488.4 MB, free: 7.945 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008787/0.1358, allocations: 0.6633 MB / 489.1 MB, free: 7.281 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.088e-05/0.1359, allocations: 16.98 kB / 489.1 MB, free: 7.262 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/0.1359, allocations: 47.56 kB / 489.2 MB, free: 7.207 MB / 366.1 MB Notification: Performance of pre-optimization done (n=91): time 4.469e-06/0.1359, allocations: 96 / 489.2 MB, free: 7.207 MB / 366.1 MB Notification: Performance of matching and sorting (n=92): time 0.00664/0.1426, allocations: 3.083 MB / 492.2 MB, free: 4.098 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.533e-05/0.1426, allocations: 86.11 kB / 492.3 MB, free: 3.996 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000426/0.1431, allocations: 365.5 kB / 492.7 MB, free: 3.633 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.669e-05/0.1431, allocations: 45.64 kB / 492.7 MB, free: 3.582 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001986/0.1434, allocations: 320.2 kB / 493 MB, free: 3.262 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000279/0.1436, allocations: 315.4 kB / 493.4 MB, free: 2.949 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002616/0.1439, allocations: 158.5 kB / 493.5 MB, free: 2.789 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.1441, allocations: 374.7 kB / 493.9 MB, free: 2.414 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006958/0.1448, allocations: 465.7 kB / 494.3 MB, free: 1.957 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007881/0.1456, allocations: 0.5696 MB / 494.9 MB, free: 1.359 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001581/0.1472, allocations: 1.113 MB / 496 MB, free: 220 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.1472, allocations: 0 / 496 MB, free: 220 kB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002559/0.1498, allocations: 1.477 MB / 497.5 MB, free: 14.72 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.1498, allocations: 7.984 kB / 497.5 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.1498, allocations: 8.188 kB / 497.5 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009821/0.1508, allocations: 330.2 kB / 497.8 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007513/0.1516, allocations: 183.7 kB / 498 MB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005405/0.157, allocations: 3.864 MB / 0.4901 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006901/0.1577, allocations: 43.95 kB / 0.4901 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.668e-05/0.1578, allocations: 40.05 kB / 0.4902 GB, free: 10.1 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.00058/0.1584, allocations: 302.3 kB / 0.4905 GB, free: 9.793 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.1585, allocations: 59.33 kB / 0.4905 GB, free: 9.734 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002828/0.1614, allocations: 1.563 MB / 0.4921 GB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.56e-05/0.1614, allocations: 12 kB / 0.4921 GB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.1614, allocations: 4 kB / 0.4921 GB, free: 8.145 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.161e-05/0.1614, allocations: 3.984 kB / 0.4921 GB, free: 8.141 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.005082/0.1665, allocations: 3.036 MB / 0.495 GB, free: 4.977 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.1665, allocations: 4 kB / 0.495 GB, free: 4.973 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006301/0.1672, allocations: 163.8 kB / 0.4952 GB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008123/0.168, allocations: 292.9 kB / 0.4955 GB, free: 4.523 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.175e-05/0.1681, allocations: 20 kB / 0.4955 GB, free: 4.504 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004792/0.1729, allocations: 3.593 MB / 0.499 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.1729, allocations: 7.938 kB / 0.499 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2298/0.4027, allocations: 1.587 MB / 0.5006 GB, free: 56.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002149/0.403, allocations: 148.1 kB / 0.5007 GB, free: 56.1 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.976e-05/0.4031, allocations: 27.94 kB / 0.5007 GB, free: 56.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004646/0.4036, allocations: 43.23 kB / 0.5008 GB, free: 56.1 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002039/0.4038, allocations: 88.09 kB / 0.5009 GB, free: 56.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.666e-05/0.4039, allocations: 35.95 kB / 0.5009 GB, free: 56.1 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000292/0.4042, allocations: 259.2 kB / 0.5011 GB, free: 56.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4042, allocations: 0 / 0.5011 GB, free: 56.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009782/0.4052, allocations: 304.7 kB / 0.5014 GB, free: 56.02 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.000165/0.4053, allocations: 125.9 kB / 0.5016 GB, free: 55.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002136/0.4075, allocations: 1.392 MB / 0.5029 GB, free: 55.78 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.4075, allocations: 0 / 0.5029 GB, free: 55.78 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001212/0.4087, allocations: 0.8407 MB / 0.5037 GB, free: 55.46 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006852/0.4094, allocations: 105.6 kB / 0.5038 GB, free: 55.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003044/0.4125, allocations: 2.15 MB / 0.5059 GB, free: 54.22 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007166/0.4132, allocations: 1.07 MB / 0.507 GB, free: 53.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005186/0.4137, allocations: 183.4 kB / 0.5072 GB, free: 53.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000223/0.4139, allocations: 64 kB / 0.5072 GB, free: 53.46 MB / 382.1 MB Notification: Performance of SimCode: time 1.393e-06/0.414, allocations: 0 / 0.5072 GB, free: 53.46 MB / 382.1 MB Notification: Performance of Templates: time 0.0224/0.4364, allocations: 9.57 MB / 0.5166 GB, free: 51.5 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 -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