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.0009688/0.0009688, allocations: 87.58 kB / 21.19 MB, free: 3.371 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.0009869/0.0009869, allocations: 165 kB / 24.56 MB, free: 4 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 0.9435/0.9435, allocations: 177.1 MB / 205 MB, free: 5.652 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.2267/0.2267, allocations: 29.41 MB / 290.9 MB, free: 2.496 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.563e-06/1.563e-06, allocations: 0 / 369.6 MB, free: 11.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.626e-05/2.782e-05, allocations: 2.312 kB / 369.6 MB, free: 11.03 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkControlled): time 0.007192/0.007219, allocations: 8.719 MB / 378.4 MB, free: 2.266 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004831/0.01205, allocations: 4.12 MB / 382.5 MB, free: 14.13 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006238/0.01267, allocations: 39.75 kB / 382.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001174/0.01385, allocations: 0.8048 MB / 383.3 MB, free: 13.28 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00225/0.0161, allocations: 1.395 MB / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001075/0.01717, allocations: 0.6075 MB / 385.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001586/0.01876, allocations: 2.014 MB / 387.3 MB, free: 9.25 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008356/0.0196, allocations: 0.8217 MB / 388.2 MB, free: 8.406 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001109/0.0207, allocations: 1.129 MB / 389.3 MB, free: 7.273 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008245/0.02153, allocations: 0.8685 MB / 390.2 MB, free: 6.402 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001272/0.02166, allocations: 108 kB / 390.3 MB, free: 6.297 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001832/0.02349, allocations: 1.32 MB / 391.6 MB, free: 4.973 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00039/0.02388, allocations: 0.6351 MB / 392.2 MB, free: 4.336 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003585/0.02424, allocations: 474.9 kB / 392.7 MB, free: 3.871 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001823/0.02606, allocations: 1.717 MB / 394.4 MB, free: 2.148 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.02606, allocations: 0 / 394.4 MB, free: 2.148 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.02607, allocations: 0 / 394.4 MB, free: 2.148 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.874e-05/0.02608, allocations: 4 kB / 394.4 MB, free: 2.145 MB / 362.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.001716/0.0278, allocations: 1.699 MB / 396.1 MB, free: 404 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.02784, allocations: 15.98 kB / 396.1 MB, free: 388 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001996/0.02983, allocations: 0.6788 MB / 396.8 MB, free: 15.7 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007803/0.03061, allocations: 0.6347 MB / 397.4 MB, free: 15.04 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.684e-05/0.03066, allocations: 82.53 kB / 397.5 MB, free: 14.95 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/0.03079, allocations: 116.3 kB / 397.6 MB, free: 14.84 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/0.03208, allocations: 1.079 MB / 398.7 MB, free: 13.67 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.564e-05/0.03211, allocations: 8.125 kB / 398.7 MB, free: 13.66 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.203e-05/0.03218, allocations: 44.36 kB / 398.8 MB, free: 13.62 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.061e-05/0.03226, allocations: 90.16 kB / 398.8 MB, free: 13.53 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009438/0.03321, allocations: 0.6493 MB / 399.5 MB, free: 12.87 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004136/0.03734, allocations: 3.99 MB / 403.5 MB, free: 8.762 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008927/0.03824, allocations: 0.756 MB / 404.2 MB, free: 7.977 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004253/0.03866, allocations: 346.8 kB / 404.6 MB, free: 7.629 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.892e-05/0.03872, allocations: 28.98 kB / 404.6 MB, free: 7.602 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008568/0.03958, allocations: 0.497 MB / 405.1 MB, free: 7.082 MB / 378.7 MB Notification: Performance of pre-optimization done (n=126): time 3.827e-06/0.03958, allocations: 3.938 kB / 405.1 MB, free: 7.078 MB / 378.7 MB Notification: Performance of matching and sorting (n=137): time 0.006359/0.04594, allocations: 3.963 MB / 409.1 MB, free: 3.051 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.64e-05/0.04603, allocations: 153.8 kB / 409.2 MB, free: 2.871 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004588/0.04648, allocations: 0.5455 MB / 409.8 MB, free: 2.309 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.001e-05/0.04654, allocations: 53.7 kB / 409.8 MB, free: 2.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002797/0.04682, allocations: 0.5351 MB / 410.3 MB, free: 1.707 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002637/0.04709, allocations: 483.8 kB / 410.8 MB, free: 1.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002404/0.04733, allocations: 236.5 kB / 411.1 MB, free: 0.9922 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001922/0.04752, allocations: 0.5781 MB / 411.6 MB, free: 412 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004182/0.04794, allocations: 282.5 kB / 411.9 MB, free: 116 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007536/0.04869, allocations: 0.5338 MB / 412.4 MB, free: 15.5 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008561/0.04955, allocations: 0.7691 MB / 413.2 MB, free: 14.68 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.04955, allocations: 4 kB / 413.2 MB, free: 14.67 MB / 394.7 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.00167/0.05122, allocations: 1.303 MB / 414.5 MB, free: 13.34 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.864e-05/0.05126, allocations: 33.7 kB / 414.5 MB, free: 13.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.05127, allocations: 0 / 414.5 MB, free: 13.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007622/0.05203, allocations: 363.3 kB / 414.9 MB, free: 12.94 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005668/0.0526, allocations: 251.6 kB / 415.2 MB, free: 12.69 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004595/0.05719, allocations: 5.838 MB / 421 MB, free: 6.633 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005282/0.05772, allocations: 79.88 kB / 421.1 MB, free: 6.555 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.851e-05/0.05779, allocations: 47.98 kB / 421.1 MB, free: 6.508 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005829/0.05837, allocations: 427 kB / 421.5 MB, free: 6.082 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004785/0.05885, allocations: 0.526 MB / 422.1 MB, free: 5.473 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008448/0.0597, allocations: 0.7731 MB / 422.8 MB, free: 4.641 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.635e-06/0.0597, allocations: 4 kB / 422.8 MB, free: 4.637 MB / 394.7 MB Notification: Performance of matching and sorting (n=162) (initialization_lambda0): time 0.001568/0.06127, allocations: 1.268 MB / 424.1 MB, free: 3.34 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.956e-05/0.0613, allocations: 37.69 kB / 424.1 MB, free: 3.297 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.0613, allocations: 4 kB / 424.1 MB, free: 3.293 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006479/0.06195, allocations: 335.9 kB / 424.5 MB, free: 2.957 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005449/0.0625, allocations: 251.6 kB / 424.7 MB, free: 2.711 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004254/0.06675, allocations: 5.783 MB / 430.5 MB, free: 12.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005487/0.0673, allocations: 71.92 kB / 430.6 MB, free: 12.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.319e-05/0.06736, allocations: 52.08 kB / 430.6 MB, free: 12.58 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.000263/0.06763, allocations: 343.7 kB / 431 MB, free: 12.24 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/0.06776, allocations: 139.4 kB / 431.1 MB, free: 12.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001807/0.06957, allocations: 1.327 MB / 432.4 MB, free: 10.76 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.106e-06/0.06958, allocations: 15.98 kB / 432.4 MB, free: 10.74 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.06958, allocations: 7.938 kB / 432.4 MB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.889e-06/0.06959, allocations: 11.86 kB / 432.5 MB, free: 10.72 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.003434/0.07303, allocations: 2.469 MB / 434.9 MB, free: 8.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.309e-06/0.07303, allocations: 4.281 kB / 434.9 MB, free: 8.156 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004403/0.07347, allocations: 207.7 kB / 435.1 MB, free: 7.953 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009069/0.07438, allocations: 438.9 kB / 435.6 MB, free: 7.516 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.376e-05/0.07443, allocations: 31.98 kB / 435.6 MB, free: 7.484 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00513/0.07956, allocations: 6.148 MB / 441.7 MB, free: 1.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.07957, allocations: 0 / 441.7 MB, free: 1.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1478/0.2273, allocations: 1.786 MB / 443.5 MB, free: 101 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004703/0.2278, allocations: 211.1 kB / 443.7 MB, free: 101 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/0.2279, allocations: 28.81 kB / 443.8 MB, free: 101 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004241/0.2283, allocations: 65.61 kB / 443.8 MB, free: 101 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002492/0.2286, allocations: 129.4 kB / 443.9 MB, free: 101 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.64e-05/0.2286, allocations: 53.34 kB / 444 MB, free: 101 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002722/0.2289, allocations: 351.7 kB / 444.3 MB, free: 100.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2289, allocations: 1.625 kB / 444.3 MB, free: 100.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001593/0.2305, allocations: 0.6598 MB / 445 MB, free: 100.9 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.0001794/0.2307, allocations: 133.4 kB / 445.1 MB, free: 100.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00273/0.2334, allocations: 2.502 MB / 447.6 MB, free: 99.83 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.2334, allocations: 0 / 447.6 MB, free: 99.83 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00102/0.2344, allocations: 1.064 MB / 448.7 MB, free: 99.42 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006455/0.2351, allocations: 175.7 kB / 448.9 MB, free: 99.42 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003019/0.2381, allocations: 2.209 MB / 451.1 MB, free: 98.49 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.2384, allocations: 367.5 kB / 451.4 MB, free: 98.41 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004855/0.2389, allocations: 247 kB / 451.7 MB, free: 98.39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002051/0.2391, allocations: 82.23 kB / 451.8 MB, free: 98.39 MB / 410.7 MB Notification: Performance of SimCode: time 1.713e-06/0.2391, allocations: 3.281 kB / 451.8 MB, free: 98.39 MB / 410.7 MB Notification: Performance of Templates: time 0.02545/0.2645, allocations: 21.21 MB / 473 MB, free: 96.41 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: 3.804532161913812]