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.0009264/0.0009264, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.0009516/0.0009516, allocations: 167.6 kB / 25.61 MB, free: 8.902 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.9953/0.9953, allocations: 177.1 MB / 206 MB, free: 4.5 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.116/0.116, allocations: 29.42 MB / 292 MB, free: 2.652 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.333e-06/1.333e-06, allocations: 0 / 370.9 MB, free: 32.34 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.427e-05/1.56e-05, allocations: 2.312 kB / 370.9 MB, free: 32.34 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkControlled): time 0.005599/0.005615, allocations: 8.604 MB / 379.5 MB, free: 23.71 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004536/0.01015, allocations: 4.065 MB / 383.5 MB, free: 19.63 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006689/0.01082, allocations: 35.81 kB / 383.6 MB, free: 19.59 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001042/0.01186, allocations: 0.7931 MB / 384.4 MB, free: 18.8 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002041/0.0139, allocations: 1.384 MB / 385.8 MB, free: 17.41 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009804/0.01488, allocations: 0.6231 MB / 386.4 MB, free: 16.78 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001469/0.01635, allocations: 2.015 MB / 388.4 MB, free: 14.76 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008362/0.01719, allocations: 0.8295 MB / 389.2 MB, free: 13.9 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001055/0.01824, allocations: 1.126 MB / 390.3 MB, free: 12.77 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000803/0.01905, allocations: 0.8647 MB / 391.2 MB, free: 11.91 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001241/0.01917, allocations: 111.9 kB / 391.3 MB, free: 11.8 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001541/0.02071, allocations: 1.32 MB / 392.6 MB, free: 10.47 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003032/0.02102, allocations: 0.6273 MB / 393.3 MB, free: 9.844 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002904/0.02131, allocations: 474.8 kB / 393.7 MB, free: 9.379 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001477/0.02278, allocations: 1.713 MB / 395.4 MB, free: 7.66 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.02279, allocations: 0 / 395.4 MB, free: 7.66 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.02279, allocations: 0 / 395.4 MB, free: 7.66 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.418e-05/0.02281, allocations: 0 / 395.4 MB, free: 7.66 MB / 314.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.001574/0.02438, allocations: 1.726 MB / 397.2 MB, free: 5.887 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.02442, allocations: 8.031 kB / 397.2 MB, free: 5.879 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001792/0.02621, allocations: 0.6008 MB / 397.8 MB, free: 5.277 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005856/0.0268, allocations: 0.5996 MB / 398.4 MB, free: 4.648 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.132e-05/0.02684, allocations: 86.53 kB / 398.5 MB, free: 4.562 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/0.02695, allocations: 108.4 kB / 398.6 MB, free: 4.457 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008804/0.02783, allocations: 0.985 MB / 399.6 MB, free: 3.383 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.809e-05/0.02786, allocations: 12.12 kB / 399.6 MB, free: 3.371 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.739e-05/0.02792, allocations: 44.36 kB / 399.6 MB, free: 3.328 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.07e-05/0.02799, allocations: 94.09 kB / 399.7 MB, free: 3.234 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006078/0.02859, allocations: 0.5148 MB / 400.2 MB, free: 2.707 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003458/0.03205, allocations: 3.767 MB / 404 MB, free: 14.83 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007121/0.03276, allocations: 0.6701 MB / 404.7 MB, free: 14.13 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002994/0.03306, allocations: 287.5 kB / 404.9 MB, free: 13.84 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.46e-05/0.03312, allocations: 28.98 kB / 405 MB, free: 13.82 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004828/0.0336, allocations: 484.7 kB / 405.4 MB, free: 13.32 MB / 330.7 MB Notification: Performance of pre-optimization done (n=126): time 2.374e-06/0.0336, allocations: 0 / 405.4 MB, free: 13.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=137): time 0.005195/0.0388, allocations: 3.324 MB / 408.8 MB, free: 9.93 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.03886, allocations: 145.8 kB / 408.9 MB, free: 9.758 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003266/0.03918, allocations: 0.5373 MB / 409.4 MB, free: 9.203 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.224e-05/0.03925, allocations: 53.7 kB / 409.5 MB, free: 9.145 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002483/0.03949, allocations: 0.5273 MB / 410 MB, free: 8.609 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002671/0.03976, allocations: 491.7 kB / 410.5 MB, free: 8.125 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002351/0.04, allocations: 236.4 kB / 410.7 MB, free: 7.883 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.04017, allocations: 0.5936 MB / 411.3 MB, free: 7.277 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002577/0.04043, allocations: 222.5 kB / 411.5 MB, free: 7.051 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003711/0.0408, allocations: 486.8 kB / 412 MB, free: 6.5 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006366/0.04144, allocations: 0.6522 MB / 412.7 MB, free: 5.797 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.04144, allocations: 0 / 412.7 MB, free: 5.797 MB / 330.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.0014/0.04284, allocations: 1.166 MB / 413.8 MB, free: 4.602 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.328e-05/0.04288, allocations: 37.7 kB / 413.9 MB, free: 4.559 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.04288, allocations: 4 kB / 413.9 MB, free: 4.555 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000647/0.04353, allocations: 351.4 kB / 414.2 MB, free: 4.203 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004938/0.04403, allocations: 227.7 kB / 414.4 MB, free: 3.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003837/0.04786, allocations: 5.643 MB / 420.1 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003137/0.04818, allocations: 51.95 kB / 420.1 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.686e-05/0.04823, allocations: 47.91 kB / 420.2 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003627/0.0486, allocations: 363 kB / 420.5 MB, free: 13.67 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003558/0.04895, allocations: 482.8 kB / 421 MB, free: 13.12 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006037/0.04956, allocations: 0.6522 MB / 421.7 MB, free: 12.41 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.275e-06/0.04956, allocations: 0 / 421.7 MB, free: 12.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=161) (initialization_lambda0): time 0.00123/0.05079, allocations: 1.131 MB / 422.8 MB, free: 11.25 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.05081, allocations: 41.72 kB / 422.8 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.05082, allocations: 0 / 422.8 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005429/0.05136, allocations: 327.8 kB / 423.2 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004733/0.05183, allocations: 235.6 kB / 423.4 MB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003397/0.05523, allocations: 5.607 MB / 429 MB, free: 4.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003141/0.05554, allocations: 47.98 kB / 429 MB, free: 4.793 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.394e-05/0.0556, allocations: 39.98 kB / 429.1 MB, free: 4.754 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 8 (system.initime,frequencyPowerControl.I.local_reset,disturbance.count,$PRE.disturbance.count,disturbance.T_start,$PRE.disturbance.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 118 * 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.000198/0.05579, allocations: 343.8 kB / 429.4 MB, free: 4.41 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/0.05594, allocations: 143.3 kB / 429.6 MB, free: 4.27 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001489/0.05742, allocations: 1.202 MB / 430.8 MB, free: 3.051 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.05743, allocations: 16 kB / 430.8 MB, free: 3.035 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.05744, allocations: 0 / 430.8 MB, free: 3.035 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.05745, allocations: 7.969 kB / 430.8 MB, free: 3.027 MB / 346.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.002583/0.06003, allocations: 2.208 MB / 433 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.06003, allocations: 4 kB / 433 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003932/0.06043, allocations: 179.7 kB / 433.2 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007981/0.06123, allocations: 431 kB / 433.6 MB, free: 128 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.988e-05/0.06128, allocations: 31.92 kB / 433.6 MB, free: 96 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003988/0.06526, allocations: 5.927 MB / 439.5 MB, free: 9.938 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.06527, allocations: 4 kB / 439.5 MB, free: 9.934 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001771/0.06704, allocations: 1.61 MB / 441.2 MB, free: 8.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002277/0.06726, allocations: 187.2 kB / 441.3 MB, free: 8.066 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.595e-05/0.06734, allocations: 28 kB / 441.4 MB, free: 8.039 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003028/0.06764, allocations: 43.98 kB / 441.4 MB, free: 7.996 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001581/0.0678, allocations: 128.9 kB / 441.5 MB, free: 7.867 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.263e-05/0.06785, allocations: 39.98 kB / 441.6 MB, free: 7.828 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001793/0.06803, allocations: 326.7 kB / 441.9 MB, free: 7.508 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.06803, allocations: 0 / 441.9 MB, free: 7.508 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001089/0.06912, allocations: 0.6641 MB / 442.6 MB, free: 6.844 MB / 362.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.0001591/0.06928, allocations: 143.1 kB / 442.7 MB, free: 6.695 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001925/0.07121, allocations: 2.334 MB / 445 MB, free: 4.258 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.07121, allocations: 0 / 445 MB, free: 4.258 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008258/0.07203, allocations: 1.011 MB / 446 MB, free: 3.203 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005494/0.07258, allocations: 174.6 kB / 446.2 MB, free: 3.047 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002503/0.07509, allocations: 2.185 MB / 448.4 MB, free: 0.7773 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/0.07535, allocations: 360.5 kB / 448.8 MB, free: 412 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003155/0.07567, allocations: 127.1 kB / 448.9 MB, free: 280 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003499/0.07602, allocations: 246.1 kB / 449.1 MB, free: 32 kB / 362.7 MB Notification: Performance of SimCode: time 9.02e-07/0.07602, allocations: 0 / 449.1 MB, free: 32 kB / 362.7 MB Notification: Performance of Templates: time 0.02267/0.09869, allocations: 22.81 MB / 471.9 MB, free: 9.398 MB / 394.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.824204694945365]