Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkControlled.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.002001/0.002001, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002077/0.002077, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 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 1.548/1.548, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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.3017/0.3017, allocations: 29.42 MB / 290.5 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 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.NetworkControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkControlled") translateModel(PowerSystems.Examples.Generic.Network.NetworkControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkControlled") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.614e-06/1.614e-06, allocations: 0 / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.515e-05/3.676e-05, allocations: 2.312 kB / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkControlled): time 0.02114/0.02118, allocations: 9.332 MB / 378.2 MB, free: 1.945 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0184/0.03958, allocations: 5.374 MB / 383.6 MB, free: 12.55 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001345/0.04092, allocations: 31.81 kB / 383.6 MB, free: 12.52 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005828/0.04675, allocations: 1.14 MB / 384.8 MB, free: 11.38 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007359/0.05411, allocations: 1.419 MB / 386.2 MB, free: 9.949 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003322/0.05743, allocations: 0.6153 MB / 386.8 MB, free: 9.332 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004927/0.06236, allocations: 2.05 MB / 388.8 MB, free: 7.277 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003183/0.06555, allocations: 0.8255 MB / 389.7 MB, free: 6.43 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003795/0.06934, allocations: 1.149 MB / 390.8 MB, free: 5.277 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002688/0.07203, allocations: 0.8763 MB / 391.7 MB, free: 4.398 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000414/0.07244, allocations: 108 kB / 391.8 MB, free: 4.293 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005356/0.0778, allocations: 1.339 MB / 393.1 MB, free: 2.949 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001439/0.07924, allocations: 0.6312 MB / 393.8 MB, free: 2.316 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001479/0.08072, allocations: 474.9 kB / 394.2 MB, free: 1.852 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006919/0.08764, allocations: 2.154 MB / 396.4 MB, free: 15.69 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.152e-05/0.08765, allocations: 4 kB / 396.4 MB, free: 15.69 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.08765, allocations: 4 kB / 396.4 MB, free: 15.68 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.183e-05/0.0877, allocations: 4 kB / 396.4 MB, free: 15.68 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 299 * Number of variables: 299 Notification: Performance of Generate backend data structure: time 0.006423/0.09412, allocations: 1.777 MB / 398.2 MB, free: 13.85 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.09417, allocations: 11.98 kB / 398.2 MB, free: 13.84 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008118/0.1023, allocations: 0.6827 MB / 398.9 MB, free: 13.16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002895/0.1052, allocations: 0.6386 MB / 399.5 MB, free: 12.49 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001415/0.1053, allocations: 82.53 kB / 399.6 MB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005352/0.1059, allocations: 116.3 kB / 399.7 MB, free: 12.29 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004348/0.1102, allocations: 1.215 MB / 400.9 MB, free: 10.99 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.587e-05/0.1103, allocations: 12.16 kB / 400.9 MB, free: 10.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001935/0.1105, allocations: 44.36 kB / 401 MB, free: 10.94 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001949/0.1107, allocations: 94.16 kB / 401.1 MB, free: 10.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003387/0.1141, allocations: 0.8909 MB / 402 MB, free: 9.945 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0102/0.1243, allocations: 4.327 MB / 406.3 MB, free: 5.496 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002049/0.1263, allocations: 0.8526 MB / 407.1 MB, free: 4.621 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001025/0.1273, allocations: 430.8 kB / 407.6 MB, free: 4.191 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001113/0.1274, allocations: 28.98 kB / 407.6 MB, free: 4.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001529/0.129, allocations: 0.6097 MB / 408.2 MB, free: 3.535 MB / 378.7 MB Notification: Performance of pre-optimization done (n=126): time 4.769e-06/0.129, allocations: 0 / 408.2 MB, free: 3.535 MB / 378.7 MB Notification: Performance of matching and sorting (n=137): time 0.01407/0.143, allocations: 4.495 MB / 412.7 MB, free: 14.97 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000134/0.1432, allocations: 145.8 kB / 412.8 MB, free: 14.8 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009675/0.1441, allocations: 0.6626 MB / 413.5 MB, free: 14.12 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001161/0.1443, allocations: 53.7 kB / 413.5 MB, free: 14.06 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005978/0.1449, allocations: 0.5509 MB / 414.1 MB, free: 13.5 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006205/0.1455, allocations: 0.4998 MB / 414.6 MB, free: 13 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005074/0.146, allocations: 264.5 kB / 414.9 MB, free: 12.73 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004602/0.1464, allocations: 0.6289 MB / 415.5 MB, free: 12.09 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009888/0.1474, allocations: 374.5 kB / 415.8 MB, free: 11.71 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001269/0.1487, allocations: 0.6626 MB / 416.5 MB, free: 10.97 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002199/0.1509, allocations: 1.035 MB / 417.5 MB, free: 9.879 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.1509, allocations: 4 kB / 417.5 MB, free: 9.875 MB / 394.7 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.003854/0.1548, allocations: 1.51 MB / 419.1 MB, free: 8.336 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.98e-05/0.1548, allocations: 37.73 kB / 419.1 MB, free: 8.293 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-05/0.1548, allocations: 7.984 kB / 419.1 MB, free: 8.285 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001634/0.1565, allocations: 410.9 kB / 419.5 MB, free: 7.875 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/0.1577, allocations: 259.6 kB / 419.8 MB, free: 7.621 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009608/0.1673, allocations: 6.377 MB / 426.1 MB, free: 1.023 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/0.1683, allocations: 75.86 kB / 426.2 MB, free: 0.9492 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/0.1685, allocations: 47.98 kB / 426.3 MB, free: 0.9023 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001261/0.1697, allocations: 0.542 MB / 426.8 MB, free: 360 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001147/0.1709, allocations: 0.6393 MB / 427.4 MB, free: 15.63 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002001/0.1729, allocations: 1.019 MB / 428.5 MB, free: 14.55 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.988e-06/0.1729, allocations: 4 kB / 428.5 MB, free: 14.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=162) (initialization_lambda0): time 0.003471/0.1763, allocations: 1.467 MB / 429.9 MB, free: 13.05 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.014e-05/0.1764, allocations: 36.36 kB / 430 MB, free: 13.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.1764, allocations: 288 / 430 MB, free: 13.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001464/0.1779, allocations: 391.6 kB / 430.3 MB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/0.179, allocations: 251.6 kB / 430.6 MB, free: 12.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008732/0.1878, allocations: 6.236 MB / 436.8 MB, free: 5.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009596/0.1887, allocations: 75.94 kB / 436.9 MB, free: 5.836 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001177/0.1888, allocations: 43.98 kB / 436.9 MB, free: 5.793 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 8 (system.initime,disturbance.count,$PRE.disturbance.count,disturbance.T_start,$PRE.disturbance.T_start,$whenCondition1,$whenCondition2,frequencyPowerControl.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,9), (2,29)} Notification: Performance of prepare postOptimizeDAE: time 0.0004707/0.1893, allocations: 343.8 kB / 437.3 MB, free: 5.449 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002772/0.1896, allocations: 147.4 kB / 437.4 MB, free: 5.305 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004013/0.1936, allocations: 1.538 MB / 439 MB, free: 3.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.689e-05/0.1936, allocations: 16 kB / 439 MB, free: 3.734 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.534e-06/0.1936, allocations: 0 / 439 MB, free: 3.734 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.909e-05/0.1936, allocations: 11.91 kB / 439 MB, free: 3.723 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.006819/0.2005, allocations: 2.915 MB / 441.9 MB, free: 0.7148 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/0.2005, allocations: 3.984 kB / 441.9 MB, free: 0.7109 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009105/0.2014, allocations: 195.8 kB / 442.1 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00193/0.2033, allocations: 0.4952 MB / 442.6 MB, free: 16 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.1303/0.3336, allocations: 32.44 kB / 442.6 MB, free: 106.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007606/0.3412, allocations: 6.816 MB / 449.4 MB, free: 102.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.3412, allocations: 9.281 kB / 449.4 MB, free: 102.4 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004126/0.3453, allocations: 2.176 MB / 451.6 MB, free: 101.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005967/0.3459, allocations: 200.2 kB / 451.8 MB, free: 101.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001403/0.3461, allocations: 32.89 kB / 451.9 MB, free: 101.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007/0.3468, allocations: 62.11 kB / 451.9 MB, free: 101.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003097/0.3471, allocations: 130.1 kB / 452 MB, free: 101.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.891e-05/0.3472, allocations: 50.78 kB / 452.1 MB, free: 101.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003881/0.3475, allocations: 409.2 kB / 452.5 MB, free: 101.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3475, allocations: 0 / 452.5 MB, free: 101.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001808/0.3494, allocations: 0.6608 MB / 453.2 MB, free: 101.5 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 4 (inertia1.phi,inertia1.w,frequencyPowerControl.I.y,system.theta) * Number of discrete variables: 5 (system.initime,$whenCondition2,$whenCondition1,disturbance.T_start,disturbance.count) * Number of discrete states: 1 (disturbance.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,40), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002206/0.3496, allocations: 141.9 kB / 453.3 MB, free: 101.4 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004259/0.3538, allocations: 2.851 MB / 456.1 MB, free: 99.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.3538, allocations: 0 / 456.1 MB, free: 99.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001683/0.3555, allocations: 1.181 MB / 457.3 MB, free: 99.28 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/0.3566, allocations: 177.5 kB / 457.5 MB, free: 99.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003492/0.3601, allocations: 2.287 MB / 459.8 MB, free: 98.04 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005876/0.3607, allocations: 0.6371 MB / 460.4 MB, free: 97.87 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007153/0.3614, allocations: 250.7 kB / 460.7 MB, free: 97.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002624/0.3617, allocations: 87.66 kB / 460.7 MB, free: 97.82 MB / 410.7 MB Notification: Performance of SimCode: time 1.613e-06/0.3617, allocations: 0 / 460.7 MB, free: 97.82 MB / 410.7 MB Notification: Performance of Templates: time 0.0303/0.392, allocations: 21.19 MB / 481.9 MB, free: 95.3 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkControlled.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkControlled.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkControlled.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkControlled.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkControlled.sim & ./PowerSystems_PowerSystems.Examples.Generic.Network.NetworkControlled -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkControlled.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.964152832981199]