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.0008265/0.0008266, allocations: 98.83 kB / 16.3 MB, free: 5.539 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.0008786/0.0008785, allocations: 180.5 kB / 17.19 MB, free: 5.473 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.266/1.266, allocations: 223.2 MB / 241.1 MB, free: 14.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1589/0.1589, allocations: 38.08 MB / 330.3 MB, free: 8.723 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003059/0.0003059, allocations: 12 kB / 400 MB, free: 34.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1064, allocations: 59.16 MB / 459.1 MB, free: 7.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.006626/0.1131, allocations: 6.473 MB / 465.6 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004936/0.1181, allocations: 3.987 MB / 469.6 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003542/0.1184, allocations: 15.94 kB / 469.6 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003274/0.1188, allocations: 151.2 kB / 469.8 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001626/0.1204, allocations: 0.6307 MB / 470.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006063/0.121, allocations: 243.3 kB / 470.6 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000617/0.1217, allocations: 0.5769 MB / 471.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001872/0.1235, allocations: 1.169 MB / 472.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005396/0.1241, allocations: 378.6 kB / 472.7 MB, free: 9.766 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003942/0.1245, allocations: 346.9 kB / 473.1 MB, free: 9.426 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.417e-05/0.1246, allocations: 35.94 kB / 473.1 MB, free: 9.391 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001276/0.1258, allocations: 0.6939 MB / 473.8 MB, free: 8.695 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003243/0.1262, allocations: 399.2 kB / 474.2 MB, free: 8.305 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001551/0.1263, allocations: 177.2 kB / 474.4 MB, free: 8.125 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001041/0.1274, allocations: 1.025 MB / 475.4 MB, free: 7.098 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.1274, allocations: 0 / 475.4 MB, free: 7.098 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1274, allocations: 0 / 475.4 MB, free: 7.098 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.547e-06/0.1274, allocations: 0 / 475.4 MB, free: 7.098 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.001402/0.1288, allocations: 0.9913 MB / 476.4 MB, free: 6.055 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.1289, allocations: 12.03 kB / 476.4 MB, free: 6.043 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003013/0.1319, allocations: 426.5 kB / 476.8 MB, free: 5.625 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000684/0.1326, allocations: 477.4 kB / 477.3 MB, free: 5.117 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.187e-05/0.1326, allocations: 57.92 kB / 477.3 MB, free: 5.062 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/0.1328, allocations: 68 kB / 477.4 MB, free: 4.996 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00152/0.1343, allocations: 1.168 MB / 478.6 MB, free: 3.801 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.494e-05/0.1343, allocations: 0 / 478.6 MB, free: 3.801 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.651e-05/0.1344, allocations: 35.92 kB / 478.6 MB, free: 3.766 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.644e-05/0.1345, allocations: 73.95 kB / 478.7 MB, free: 3.695 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001646/0.1362, allocations: 1.233 MB / 479.9 MB, free: 2.461 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005189/0.1414, allocations: 3.531 MB / 483.4 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001529/0.1429, allocations: 1.065 MB / 484.5 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.542e-05/0.143, allocations: 25.03 kB / 484.5 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.111e-05/0.1431, allocations: 39.56 kB / 484.6 MB, free: 13.67 MB / 366.1 MB Notification: Performance of pre-optimization done (n=91): time 3.647e-06/0.1431, allocations: 0 / 484.6 MB, free: 13.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=92): time 0.006061/0.1491, allocations: 3.061 MB / 487.6 MB, free: 10.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.722e-05/0.1492, allocations: 86.11 kB / 487.7 MB, free: 10.48 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003615/0.1496, allocations: 357.7 kB / 488.1 MB, free: 10.12 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.439e-05/0.1496, allocations: 45.73 kB / 488.1 MB, free: 10.07 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001902/0.1498, allocations: 312.1 kB / 488.4 MB, free: 9.762 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002314/0.1501, allocations: 315.3 kB / 488.7 MB, free: 9.449 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.537e-05/0.1501, allocations: 20 kB / 488.7 MB, free: 9.43 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.1503, allocations: 370.7 kB / 489.1 MB, free: 9.059 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006148/0.1509, allocations: 469.7 kB / 489.6 MB, free: 8.602 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006751/0.1516, allocations: 0.5656 MB / 490.1 MB, free: 8.008 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007581/0.1524, allocations: 0.53 MB / 490.7 MB, free: 7.477 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.1524, allocations: 8 kB / 490.7 MB, free: 7.469 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002381/0.1548, allocations: 1.465 MB / 492.1 MB, free: 5.992 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/0.1548, allocations: 4 kB / 492.1 MB, free: 5.988 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.1548, allocations: 4 kB / 492.1 MB, free: 5.984 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009264/0.1557, allocations: 334.4 kB / 492.5 MB, free: 5.656 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006863/0.1564, allocations: 183.7 kB / 492.6 MB, free: 5.477 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005187/0.1616, allocations: 3.968 MB / 496.6 MB, free: 1.348 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005097/0.1622, allocations: 47.94 kB / 496.7 MB, free: 1.301 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.79e-05/0.1622, allocations: 35.98 kB / 496.7 MB, free: 1.266 MB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004132/0.1627, allocations: 293.6 kB / 497 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.814e-05/0.1628, allocations: 55.34 kB / 497 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002426/0.1652, allocations: 1.559 MB / 498.6 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/0.1652, allocations: 19.92 kB / 498.6 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.1652, allocations: 4 kB / 498.6 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.1653, allocations: 3.984 kB / 498.6 MB, free: 15.31 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.004713/0.17, allocations: 3.028 MB / 0.4899 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/0.17, allocations: 4 kB / 0.4899 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006025/0.1706, allocations: 167.8 kB / 0.4901 GB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007829/0.1714, allocations: 281.8 kB / 0.4903 GB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.412e-05/0.1715, allocations: 35.92 kB / 0.4904 GB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004713/0.1762, allocations: 3.698 MB / 0.494 GB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.1762, allocations: 4 kB / 0.494 GB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00241/0.1786, allocations: 1.762 MB / 0.4957 GB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001943/0.1788, allocations: 144.3 kB / 0.4958 GB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.953e-05/0.179, allocations: 20 kB / 0.4958 GB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004374/0.1794, allocations: 39.95 kB / 0.4959 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001403/0.1795, allocations: 84.8 kB / 0.496 GB, free: 5.609 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.904e-05/0.1796, allocations: 39.98 kB / 0.496 GB, free: 5.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002699/0.1799, allocations: 255.1 kB / 0.4963 GB, free: 5.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1799, allocations: 0 / 0.4963 GB, free: 5.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00094/0.1808, allocations: 304 kB / 0.4965 GB, free: 5.023 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002014/0.1811, allocations: 135 kB / 0.4967 GB, free: 4.883 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002142/0.1832, allocations: 1.385 MB / 0.498 GB, free: 3.484 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1832, allocations: 0 / 0.498 GB, free: 3.484 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001159/0.1844, allocations: 0.8439 MB / 0.4988 GB, free: 2.629 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004871/0.1849, allocations: 86.39 kB / 0.4989 GB, free: 2.543 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002546/0.1874, allocations: 2.082 MB / 0.501 GB, free: 400 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1831/0.3706, allocations: 1.08 MB / 0.502 GB, free: 54.38 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005887/0.3712, allocations: 182.8 kB / 0.5022 GB, free: 54.37 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002204/0.3714, allocations: 62.73 kB / 0.5023 GB, free: 54.37 MB / 382.1 MB Notification: Performance of SimCode: time 1.182e-06/0.3714, allocations: 0.5 kB / 0.5023 GB, free: 54.37 MB / 382.1 MB Notification: Performance of Templates: time 0.0165/0.3879, allocations: 9.057 MB / 0.5111 GB, free: 53.41 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop.mat","../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches