Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008419/0.0008419, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.004472/0.004472, allocations: 161.5 kB / 24.7 MB, free: 9.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8346/0.8346, allocations: 177.1 MB / 205 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2119/0.2119, allocations: 29.41 MB / 290.9 MB, free: 2.414 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_dq") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_dq") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.915e-06/2.915e-06, allocations: 4 kB / 431.5 MB, free: 13.08 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.971e-05/3.262e-05, allocations: 3.969 kB / 431.5 MB, free: 13.07 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.005148/0.00518, allocations: 6.95 MB / 438.4 MB, free: 6.09 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003424/0.008605, allocations: 4.081 MB / 442.5 MB, free: 1.992 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002622/0.008867, allocations: 19.94 kB / 442.5 MB, free: 1.973 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001194/0.01006, allocations: 1.019 MB / 443.6 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1584/0.1685, allocations: 1.231 MB / 444.8 MB, free: 43.94 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007186/0.1692, allocations: 325.7 kB / 445.1 MB, free: 43.94 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001159/0.1704, allocations: 1.429 MB / 446.5 MB, free: 43.78 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005745/0.1709, allocations: 0.516 MB / 447.1 MB, free: 43.73 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006825/0.1716, allocations: 0.8105 MB / 447.9 MB, free: 43.64 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004914/0.1721, allocations: 0.6867 MB / 448.5 MB, free: 43.59 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.211e-05/0.1722, allocations: 64.25 kB / 448.6 MB, free: 43.59 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001146/0.1733, allocations: 1.142 MB / 449.8 MB, free: 43.5 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002332/0.1735, allocations: 0.5138 MB / 450.3 MB, free: 43.46 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001907/0.1737, allocations: 316.6 kB / 450.6 MB, free: 43.42 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009936/0.1747, allocations: 1.526 MB / 452.1 MB, free: 43.29 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.1747, allocations: 3.516 kB / 452.1 MB, free: 43.29 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1747, allocations: 0 / 452.1 MB, free: 43.29 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.1747, allocations: 0 / 452.1 MB, free: 43.29 MB / 410.7 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.0008627/0.1756, allocations: 1.057 MB / 453.2 MB, free: 42.69 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.1756, allocations: 16.39 kB / 453.2 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001458/0.1771, allocations: 393.8 kB / 453.6 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004392/0.1775, allocations: 439 kB / 454 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.848e-05/0.1776, allocations: 54.02 kB / 454 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.693e-05/0.1776, allocations: 70.64 kB / 454.1 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009326/0.1786, allocations: 1.176 MB / 455.3 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.501e-05/0.1786, allocations: 3.5 kB / 455.3 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.405e-05/0.1786, allocations: 32.7 kB / 455.3 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.629e-05/0.1787, allocations: 74.69 kB / 455.4 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009554/0.1796, allocations: 1.232 MB / 456.6 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002624/0.1823, allocations: 3.117 MB / 459.7 MB, free: 40.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008854/0.1832, allocations: 0.9806 MB / 460.7 MB, free: 40 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004489/0.1836, allocations: 0.5899 MB / 461.3 MB, free: 39.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.066e-05/0.1836, allocations: 14.44 kB / 461.3 MB, free: 39.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.1837, allocations: 42.11 kB / 461.4 MB, free: 39.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=91): time 3.066e-06/0.1837, allocations: 4 kB / 461.4 MB, free: 39.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=92): time 0.003491/0.1872, allocations: 2.999 MB / 464.4 MB, free: 38.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.1872, allocations: 100.9 kB / 464.5 MB, free: 38.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002113/0.1874, allocations: 350.9 kB / 464.8 MB, free: 38.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.205e-05/0.1874, allocations: 41.11 kB / 464.9 MB, free: 38.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.115e-05/0.1875, allocations: 330.5 kB / 465.2 MB, free: 38.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001227/0.1877, allocations: 319.7 kB / 465.5 MB, free: 37.85 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001335/0.1878, allocations: 159.4 kB / 465.6 MB, free: 37.78 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.138e-05/0.1878, allocations: 365.4 kB / 466 MB, free: 37.44 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003603/0.1882, allocations: 472.6 kB / 466.5 MB, free: 37.29 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004036/0.1886, allocations: 0.5709 MB / 467 MB, free: 37.04 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008585/0.1895, allocations: 1.11 MB / 468.1 MB, free: 36.55 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1895, allocations: 4 kB / 468.2 MB, free: 36.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001302/0.1908, allocations: 1.468 MB / 469.6 MB, free: 36.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.1908, allocations: 6.188 kB / 469.6 MB, free: 36.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.1908, allocations: 3.062 kB / 469.6 MB, free: 36.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005101/0.1913, allocations: 332.5 kB / 470 MB, free: 35.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003524/0.1917, allocations: 185.3 kB / 470.1 MB, free: 35.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002656/0.1943, allocations: 3.874 MB / 474 MB, free: 33.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002554/0.1946, allocations: 50.73 kB / 474.1 MB, free: 33.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.196e-05/0.1946, allocations: 33.95 kB / 474.1 MB, free: 33.58 MB / 410.7 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.0002638/0.1949, allocations: 301.1 kB / 474.4 MB, free: 33.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.673e-05/0.1949, allocations: 64.84 kB / 474.4 MB, free: 33.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001355/0.1963, allocations: 1.55 MB / 476 MB, free: 32.77 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.1963, allocations: 12.22 kB / 476 MB, free: 32.77 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.1963, allocations: 6.938 kB / 476 MB, free: 32.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.1963, allocations: 7.078 kB / 476 MB, free: 32.77 MB / 410.7 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.002593/0.1989, allocations: 2.664 MB / 478.7 MB, free: 31.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.1989, allocations: 6 kB / 478.7 MB, free: 31.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003096/0.1992, allocations: 172.9 kB / 478.9 MB, free: 31.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004308/0.1997, allocations: 279.8 kB / 479.1 MB, free: 31.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.787e-05/0.1997, allocations: 34.22 kB / 479.2 MB, free: 31.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002604/0.2023, allocations: 3.665 MB / 482.8 MB, free: 29.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.2023, allocations: 4.562 kB / 482.8 MB, free: 29.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001421/0.2037, allocations: 1.58 MB / 484.4 MB, free: 28.61 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.372e-05/0.2038, allocations: 71.64 kB / 484.5 MB, free: 28.56 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.876e-05/0.2039, allocations: 27.5 kB / 484.5 MB, free: 28.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002029/0.2041, allocations: 38.84 kB / 484.6 MB, free: 28.54 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.587e-05/0.2041, allocations: 90.84 kB / 484.6 MB, free: 28.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.375e-05/0.2042, allocations: 34.72 kB / 484.7 MB, free: 28.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001571/0.2043, allocations: 246.2 kB / 484.9 MB, free: 28.39 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.2043, allocations: 0 / 484.9 MB, free: 28.39 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006502/0.205, allocations: 305.6 kB / 485.2 MB, free: 28.36 MB / 410.7 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.0001195/0.2051, allocations: 131.6 kB / 485.3 MB, free: 28.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001286/0.2064, allocations: 1.337 MB / 486.7 MB, free: 27.75 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2064, allocations: 128 / 486.7 MB, free: 27.75 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006844/0.2071, allocations: 0.7932 MB / 487.5 MB, free: 27.43 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000426/0.2075, allocations: 104.2 kB / 487.6 MB, free: 27.38 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001809/0.2093, allocations: 1.882 MB / 489.5 MB, free: 26.46 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003622/0.2097, allocations: 484.8 kB / 489.9 MB, free: 26.32 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001597/0.2098, allocations: 70.91 kB / 490 MB, free: 26.3 MB / 410.7 MB Notification: Performance of SimCode: time 9.22e-07/0.2098, allocations: 1.312 kB / 490 MB, free: 26.3 MB / 410.7 MB Notification: Performance of Templates: time 0.01382/0.2237, allocations: 12.77 MB / 0.491 GB, free: 24.07 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_dq.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.191358957439661]