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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001272/0.001273, allocations: 115.4 kB / 18.41 MB, free: 4.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001625/0.001626, allocations: 192.3 kB / 21.35 MB, free: 1.715 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.54/1.54, allocations: 222.9 MB / 247 MB, free: 4.211 MB / 190.1 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.298/0.298, allocations: 38 MB / 337.2 MB, free: 12.92 MB / 270.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001914/0.001914, allocations: 72 kB / 467.5 MB, free: 27.58 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1099, allocations: 58.07 MB / 0.5133 GB, free: 9.754 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkControlled): time 0.01094/0.1209, allocations: 9.498 MB / 0.5226 GB, free: 216 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008006/0.1289, allocations: 5.401 MB / 0.5278 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006546/0.1296, allocations: 27.94 kB / 0.5279 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002745/0.1323, allocations: 1.124 MB / 0.529 GB, free: 9.637 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003195/0.1355, allocations: 1.373 MB / 0.5303 GB, free: 8.258 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001545/0.1371, allocations: 0.6048 MB / 0.5309 GB, free: 7.652 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002545/0.1397, allocations: 2.019 MB / 0.5329 GB, free: 5.629 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001401/0.1411, allocations: 1.041 MB / 0.5339 GB, free: 4.566 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001326/0.1424, allocations: 0.8442 MB / 0.5347 GB, free: 3.719 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001211/0.1436, allocations: 0.9185 MB / 0.5356 GB, free: 2.797 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001761/0.1438, allocations: 108 kB / 0.5357 GB, free: 2.691 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002689/0.1465, allocations: 1.555 MB / 0.5372 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006053/0.1471, allocations: 0.5806 MB / 0.5378 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007407/0.1479, allocations: 0.6648 MB / 0.5384 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002927/0.1508, allocations: 2.055 MB / 0.5404 GB, free: 13.82 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1508, allocations: 0 / 0.5404 GB, free: 13.82 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1508, allocations: 0 / 0.5404 GB, free: 13.82 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.82e-05/0.1509, allocations: 0 / 0.5404 GB, free: 13.82 MB / 414.1 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.002943/0.1538, allocations: 1.694 MB / 0.5421 GB, free: 12.07 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.1539, allocations: 15.89 kB / 0.5421 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003608/0.1575, allocations: 483.5 kB / 0.5426 GB, free: 11.58 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001496/0.159, allocations: 0.7022 MB / 0.5433 GB, free: 10.83 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.23e-05/0.1591, allocations: 82.53 kB / 0.5433 GB, free: 10.75 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002335/0.1593, allocations: 116.3 kB / 0.5434 GB, free: 10.64 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002852/0.1622, allocations: 1.604 MB / 0.545 GB, free: 8.973 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.66e-05/0.1622, allocations: 4 kB / 0.545 GB, free: 8.969 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001175/0.1624, allocations: 47.97 kB / 0.5451 GB, free: 8.922 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001162/0.1625, allocations: 86.22 kB / 0.5451 GB, free: 8.836 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002967/0.1655, allocations: 1.637 MB / 0.5467 GB, free: 7.191 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008058/0.1735, allocations: 4.919 MB / 0.5515 GB, free: 2.141 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002421/0.176, allocations: 1.326 MB / 0.5528 GB, free: 0.793 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001333/0.1773, allocations: 0.794 MB / 0.5536 GB, free: 15.99 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.355e-05/0.1774, allocations: 20.98 kB / 0.5536 GB, free: 15.97 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001456/0.1789, allocations: 0.8333 MB / 0.5544 GB, free: 15.12 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 4.719e-06/0.1789, allocations: 0 / 0.5544 GB, free: 15.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=137): time 0.01451/0.1934, allocations: 6.364 MB / 0.5607 GB, free: 8.637 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.876e-05/0.1935, allocations: 120.1 kB / 0.5608 GB, free: 8.496 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007187/0.1942, allocations: 0.5665 MB / 0.5613 GB, free: 7.918 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.284e-05/0.1943, allocations: 49.7 kB / 0.5614 GB, free: 7.863 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004201/0.1948, allocations: 489.3 kB / 0.5618 GB, free: 7.379 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004387/0.1952, allocations: 491.8 kB / 0.5623 GB, free: 6.895 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004007/0.1956, allocations: 226.9 kB / 0.5625 GB, free: 6.668 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002329/0.1959, allocations: 414.8 kB / 0.5629 GB, free: 6.254 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001174/0.197, allocations: 0.6189 MB / 0.5635 GB, free: 5.629 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001302/0.1984, allocations: 0.7789 MB / 0.5643 GB, free: 4.816 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002611/0.201, allocations: 1.487 MB / 0.5657 GB, free: 3.281 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.201, allocations: 0 / 0.5657 GB, free: 3.281 MB / 430.1 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.004271/0.2053, allocations: 2.088 MB / 0.5678 GB, free: 1.172 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.181e-05/0.2053, allocations: 33.64 kB / 0.5678 GB, free: 1.133 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.2054, allocations: 4 kB / 0.5678 GB, free: 1.129 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001336/0.2067, allocations: 457.6 kB / 0.5683 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001125/0.2078, allocations: 259.6 kB / 0.5685 GB, free: 432 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009662/0.2175, allocations: 6.76 MB / 0.5751 GB, free: 9.363 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/0.2185, allocations: 75.92 kB / 0.5752 GB, free: 9.289 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001166/0.2187, allocations: 47.97 kB / 0.5752 GB, free: 9.242 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001619/0.2203, allocations: 0.8734 MB / 0.5761 GB, free: 8.367 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001291/0.2216, allocations: 0.7637 MB / 0.5768 GB, free: 7.559 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002523/0.2241, allocations: 1.467 MB / 0.5783 GB, free: 6.051 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.999e-06/0.2242, allocations: 3.984 kB / 0.5783 GB, free: 6.047 MB / 446.1 MB Notification: Performance of matching and sorting (n=162) (initialization_lambda0): time 0.003921/0.2281, allocations: 2.003 MB / 0.5802 GB, free: 4.023 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.218e-05/0.2281, allocations: 43.56 kB / 0.5803 GB, free: 3.977 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.2282, allocations: 4 kB / 0.5803 GB, free: 3.973 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00123/0.2294, allocations: 446 kB / 0.5807 GB, free: 3.531 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/0.2305, allocations: 255.6 kB / 0.5809 GB, free: 3.281 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2309/0.4614, allocations: 6.578 MB / 0.5874 GB, free: 61.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009736/0.4624, allocations: 73.47 kB / 0.5874 GB, free: 61.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/0.4625, allocations: 51.89 kB / 0.5875 GB, free: 61.49 MB / 446.1 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.000271/0.4628, allocations: 253 kB / 0.5877 GB, free: 61.31 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001608/0.4629, allocations: 101.9 kB / 0.5878 GB, free: 61.31 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004338/0.4673, allocations: 2.159 MB / 0.5899 GB, free: 61.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.577e-05/0.4673, allocations: 15.38 kB / 0.5899 GB, free: 61.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.4673, allocations: 3.938 kB / 0.5899 GB, free: 61.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.828e-05/0.4673, allocations: 9.609 kB / 0.5899 GB, free: 61.2 MB / 446.1 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.006703/0.4741, allocations: 3.933 MB / 0.5938 GB, free: 59.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.746e-06/0.4741, allocations: 4.562 kB / 0.5938 GB, free: 59.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009055/0.475, allocations: 205.3 kB / 0.594 GB, free: 59.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001625/0.4766, allocations: 0.509 MB / 0.5945 GB, free: 59.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001042/0.4767, allocations: 34.75 kB / 0.5945 GB, free: 59.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008026/0.4848, allocations: 7.121 MB / 0.6015 GB, free: 54.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.646e-06/0.4848, allocations: 4.562 kB / 0.6015 GB, free: 54.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00543/0.4902, allocations: 3.09 MB / 0.6045 GB, free: 53.35 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004578/0.4907, allocations: 294.1 kB / 0.6048 GB, free: 53.16 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001353/0.4909, allocations: 32.66 kB / 0.6048 GB, free: 53.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007277/0.4916, allocations: 82.5 kB / 0.6049 GB, free: 53.11 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002804/0.4919, allocations: 119.6 kB / 0.605 GB, free: 53.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.862e-05/0.492, allocations: 47.33 kB / 0.605 GB, free: 53.08 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000418/0.4924, allocations: 402.5 kB / 0.6054 GB, free: 52.91 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4924, allocations: 2.406 kB / 0.6054 GB, free: 52.91 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001848/0.4943, allocations: 0.6619 MB / 0.6061 GB, free: 52.84 MB / 446.1 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.0001736/0.4945, allocations: 135.5 kB / 0.6062 GB, free: 52.72 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004541/0.499, allocations: 3.348 MB / 0.6095 GB, free: 51.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.499, allocations: 3.781 kB / 0.6095 GB, free: 51.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001933/0.501, allocations: 1.307 MB / 0.6108 GB, free: 50.57 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009496/0.5019, allocations: 194.7 kB / 0.6109 GB, free: 50.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003483/0.5054, allocations: 2.795 MB / 0.6137 GB, free: 49.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006067/0.506, allocations: 1.264 MB / 0.6149 GB, free: 48.33 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003184/0.5064, allocations: 92.2 kB / 0.615 GB, free: 48.3 MB / 446.1 MB Notification: Performance of SimCode: time 4.3e-07/0.5064, allocations: 0 / 0.615 GB, free: 48.3 MB / 446.1 MB Notification: Performance of Templates: time 0.01985/0.5262, allocations: 23.42 MB / 0.6379 GB, free: 26.45 MB / 446.1 MB " [Timeout remaining time 659] 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: 9.562394590000622] Failed to read output from testmodel.py, exit status != 0: 0.5323049570433795 0.540748914 0.388124788 Calling exit ...