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.001462/0.001462, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001126/0.001126, allocations: 166.2 kB / 25 MB, free: 8.348 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 1.034/1.034, allocations: 177.1 MB / 205.3 MB, free: 5.625 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.2275/0.2275, allocations: 29.42 MB / 291.2 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 2.865e-06/2.865e-06, allocations: 0 / 369.6 MB, free: 11.31 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.294e-05/3.581e-05, allocations: 6.312 kB / 369.6 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkControlled): time 0.009333/0.009369, allocations: 9.405 MB / 379 MB, free: 1.855 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.006904/0.01627, allocations: 5.382 MB / 384.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009165/0.01719, allocations: 35.75 kB / 384.4 MB, free: 12.42 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002037/0.01923, allocations: 1.139 MB / 385.6 MB, free: 11.27 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003318/0.02255, allocations: 1.419 MB / 387 MB, free: 9.848 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001475/0.02402, allocations: 0.6152 MB / 387.6 MB, free: 9.23 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002568/0.02659, allocations: 2.046 MB / 389.7 MB, free: 7.18 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001322/0.02791, allocations: 0.8217 MB / 390.5 MB, free: 6.336 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002127/0.03004, allocations: 1.145 MB / 391.6 MB, free: 5.188 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001393/0.03143, allocations: 0.8763 MB / 392.5 MB, free: 4.309 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002072/0.03164, allocations: 108 kB / 392.6 MB, free: 4.203 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002363/0.034, allocations: 1.339 MB / 394 MB, free: 2.859 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006693/0.03467, allocations: 0.6351 MB / 394.6 MB, free: 2.223 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006353/0.0353, allocations: 474.8 kB / 395.1 MB, free: 1.758 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00331/0.03861, allocations: 1.709 MB / 396.8 MB, free: 44 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.03862, allocations: 4 kB / 396.8 MB, free: 40 kB / 362.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.03862, allocations: 3.938 kB / 396.8 MB, free: 36 kB / 362.7 MB Notification: Performance of Transformations before backend: time 4.144e-05/0.03866, allocations: 4 kB / 396.8 MB, free: 32 kB / 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.002856/0.04152, allocations: 1.695 MB / 398.5 MB, free: 14.29 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.04157, allocations: 19.98 kB / 398.5 MB, free: 14.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003472/0.04504, allocations: 0.6788 MB / 399.2 MB, free: 13.59 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001109/0.04615, allocations: 0.6347 MB / 399.8 MB, free: 12.92 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.722e-05/0.04622, allocations: 90.52 kB / 399.9 MB, free: 12.83 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001769/0.04639, allocations: 112.3 kB / 400 MB, free: 12.72 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001803/0.0482, allocations: 1.079 MB / 401.1 MB, free: 11.55 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.857e-05/0.04823, allocations: 4.172 kB / 401.1 MB, free: 11.55 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.866e-05/0.04833, allocations: 48.36 kB / 401.1 MB, free: 11.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001158/0.04845, allocations: 90.16 kB / 401.2 MB, free: 11.41 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/0.04954, allocations: 0.6571 MB / 401.9 MB, free: 10.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004683/0.05422, allocations: 3.978 MB / 405.9 MB, free: 6.648 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009814/0.0552, allocations: 0.7521 MB / 406.6 MB, free: 5.867 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004526/0.05565, allocations: 350.8 kB / 406.9 MB, free: 5.516 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.489e-05/0.05572, allocations: 25 kB / 407 MB, free: 5.492 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006973/0.05642, allocations: 0.5047 MB / 407.5 MB, free: 4.965 MB / 378.7 MB Notification: Performance of pre-optimization done (n=126): time 3.606e-06/0.05642, allocations: 0 / 407.5 MB, free: 4.965 MB / 378.7 MB Notification: Performance of matching and sorting (n=137): time 0.006747/0.06317, allocations: 3.964 MB / 411.4 MB, free: 0.9336 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.728e-05/0.06324, allocations: 149.8 kB / 411.6 MB, free: 0.7578 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004712/0.06372, allocations: 0.5493 MB / 412.1 MB, free: 196 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.525e-05/0.06378, allocations: 53.7 kB / 412.2 MB, free: 136 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002896/0.06407, allocations: 0.5236 MB / 412.7 MB, free: 15.6 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002755/0.06435, allocations: 491.7 kB / 413.2 MB, free: 15.12 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002365/0.06458, allocations: 232.6 kB / 413.4 MB, free: 14.88 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001837/0.06477, allocations: 0.582 MB / 414 MB, free: 14.29 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004285/0.06519, allocations: 282.5 kB / 414.3 MB, free: 14 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005238/0.06572, allocations: 0.5318 MB / 414.8 MB, free: 13.39 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009397/0.06666, allocations: 0.7691 MB / 415.6 MB, free: 12.57 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.06666, allocations: 4 kB / 415.6 MB, free: 12.56 MB / 394.7 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.002416/0.06908, allocations: 1.307 MB / 416.9 MB, free: 11.23 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.243e-05/0.06912, allocations: 33.7 kB / 416.9 MB, free: 11.19 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.06913, allocations: 0 / 416.9 MB, free: 11.19 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001055/0.07019, allocations: 363.2 kB / 417.3 MB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007861/0.07097, allocations: 251.6 kB / 417.5 MB, free: 10.58 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005661/0.07663, allocations: 5.841 MB / 423.4 MB, free: 4.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006276/0.07726, allocations: 75.89 kB / 423.4 MB, free: 4.445 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.041e-05/0.07735, allocations: 47.98 kB / 423.5 MB, free: 4.398 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007546/0.07811, allocations: 423 kB / 423.9 MB, free: 3.977 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006795/0.07879, allocations: 0.5338 MB / 424.4 MB, free: 3.359 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001219/0.08001, allocations: 0.7653 MB / 425.2 MB, free: 2.535 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.489e-06/0.08001, allocations: 0 / 425.2 MB, free: 2.535 MB / 394.7 MB Notification: Performance of matching and sorting (n=162) (initialization_lambda0): time 0.002186/0.0822, allocations: 1.275 MB / 426.5 MB, free: 1.23 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.075e-05/0.08223, allocations: 33.7 kB / 426.5 MB, free: 1.191 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.08223, allocations: 4 kB / 426.5 MB, free: 1.188 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000875/0.08311, allocations: 335.9 kB / 426.8 MB, free: 0.8516 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007454/0.08385, allocations: 255.6 kB / 427.1 MB, free: 0.6016 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005296/0.08915, allocations: 5.788 MB / 432.9 MB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006133/0.08976, allocations: 75.95 kB / 432.9 MB, free: 10.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.645e-05/0.08985, allocations: 51.98 kB / 433 MB, free: 10.46 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.0002888/0.09014, allocations: 335.8 kB / 433.3 MB, free: 10.13 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001992/0.09034, allocations: 143.4 kB / 433.5 MB, free: 9.988 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00247/0.09281, allocations: 1.331 MB / 434.8 MB, free: 8.641 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.09282, allocations: 12 kB / 434.8 MB, free: 8.629 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.09282, allocations: 8 kB / 434.8 MB, free: 8.621 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.565e-05/0.09284, allocations: 11.91 kB / 434.8 MB, free: 8.609 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.004234/0.09707, allocations: 2.466 MB / 437.3 MB, free: 6.051 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/0.09708, allocations: 4 kB / 437.3 MB, free: 6.047 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006314/0.09771, allocations: 203.7 kB / 437.5 MB, free: 5.848 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00129/0.099, allocations: 443.1 kB / 437.9 MB, free: 5.406 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.874e-05/0.09909, allocations: 27.98 kB / 438 MB, free: 5.379 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1541/0.2532, allocations: 6.139 MB / 444.1 MB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.2532, allocations: 3.25 kB / 444.1 MB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003449/0.2567, allocations: 1.796 MB / 445.9 MB, free: 104.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005109/0.2572, allocations: 201.4 kB / 446.1 MB, free: 104.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001478/0.2573, allocations: 34.86 kB / 446.1 MB, free: 104.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005266/0.2579, allocations: 64.38 kB / 446.2 MB, free: 104.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000259/0.2581, allocations: 127.6 kB / 446.3 MB, free: 104.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.602e-05/0.2582, allocations: 48.3 kB / 446.4 MB, free: 104.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003022/0.2585, allocations: 350.6 kB / 446.7 MB, free: 104.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2585, allocations: 2.469 kB / 446.7 MB, free: 104.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001611/0.2601, allocations: 0.6614 MB / 447.4 MB, free: 104.1 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.0001834/0.2603, allocations: 135 kB / 447.5 MB, free: 104 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003179/0.2635, allocations: 2.506 MB / 450 MB, free: 103 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.2635, allocations: 3.281 kB / 450 MB, free: 103 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001166/0.2647, allocations: 1.054 MB / 451.1 MB, free: 102.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008172/0.2655, allocations: 188.2 kB / 451.2 MB, free: 102.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003775/0.2692, allocations: 2.212 MB / 453.5 MB, free: 101.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003533/0.2696, allocations: 358 kB / 453.8 MB, free: 101.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006392/0.2702, allocations: 246.8 kB / 454 MB, free: 101.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002259/0.2705, allocations: 83.81 kB / 454.1 MB, free: 101.5 MB / 410.7 MB Notification: Performance of SimCode: time 1.442e-06/0.2705, allocations: 0 / 454.1 MB, free: 101.5 MB / 410.7 MB Notification: Performance of Templates: time 0.02843/0.2989, allocations: 21.22 MB / 475.3 MB, free: 99.42 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.9700976200401783]