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.0006856/0.0006856, 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.003145/0.003145, allocations: 158.6 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.8635/0.8635, allocations: 177.1 MB / 205 MB, free: 5.734 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.254/0.254, allocations: 29.41 MB / 290.8 MB, free: 2.422 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.763e-06/1.763e-06, allocations: 0 / 431.5 MB, free: 13.11 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.726e-05/2.902e-05, allocations: 6.984 kB / 431.5 MB, free: 13.1 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkControlled): time 0.00898/0.009009, allocations: 8.782 MB / 440.3 MB, free: 4.281 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.2058/0.2148, allocations: 5.043 MB / 445.3 MB, free: 43.89 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000874/0.2157, allocations: 33.41 kB / 445.3 MB, free: 43.89 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001547/0.2172, allocations: 1.112 MB / 446.4 MB, free: 43.89 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002741/0.22, allocations: 1.415 MB / 447.9 MB, free: 43.71 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00118/0.2211, allocations: 0.6235 MB / 448.5 MB, free: 43.67 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001788/0.2229, allocations: 2.053 MB / 450.5 MB, free: 43.36 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007894/0.2237, allocations: 0.8171 MB / 451.4 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00126/0.225, allocations: 1.161 MB / 452.5 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007531/0.2257, allocations: 0.8562 MB / 453.4 MB, free: 42.67 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001026/0.2258, allocations: 115.6 kB / 453.5 MB, free: 42.67 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001803/0.2276, allocations: 1.337 MB / 454.8 MB, free: 42.39 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003973/0.228, allocations: 0.625 MB / 455.4 MB, free: 42.15 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003331/0.2284, allocations: 468.2 kB / 455.9 MB, free: 41.98 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002374/0.2307, allocations: 2.15 MB / 458.1 MB, free: 41.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.208e-06/0.2307, allocations: 3.516 kB / 458.1 MB, free: 41.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.2308, allocations: 0 / 458.1 MB, free: 41.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.989e-05/0.2308, allocations: 0 / 458.1 MB, free: 41.32 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: 299 * Number of variables: 299 Notification: Performance of Generate backend data structure: time 0.001885/0.2327, allocations: 1.606 MB / 459.7 MB, free: 40.3 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.2327, allocations: 13.58 kB / 459.7 MB, free: 40.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001778/0.2345, allocations: 492.6 kB / 460.2 MB, free: 40.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007134/0.2352, allocations: 0.6249 MB / 460.8 MB, free: 39.85 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.47e-05/0.2352, allocations: 82.48 kB / 460.9 MB, free: 39.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001218/0.2354, allocations: 111.1 kB / 461 MB, free: 39.79 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00168/0.237, allocations: 1.655 MB / 462.6 MB, free: 39.09 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.218e-05/0.2371, allocations: 11.55 kB / 462.6 MB, free: 39.08 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.121e-05/0.2371, allocations: 45.19 kB / 462.7 MB, free: 39.05 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.628e-05/0.2372, allocations: 93 kB / 462.8 MB, free: 39.04 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00162/0.2388, allocations: 1.616 MB / 464.4 MB, free: 38.55 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004259/0.2431, allocations: 4.364 MB / 468.7 MB, free: 36.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001206/0.2443, allocations: 1.223 MB / 470 MB, free: 35.8 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006666/0.245, allocations: 0.717 MB / 470.7 MB, free: 35.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.478e-05/0.245, allocations: 14.34 kB / 470.7 MB, free: 35.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008216/0.2459, allocations: 0.8454 MB / 471.5 MB, free: 35.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=126): time 3.056e-06/0.2459, allocations: 0 / 471.5 MB, free: 35.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=137): time 0.007672/0.2535, allocations: 6.109 MB / 477.7 MB, free: 32.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.916e-05/0.2536, allocations: 144.1 kB / 477.8 MB, free: 32.65 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004662/0.2541, allocations: 0.5477 MB / 478.3 MB, free: 32.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.114e-05/0.2541, allocations: 45.89 kB / 478.4 MB, free: 32.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002739/0.2544, allocations: 486.7 kB / 478.9 MB, free: 31.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000245/0.2546, allocations: 488.5 kB / 479.3 MB, free: 31.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002689/0.2549, allocations: 230.4 kB / 479.6 MB, free: 31.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.424e-05/0.255, allocations: 405 kB / 480 MB, free: 31.14 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007815/0.2558, allocations: 0.6411 MB / 480.6 MB, free: 30.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007938/0.2566, allocations: 0.8644 MB / 481.5 MB, free: 30.46 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001546/0.2581, allocations: 1.492 MB / 483 MB, free: 29.77 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.2581, allocations: 1.188 kB / 483 MB, free: 29.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.002601/0.2607, allocations: 2.099 MB / 485.1 MB, free: 28.96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.74e-05/0.2608, allocations: 33.73 kB / 485.1 MB, free: 28.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.2608, allocations: 3.812 kB / 485.1 MB, free: 28.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000799/0.2616, allocations: 447.8 kB / 485.5 MB, free: 28.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006062/0.2622, allocations: 261.7 kB / 485.8 MB, free: 28.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005632/0.2678, allocations: 6.304 MB / 492.1 MB, free: 24.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008054/0.2686, allocations: 78.95 kB / 492.2 MB, free: 24.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-05/0.2687, allocations: 52.42 kB / 492.2 MB, free: 24.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00128/0.27, allocations: 0.9028 MB / 493.1 MB, free: 24.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009202/0.2709, allocations: 0.8479 MB / 494 MB, free: 23.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001631/0.2725, allocations: 1.472 MB / 495.4 MB, free: 23.11 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.408e-06/0.2726, allocations: 4.969 kB / 495.5 MB, free: 23.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=162) (initialization_lambda0): time 0.002663/0.2752, allocations: 2.012 MB / 497.5 MB, free: 22.31 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.005e-05/0.2752, allocations: 38.78 kB / 497.5 MB, free: 22.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.2753, allocations: 2.281 kB / 497.5 MB, free: 22.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000808/0.2761, allocations: 432.7 kB / 497.9 MB, free: 22.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006406/0.2767, allocations: 259.9 kB / 498.2 MB, free: 22.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005148/0.2818, allocations: 6.127 MB / 0.4925 GB, free: 18.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007567/0.2826, allocations: 80.75 kB / 0.4926 GB, free: 18.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.77e-05/0.2827, allocations: 56.48 kB / 0.4926 GB, free: 18 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.0002906/0.283, allocations: 250.9 kB / 0.4929 GB, free: 17.76 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/0.2831, allocations: 102.8 kB / 0.493 GB, free: 17.71 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002906/0.286, allocations: 2.136 MB / 0.495 GB, free: 16.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.36e-05/0.286, allocations: 14.88 kB / 0.4951 GB, free: 16.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.286, allocations: 0 / 0.4951 GB, free: 16.89 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-05/0.286, allocations: 10.34 kB / 0.4951 GB, free: 16.89 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.004525/0.2906, allocations: 3.472 MB / 0.4985 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.2906, allocations: 10.84 kB / 0.4985 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004739/0.2911, allocations: 201.6 kB / 0.4987 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008836/0.2919, allocations: 0.5029 MB / 0.4992 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.992e-05/0.292, allocations: 37.17 kB / 0.4992 GB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00482/0.2968, allocations: 6.666 MB / 0.5057 GB, free: 9.211 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.2968, allocations: 0 / 0.5057 GB, free: 9.211 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003119/0.2999, allocations: 3.061 MB / 0.5087 GB, free: 6.516 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004052/0.3004, allocations: 213.1 kB / 0.5089 GB, free: 6.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.195e-05/0.3004, allocations: 30.53 kB / 0.5089 GB, free: 6.312 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003798/0.3008, allocations: 76.86 kB / 0.509 GB, free: 6.258 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002276/0.301, allocations: 121.9 kB / 0.5091 GB, free: 6.141 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-05/0.3011, allocations: 51.91 kB / 0.5092 GB, free: 6.09 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000321/0.3014, allocations: 374.8 kB / 0.5095 GB, free: 5.723 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3014, allocations: 0 / 0.5095 GB, free: 5.723 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001543/0.303, allocations: 0.668 MB / 0.5102 GB, free: 5.055 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.0001669/0.3031, allocations: 135 kB / 0.5103 GB, free: 4.914 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003269/0.3064, allocations: 3.221 MB / 0.5134 GB, free: 1.609 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.3064, allocations: 4.312 kB / 0.5134 GB, free: 1.605 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001135/0.3075, allocations: 1.239 MB / 0.5147 GB, free: 344 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006865/0.3082, allocations: 179.1 kB / 0.5148 GB, free: 172 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003544/0.3118, allocations: 2.694 MB / 0.5175 GB, free: 13.41 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005953/0.3124, allocations: 0.6693 MB / 0.5181 GB, free: 12.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002531/0.3126, allocations: 92.45 kB / 0.5182 GB, free: 12.61 MB / 426.7 MB Notification: Performance of SimCode: time 1.684e-06/0.3126, allocations: 0 / 0.5182 GB, free: 12.61 MB / 426.7 MB Notification: Performance of Templates: time 0.02318/0.3358, allocations: 24.14 MB / 0.5418 GB, free: 4.453 MB / 442.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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkControlled.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.34703219961375] Failed to read output from testmodel.py, exit status != 0: 0.3432970829308033 0.35701980799999994 0.12362661499999994 Calling exit ...