Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.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_d,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.p.1.|impedance3.v.1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.p.1.|impedance3.v.1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 109.6 kB / 16.62 MB, free: 6.961 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.001543/0.001543, allocations: 189.8 kB / 17.54 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.366/1.366, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1759/0.1759, allocations: 38.03 MB / 329.4 MB, free: 9.031 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 68.83 kB / 398.3 MB, free: 34.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1368, allocations: 58.06 MB / 456.4 MB, free: 8.426 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.008792/0.1457, allocations: 7.755 MB / 464.1 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005539/0.1513, allocations: 4.195 MB / 468.3 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004227/0.1517, allocations: 15.94 kB / 468.3 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002452/0.1542, allocations: 0.9878 MB / 469.3 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002279/0.1565, allocations: 1.032 MB / 470.3 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007886/0.1573, allocations: 275.3 kB / 470.6 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001522/0.1588, allocations: 1.363 MB / 472 MB, free: 8.746 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000918/0.1598, allocations: 0.5428 MB / 472.5 MB, free: 8.203 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009845/0.1608, allocations: 0.56 MB / 473.1 MB, free: 7.641 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008538/0.1616, allocations: 0.6267 MB / 473.7 MB, free: 7.012 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.846e-05/0.1617, allocations: 32 kB / 473.7 MB, free: 6.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001622/0.1634, allocations: 0.9933 MB / 474.7 MB, free: 5.984 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003638/0.1637, allocations: 275.3 kB / 475 MB, free: 5.715 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003891/0.1641, allocations: 246.8 kB / 475.2 MB, free: 5.473 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001422/0.1656, allocations: 0.8997 MB / 476.1 MB, free: 4.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1656, allocations: 0 / 476.1 MB, free: 4.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.876e-06/0.1656, allocations: 0 / 476.1 MB, free: 4.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.784e-05/0.1656, allocations: 3.938 kB / 476.1 MB, free: 4.566 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001262/0.1669, allocations: 0.7922 MB / 476.9 MB, free: 3.727 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.1669, allocations: 16.03 kB / 476.9 MB, free: 3.711 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001613/0.1686, allocations: 128.3 kB / 477.1 MB, free: 3.586 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004834/0.1691, allocations: 330.4 kB / 477.4 MB, free: 3.219 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.98e-05/0.1691, allocations: 33.3 kB / 477.4 MB, free: 3.188 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.87e-05/0.1692, allocations: 40.36 kB / 477.5 MB, free: 3.148 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008821/0.1701, allocations: 0.5869 MB / 478.1 MB, free: 2.488 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/0.1701, allocations: 11.92 kB / 478.1 MB, free: 2.477 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.369e-05/0.1701, allocations: 15.98 kB / 478.1 MB, free: 2.461 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.422e-05/0.1702, allocations: 36.62 kB / 478.1 MB, free: 2.426 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006891/0.1709, allocations: 386.1 kB / 478.5 MB, free: 2.047 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002844/0.1738, allocations: 2.592 MB / 481.1 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007129/0.1745, allocations: 433.8 kB / 481.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003091/0.1748, allocations: 210.6 kB / 481.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.1749, allocations: 4 kB / 481.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/0.1749, allocations: 38.5 kB / 481.8 MB, free: 14.61 MB / 366.1 MB Notification: Performance of pre-optimization done (n=33): time 2.625e-06/0.1749, allocations: 4 kB / 481.8 MB, free: 14.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=33): time 0.001945/0.1769, allocations: 0.7648 MB / 482.5 MB, free: 13.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.588e-05/0.177, allocations: 106.8 kB / 482.6 MB, free: 13.69 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003718/0.1773, allocations: 320.5 kB / 482.9 MB, free: 13.37 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.878e-05/0.1774, allocations: 29.7 kB / 483 MB, free: 13.33 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000196/0.1776, allocations: 251.7 kB / 483.2 MB, free: 13.08 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001243/0.1777, allocations: 122.4 kB / 483.3 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001498/0.1779, allocations: 78.12 kB / 483.4 MB, free: 12.88 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.178, allocations: 346.8 kB / 483.7 MB, free: 12.53 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002148/0.1783, allocations: 128.8 kB / 483.9 MB, free: 12.4 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003092/0.1786, allocations: 275.4 kB / 484.1 MB, free: 12.06 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005904/0.1792, allocations: 460.1 kB / 484.6 MB, free: 11.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.062e-06/0.1792, allocations: 4 kB / 484.6 MB, free: 11.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009389/0.1801, allocations: 0.5578 MB / 485.2 MB, free: 10.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.1802, allocations: 8 kB / 485.2 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.1802, allocations: 8.516 kB / 485.2 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003814/0.1806, allocations: 132.7 kB / 485.3 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002451/0.1808, allocations: 75.91 kB / 485.4 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002819/0.1837, allocations: 2.559 MB / 487.9 MB, free: 8.047 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002451/0.1839, allocations: 55.41 kB / 488 MB, free: 7.992 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.313e-05/0.184, allocations: 16 kB / 488 MB, free: 7.977 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (41): * Single equations (assignments): 40 * 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 {(1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002436/0.1842, allocations: 204.9 kB / 488.2 MB, free: 7.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.435e-05/0.1843, allocations: 35.53 kB / 488.2 MB, free: 7.734 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.304e-05/0.1844, allocations: 55.94 kB / 488.3 MB, free: 7.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.87e-06/0.1844, allocations: 4 kB / 488.3 MB, free: 7.676 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/0.1845, allocations: 0 / 488.3 MB, free: 7.676 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.1845, allocations: 7.938 kB / 488.3 MB, free: 7.668 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001359/0.1858, allocations: 0.9377 MB / 489.2 MB, free: 6.664 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.1858, allocations: 0 / 489.2 MB, free: 6.664 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001408/0.186, allocations: 35.92 kB / 489.3 MB, free: 6.629 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002583/0.1863, allocations: 112.8 kB / 489.4 MB, free: 6.516 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.044e-05/0.1863, allocations: 4 kB / 489.4 MB, free: 6.512 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002706/0.189, allocations: 2.564 MB / 492 MB, free: 3.797 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.189, allocations: 0 / 492 MB, free: 3.797 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007701/0.1898, allocations: 0.6343 MB / 492.6 MB, free: 3.133 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001168/0.1899, allocations: 112.7 kB / 492.7 MB, free: 3.004 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.98e-05/0.19, allocations: 11.94 kB / 492.7 MB, free: 2.992 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001914/0.1902, allocations: 8 kB / 492.7 MB, free: 2.984 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.543e-05/0.1902, allocations: 27.89 kB / 492.7 MB, free: 2.957 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.978e-05/0.1903, allocations: 12 kB / 492.8 MB, free: 2.945 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002426/0.1905, allocations: 219.1 kB / 493 MB, free: 2.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1905, allocations: 4 kB / 493 MB, free: 2.727 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007242/0.1913, allocations: 159.7 kB / 493.1 MB, free: 2.57 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (20): * Single equations (assignments): 18 * 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 {(1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001404/0.1914, allocations: 103.2 kB / 493.2 MB, free: 2.461 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009533/0.1924, allocations: 0.5454 MB / 493.8 MB, free: 1.902 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.1924, allocations: 0 / 493.8 MB, free: 1.902 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004633/0.1929, allocations: 343.4 kB / 494.1 MB, free: 1.555 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006066/0.1935, allocations: 63.16 kB / 494.2 MB, free: 1.496 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001504/0.195, allocations: 0.9821 MB / 495.2 MB, free: 480 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004697/0.1955, allocations: 0.8824 MB / 496 MB, free: 15.56 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001774/0.1957, allocations: 70.91 kB / 496.1 MB, free: 15.49 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.505e-05/0.1958, allocations: 23.44 kB / 496.1 MB, free: 15.47 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1958, allocations: 3.938 kB / 496.1 MB, free: 15.46 MB / 382.1 MB Notification: Performance of Templates: time 0.008313/0.2041, allocations: 3.77 MB / 499.9 MB, free: 11.7 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_d.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches