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.001532/0.001532, allocations: 104 kB / 17.59 MB, free: 5.555 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.001689/0.00169, allocations: 191.5 kB / 18.51 MB, free: 4.637 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.423/1.423, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1776/0.1776, allocations: 38.04 MB / 330.4 MB, free: 8.824 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 60.06 kB / 399.5 MB, free: 34.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09254/0.09396, allocations: 58.06 MB / 457.5 MB, free: 8.051 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.008282/0.1023, allocations: 7.414 MB / 464.9 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005614/0.1079, allocations: 4.393 MB / 469.3 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004553/0.1084, allocations: 12 kB / 469.3 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002518/0.1109, allocations: 1.041 MB / 470.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002583/0.1135, allocations: 1.195 MB / 471.6 MB, free: 9.938 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008145/0.1144, allocations: 319.1 kB / 471.9 MB, free: 9.625 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001583/0.116, allocations: 1.406 MB / 473.3 MB, free: 8.215 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009757/0.117, allocations: 0.6611 MB / 474 MB, free: 7.551 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001032/0.118, allocations: 0.6108 MB / 474.6 MB, free: 6.938 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009867/0.119, allocations: 0.6775 MB / 475.3 MB, free: 6.258 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001403/0.1192, allocations: 64 kB / 475.3 MB, free: 6.195 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002259/0.1214, allocations: 1.337 MB / 476.7 MB, free: 4.855 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004727/0.1219, allocations: 474.9 kB / 477.1 MB, free: 4.391 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006177/0.1225, allocations: 441.9 kB / 477.5 MB, free: 3.957 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002235/0.1248, allocations: 1.445 MB / 479 MB, free: 2.508 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.1248, allocations: 0 / 479 MB, free: 2.508 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.236e-06/0.1248, allocations: 0 / 479 MB, free: 2.508 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.385e-05/0.1248, allocations: 3.938 kB / 479 MB, free: 2.504 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.001865/0.1267, allocations: 1.127 MB / 480.1 MB, free: 1.332 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.1268, allocations: 15.89 kB / 480.1 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003136/0.1299, allocations: 391.4 kB / 480.5 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007524/0.1307, allocations: 478.6 kB / 481 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.395e-05/0.1307, allocations: 54.36 kB / 481 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000144/0.1309, allocations: 68.36 kB / 481.1 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001783/0.1327, allocations: 1.188 MB / 482.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.861e-05/0.1327, allocations: 4 kB / 482.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.737e-05/0.1328, allocations: 24 kB / 482.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-05/0.1329, allocations: 73.95 kB / 482.4 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0018/0.1347, allocations: 1.234 MB / 483.6 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005143/0.1399, allocations: 3.519 MB / 487.1 MB, free: 10.14 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001665/0.1415, allocations: 1.065 MB / 488.2 MB, free: 9.059 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009027/0.1425, allocations: 0.6606 MB / 488.9 MB, free: 8.391 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.101e-05/0.1425, allocations: 20.97 kB / 488.9 MB, free: 8.367 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/0.1426, allocations: 47.78 kB / 488.9 MB, free: 8.312 MB / 366.1 MB Notification: Performance of pre-optimization done (n=91): time 2.415e-06/0.1426, allocations: 0 / 488.9 MB, free: 8.312 MB / 366.1 MB Notification: Performance of matching and sorting (n=92): time 0.006335/0.1489, allocations: 3.083 MB / 492 MB, free: 5.203 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/0.149, allocations: 90.05 kB / 492.1 MB, free: 5.098 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003989/0.1494, allocations: 369.5 kB / 492.5 MB, free: 4.73 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.438e-05/0.1495, allocations: 41.7 kB / 492.5 MB, free: 4.684 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002266/0.1497, allocations: 312.2 kB / 492.8 MB, free: 4.371 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002626/0.15, allocations: 315.4 kB / 493.1 MB, free: 4.059 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002543/0.1502, allocations: 158.5 kB / 493.3 MB, free: 3.898 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.1504, allocations: 366.8 kB / 493.6 MB, free: 3.531 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006834/0.1511, allocations: 465.7 kB / 494.1 MB, free: 3.074 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007708/0.1518, allocations: 0.5696 MB / 494.7 MB, free: 2.477 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001563/0.1534, allocations: 1.113 MB / 495.8 MB, free: 1.332 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1534, allocations: 0 / 495.8 MB, free: 1.332 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.00264/0.1561, allocations: 1.481 MB / 497.3 MB, free: 15.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.1561, allocations: 4 kB / 497.3 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.1561, allocations: 4 kB / 497.3 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009881/0.1571, allocations: 336.7 kB / 497.6 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007087/0.1578, allocations: 187.7 kB / 497.8 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00532/0.1632, allocations: 4.189 MB / 0.4902 GB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005533/0.1638, allocations: 39.95 kB / 0.4902 GB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.915e-05/0.1639, allocations: 39.98 kB / 0.4903 GB, free: 10.89 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.000434/0.1643, allocations: 298.5 kB / 0.4906 GB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001299/0.1644, allocations: 55.34 kB / 0.4906 GB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00266/0.1671, allocations: 1.563 MB / 0.4921 GB, free: 8.961 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.1671, allocations: 12 kB / 0.4922 GB, free: 8.949 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/0.1671, allocations: 8 kB / 0.4922 GB, free: 8.941 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/0.1672, allocations: 3.984 kB / 0.4922 GB, free: 8.938 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.004866/0.172, allocations: 3.036 MB / 0.4951 GB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.521e-05/0.1721, allocations: 4 kB / 0.4951 GB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006361/0.1727, allocations: 163.8 kB / 0.4953 GB, free: 5.605 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008167/0.1735, allocations: 296.8 kB / 0.4956 GB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.956e-05/0.1736, allocations: 35.92 kB / 0.4956 GB, free: 5.277 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004841/0.1785, allocations: 3.891 MB / 0.4994 GB, free: 1.234 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/0.1785, allocations: 7.984 kB / 0.4994 GB, free: 1.227 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1846/0.3631, allocations: 1.593 MB / 0.501 GB, free: 55.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002098/0.3634, allocations: 147 kB / 0.5011 GB, free: 55.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001929/0.3636, allocations: 26.92 kB / 0.5011 GB, free: 55.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005535/0.3641, allocations: 42.31 kB / 0.5012 GB, free: 55.8 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002076/0.3644, allocations: 82.45 kB / 0.5013 GB, free: 55.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.822e-05/0.3645, allocations: 39.17 kB / 0.5013 GB, free: 55.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003108/0.3648, allocations: 256.6 kB / 0.5015 GB, free: 55.72 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3648, allocations: 0.8438 kB / 0.5015 GB, free: 55.72 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001184/0.366, allocations: 307.5 kB / 0.5018 GB, free: 55.72 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.0001736/0.3662, allocations: 132.5 kB / 0.502 GB, free: 55.63 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002791/0.369, allocations: 1.669 MB / 0.5036 GB, free: 55.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.369, allocations: 1.594 kB / 0.5036 GB, free: 55.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001237/0.3702, allocations: 0.84 MB / 0.5044 GB, free: 55.29 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007526/0.371, allocations: 106.1 kB / 0.5045 GB, free: 55.24 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00283/0.3738, allocations: 1.881 MB / 0.5063 GB, free: 54.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006087/0.3745, allocations: 1.073 MB / 0.5074 GB, free: 53.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000244/0.3747, allocations: 70.92 kB / 0.5075 GB, free: 53.6 MB / 382.1 MB Notification: Performance of SimCode: time 1.453e-06/0.3747, allocations: 0 / 0.5075 GB, free: 53.6 MB / 382.1 MB Notification: Performance of Templates: time 0.01833/0.3931, allocations: 12.16 MB / 0.5193 GB, free: 50 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/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