Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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.0008157/0.0008157, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.003347/0.003347, allocations: 164.1 kB / 24.7 MB, free: 8.891 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.8757/0.8757, allocations: 177.2 MB / 205 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2173/0.2173, allocations: 29.41 MB / 290.8 MB, free: 2.426 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 431.5 MB, free: 13.08 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.966e-05/3.115e-05, allocations: 8.109 kB / 431.5 MB, free: 13.07 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.005694/0.005725, allocations: 6.95 MB / 438.4 MB, free: 6.09 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004066/0.009791, allocations: 4.132 MB / 442.6 MB, free: 1.941 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004342/0.01023, allocations: 19.94 kB / 442.6 MB, free: 1.922 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001374/0.0116, allocations: 1.018 MB / 443.6 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1674/0.179, allocations: 1.321 MB / 444.9 MB, free: 44.09 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007426/0.1797, allocations: 349 kB / 445.3 MB, free: 44.09 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001107/0.1809, allocations: 1.433 MB / 446.7 MB, free: 43.92 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006359/0.1815, allocations: 0.5708 MB / 447.3 MB, free: 43.86 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007782/0.1823, allocations: 0.8498 MB / 448.1 MB, free: 43.77 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006053/0.1829, allocations: 0.7443 MB / 448.9 MB, free: 43.71 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.839e-05/0.1829, allocations: 80.78 kB / 448.9 MB, free: 43.71 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00163/0.1846, allocations: 1.423 MB / 450.4 MB, free: 43.62 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003481/0.1849, allocations: 0.6494 MB / 451 MB, free: 43.57 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002719/0.1852, allocations: 414.1 kB / 451.4 MB, free: 43.53 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001744/0.1869, allocations: 1.981 MB / 453.4 MB, free: 43.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.768e-06/0.1869, allocations: 3.938 kB / 453.4 MB, free: 43.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1869, allocations: 0 / 453.4 MB, free: 43.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.326e-05/0.187, allocations: 0 / 453.4 MB, free: 43.36 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.001202/0.1882, allocations: 1.276 MB / 454.7 MB, free: 42.67 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.1882, allocations: 10.33 kB / 454.7 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001903/0.1901, allocations: 0.5543 MB / 455.2 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005719/0.1907, allocations: 0.506 MB / 455.8 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.871e-05/0.1907, allocations: 69.55 kB / 455.8 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.886e-05/0.1908, allocations: 82.59 kB / 455.9 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001276/0.1921, allocations: 1.501 MB / 457.4 MB, free: 41.78 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.463e-05/0.1921, allocations: 3.469 kB / 457.4 MB, free: 41.78 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.631e-05/0.1922, allocations: 34.34 kB / 457.4 MB, free: 41.75 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.583e-05/0.1922, allocations: 106.2 kB / 457.5 MB, free: 41.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001324/0.1936, allocations: 1.538 MB / 459.1 MB, free: 41.26 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.004029/0.1976, allocations: 4.227 MB / 463.3 MB, free: 39.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/0.1986, allocations: 1.085 MB / 464.4 MB, free: 38.77 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005485/0.1992, allocations: 0.6866 MB / 465.1 MB, free: 38.53 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.199e-05/0.1992, allocations: 16.41 kB / 465.1 MB, free: 38.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.1992, allocations: 48.09 kB / 465.1 MB, free: 38.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=107): time 2.525e-06/0.1992, allocations: 0 / 465.1 MB, free: 38.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=108): time 0.004226/0.2035, allocations: 3.521 MB / 468.7 MB, free: 37.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/0.2035, allocations: 92.7 kB / 468.8 MB, free: 37.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003105/0.2038, allocations: 480.5 kB / 469.2 MB, free: 36.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.86e-05/0.2038, allocations: 40.67 kB / 469.3 MB, free: 36.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.204, allocations: 443.3 kB / 469.7 MB, free: 36.49 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001511/0.2041, allocations: 380.1 kB / 470.1 MB, free: 36.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001582/0.2043, allocations: 202 kB / 470.3 MB, free: 36.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.802e-05/0.2043, allocations: 380.6 kB / 470.6 MB, free: 35.76 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004396/0.2048, allocations: 0.5395 MB / 471.2 MB, free: 35.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005081/0.2053, allocations: 0.7547 MB / 471.9 MB, free: 35.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001088/0.2064, allocations: 1.4 MB / 473.3 MB, free: 34.47 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.2064, allocations: 2.844 kB / 473.3 MB, free: 34.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.001663/0.208, allocations: 1.789 MB / 475.1 MB, free: 33.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.2081, allocations: 9.125 kB / 475.1 MB, free: 33.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.2081, allocations: 3.281 kB / 475.1 MB, free: 33.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006267/0.2087, allocations: 407 kB / 475.5 MB, free: 33.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004554/0.2091, allocations: 236.2 kB / 475.8 MB, free: 33.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004203/0.2133, allocations: 5.629 MB / 481.4 MB, free: 29.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006369/0.214, allocations: 66.3 kB / 481.5 MB, free: 29.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.431e-05/0.214, allocations: 46.45 kB / 481.5 MB, free: 29.93 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.000452/0.2145, allocations: 363.3 kB / 481.9 MB, free: 29.72 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.951e-05/0.2146, allocations: 75.59 kB / 481.9 MB, free: 29.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001907/0.2165, allocations: 1.794 MB / 483.7 MB, free: 28.99 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-05/0.2165, allocations: 12.91 kB / 483.7 MB, free: 28.99 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.445e-06/0.2165, allocations: 5.906 kB / 483.7 MB, free: 28.99 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.2165, allocations: 6.844 kB / 483.8 MB, free: 28.99 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.003376/0.2199, allocations: 3.051 MB / 486.8 MB, free: 27.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.2199, allocations: 4.094 kB / 486.8 MB, free: 27.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003924/0.2203, allocations: 194.6 kB / 487 MB, free: 27.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005106/0.2208, allocations: 363.4 kB / 487.4 MB, free: 27.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.498e-05/0.2209, allocations: 24 kB / 487.4 MB, free: 27.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00384/0.2247, allocations: 5.402 MB / 492.8 MB, free: 23.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.2247, allocations: 8.891 kB / 492.8 MB, free: 23.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002049/0.2268, allocations: 1.801 MB / 494.6 MB, free: 23.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001838/0.2269, allocations: 91.02 kB / 494.7 MB, free: 23.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.991e-05/0.227, allocations: 29.64 kB / 494.7 MB, free: 23.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003001/0.2273, allocations: 47.75 kB / 494.8 MB, free: 23.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001947/0.2275, allocations: 95.42 kB / 494.8 MB, free: 23.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.623e-05/0.2276, allocations: 43.72 kB / 494.9 MB, free: 23.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002998/0.2279, allocations: 319.5 kB / 495.2 MB, free: 22.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2279, allocations: 2.094 kB / 495.2 MB, free: 22.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009586/0.2288, allocations: 396.1 kB / 495.6 MB, free: 22.86 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.0001602/0.229, allocations: 125.8 kB / 495.7 MB, free: 22.76 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001883/0.2309, allocations: 1.681 MB / 497.4 MB, free: 22.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.2309, allocations: 1.312 kB / 497.4 MB, free: 22.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009991/0.2319, allocations: 1.018 MB / 498.4 MB, free: 21.59 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005385/0.2324, allocations: 127.6 kB / 498.5 MB, free: 21.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002952/0.2354, allocations: 2.323 MB / 0.4891 GB, free: 20.44 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007851/0.2361, allocations: 0.5726 MB / 0.4897 GB, free: 20.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002667/0.2364, allocations: 71.38 kB / 0.4897 GB, free: 20.26 MB / 410.7 MB Notification: Performance of SimCode: time 1.934e-06/0.2364, allocations: 0 / 0.4897 GB, free: 20.26 MB / 410.7 MB Notification: Performance of Templates: time 0.01954/0.2559, allocations: 18.92 MB / 0.5082 GB, free: 7.305 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.sim & ./PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.934984713792801] Failed to read output from testmodel.py, exit status != 0: 0.26263941917568445 0.270608707 0.081600557 Calling exit ...