Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.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.0008142/0.0008142, 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.003613/0.003613, allocations: 160.7 kB / 24.7 MB, free: 8.898 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.8142/0.8142, allocations: 177.1 MB / 205 MB, free: 5.73 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.2096/0.2096, allocations: 29.42 MB / 290.8 MB, free: 2.43 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_dq0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.i.3.|impedance3.p.1.|impedance3.p.2.|impedance3.p.3.|impedance3.v.1.|impedance3.v.2.|impedance3.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.i.3.|impedance3.p.1.|impedance3.p.2.|impedance3.p.3.|impedance3.v.1.|impedance3.v.2.|impedance3.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 431.5 MB, free: 13.07 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.559e-05/2.702e-05, allocations: 2.281 kB / 431.5 MB, free: 13.07 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.004966/0.004993, allocations: 6.956 MB / 438.4 MB, free: 6.082 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003133/0.008126, allocations: 4.136 MB / 442.6 MB, free: 1.93 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001984/0.008324, allocations: 15.94 kB / 442.6 MB, free: 1.914 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001446/0.00977, allocations: 1.026 MB / 443.6 MB, free: 0.8867 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.15/0.1598, allocations: 1.319 MB / 444.9 MB, free: 44 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000728/0.1605, allocations: 346.2 kB / 445.3 MB, free: 44 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009376/0.1615, allocations: 1.429 MB / 446.7 MB, free: 43.83 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005529/0.162, allocations: 0.575 MB / 447.3 MB, free: 43.77 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006186/0.1626, allocations: 0.8493 MB / 448.1 MB, free: 43.68 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004794/0.1631, allocations: 0.7388 MB / 448.9 MB, free: 43.62 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.01e-05/0.1632, allocations: 81.19 kB / 448.9 MB, free: 43.62 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001272/0.1645, allocations: 1.426 MB / 450.4 MB, free: 43.53 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002653/0.1647, allocations: 0.6435 MB / 451 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002167/0.1649, allocations: 414.6 kB / 451.4 MB, free: 43.44 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001258/0.1662, allocations: 1.985 MB / 453.4 MB, free: 43.26 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1662, allocations: 0 / 453.4 MB, free: 43.26 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1662, allocations: 0 / 453.4 MB, free: 43.26 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.272e-05/0.1662, allocations: 0 / 453.4 MB, free: 43.26 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.001082/0.1673, allocations: 1.284 MB / 454.7 MB, free: 42.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.1673, allocations: 13.86 kB / 454.7 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001745/0.1691, allocations: 0.5479 MB / 455.3 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000535/0.1696, allocations: 0.503 MB / 455.8 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.983e-05/0.1696, allocations: 71.7 kB / 455.8 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.305e-05/0.1697, allocations: 85.61 kB / 455.9 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/0.171, allocations: 1.502 MB / 457.4 MB, free: 41.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.118e-05/0.171, allocations: 3.469 kB / 457.4 MB, free: 41.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.325e-05/0.1711, allocations: 34.06 kB / 457.4 MB, free: 41.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-05/0.1711, allocations: 109.7 kB / 457.6 MB, free: 41.66 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001365/0.1725, allocations: 1.537 MB / 459.1 MB, free: 41.18 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 preOpt removeSimpleEquations (simulation): time 0.003823/0.1763, allocations: 4.222 MB / 463.3 MB, free: 39.1 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009996/0.1773, allocations: 1.081 MB / 464.4 MB, free: 38.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005683/0.1779, allocations: 0.6885 MB / 465.1 MB, free: 38.46 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.557e-05/0.1779, allocations: 18.14 kB / 465.1 MB, free: 38.45 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.1779, allocations: 45.81 kB / 465.1 MB, free: 38.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=107): time 2.344e-06/0.1779, allocations: 4 kB / 465.1 MB, free: 38.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=108): time 0.003972/0.1819, allocations: 3.523 MB / 468.7 MB, free: 37.13 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.182, allocations: 90.02 kB / 468.8 MB, free: 37.04 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002892/0.1822, allocations: 475.2 kB / 469.2 MB, free: 36.81 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.786e-05/0.1823, allocations: 45.05 kB / 469.3 MB, free: 36.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.1824, allocations: 444.2 kB / 469.7 MB, free: 36.42 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001316/0.1825, allocations: 381.8 kB / 470.1 MB, free: 36.12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001677/0.1827, allocations: 201.6 kB / 470.3 MB, free: 36.03 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.905e-05/0.1827, allocations: 380.1 kB / 470.6 MB, free: 35.69 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004929/0.1832, allocations: 0.5378 MB / 471.2 MB, free: 35.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005497/0.1838, allocations: 0.7532 MB / 471.9 MB, free: 35.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001122/0.1849, allocations: 1.401 MB / 473.3 MB, free: 34.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.1849, allocations: 0 / 473.3 MB, free: 34.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.001656/0.1866, allocations: 1.792 MB / 475.1 MB, free: 33.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.1866, allocations: 10.78 kB / 475.1 MB, free: 33.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.1866, allocations: 9.812 kB / 475.1 MB, free: 33.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006074/0.1872, allocations: 401.2 kB / 475.5 MB, free: 33.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004227/0.1876, allocations: 239.5 kB / 475.8 MB, free: 33.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003952/0.1916, allocations: 5.62 MB / 481.4 MB, free: 29.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000317/0.1919, allocations: 72.45 kB / 481.5 MB, free: 29.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.453e-05/0.192, allocations: 44.19 kB / 481.5 MB, free: 29.86 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (105): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,26,100.0%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003211/0.1923, allocations: 360.4 kB / 481.9 MB, free: 29.65 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.305e-05/0.1923, allocations: 74.81 kB / 481.9 MB, free: 29.61 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001848/0.1942, allocations: 1.798 MB / 483.7 MB, free: 28.92 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/0.1942, allocations: 12.19 kB / 483.7 MB, free: 28.92 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.1942, allocations: 5.5 kB / 483.7 MB, free: 28.92 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.1942, allocations: 6.781 kB / 483.8 MB, free: 28.92 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.003166/0.1974, allocations: 3.056 MB / 486.8 MB, free: 27.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.1974, allocations: 6.469 kB / 486.8 MB, free: 27.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003581/0.1977, allocations: 192.1 kB / 487 MB, free: 27.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005178/0.1983, allocations: 344.5 kB / 487.3 MB, free: 27.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.496e-05/0.1983, allocations: 31.48 kB / 487.4 MB, free: 27.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00375/0.2021, allocations: 5.408 MB / 492.8 MB, free: 23.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.2021, allocations: 10.44 kB / 492.8 MB, free: 23.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001806/0.2039, allocations: 1.803 MB / 494.6 MB, free: 23.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.54e-05/0.204, allocations: 89.78 kB / 494.7 MB, free: 23.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.525e-05/0.204, allocations: 27.06 kB / 494.7 MB, free: 23.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002613/0.2043, allocations: 50.98 kB / 494.8 MB, free: 23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/0.2044, allocations: 94.67 kB / 494.9 MB, free: 22.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.479e-05/0.2045, allocations: 41.67 kB / 494.9 MB, free: 22.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002497/0.2047, allocations: 318.6 kB / 495.2 MB, free: 22.83 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2047, allocations: 0 / 495.2 MB, free: 22.83 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008033/0.2055, allocations: 397.2 kB / 495.6 MB, free: 22.79 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 (91): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,7,100.0%), (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.0001357/0.2057, allocations: 130.3 kB / 495.7 MB, free: 22.69 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001848/0.2075, allocations: 1.676 MB / 497.4 MB, free: 22 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.2075, allocations: 5.031 kB / 497.4 MB, free: 22 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001017/0.2085, allocations: 1.019 MB / 498.4 MB, free: 21.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004881/0.209, allocations: 123.2 kB / 498.5 MB, free: 21.45 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002722/0.2117, allocations: 2.317 MB / 0.4891 GB, free: 20.38 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005647/0.2123, allocations: 0.5725 MB / 0.4897 GB, free: 20.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001931/0.2125, allocations: 73.42 kB / 0.4897 GB, free: 20.2 MB / 410.7 MB Notification: Performance of SimCode: time 8.21e-07/0.2125, allocations: 0 / 0.4897 GB, free: 20.2 MB / 410.7 MB Notification: Performance of Templates: time 0.01191/0.2244, allocations: 18.93 MB / 0.5082 GB, free: 7.266 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.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.5648329285904765]