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.0008989/0.0008989, allocations: 80.92 kB / 21.5 MB, free: 2.992 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.0009634/0.0009634, allocations: 168.1 kB / 24.91 MB, free: 9.152 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.9656/0.9656, allocations: 177.1 MB / 205.3 MB, free: 5.477 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.2302/0.2302, allocations: 29.42 MB / 291.2 MB, free: 2.418 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.773e-06/1.773e-06, allocations: 0 / 316.9 MB, free: 15.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.099e-05/2.276e-05, allocations: 3.188 kB / 316.9 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkControlled): time 0.006972/0.006995, allocations: 8.663 MB / 325.5 MB, free: 7.215 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005521/0.01252, allocations: 4.159 MB / 329.7 MB, free: 3.039 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006743/0.01319, allocations: 35.81 kB / 329.7 MB, free: 3.004 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001254/0.01444, allocations: 0.7813 MB / 330.5 MB, free: 2.219 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002396/0.01684, allocations: 1.364 MB / 331.9 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001137/0.01798, allocations: 0.6075 MB / 332.5 MB, free: 240 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001996/0.01997, allocations: 2.019 MB / 334.5 MB, free: 14.21 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001326/0.0213, allocations: 0.8919 MB / 335.4 MB, free: 13.29 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001561/0.02286, allocations: 1.126 MB / 336.5 MB, free: 12.16 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00117/0.02403, allocations: 0.814 MB / 337.3 MB, free: 11.34 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001681/0.0242, allocations: 108 kB / 337.4 MB, free: 11.23 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002007/0.0262, allocations: 1.316 MB / 338.8 MB, free: 9.914 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004858/0.02669, allocations: 0.6312 MB / 339.4 MB, free: 9.281 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000455/0.02714, allocations: 478.8 kB / 339.9 MB, free: 8.812 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002308/0.02945, allocations: 1.717 MB / 341.6 MB, free: 7.09 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.02946, allocations: 0 / 341.6 MB, free: 7.09 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.02946, allocations: 0 / 341.6 MB, free: 7.09 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.317e-05/0.02949, allocations: 0 / 341.6 MB, free: 7.09 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.002249/0.03174, allocations: 1.562 MB / 343.1 MB, free: 5.492 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.03178, allocations: 11.98 kB / 343.2 MB, free: 5.48 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002386/0.03417, allocations: 0.6209 MB / 343.8 MB, free: 4.859 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007464/0.03491, allocations: 0.5435 MB / 344.3 MB, free: 4.289 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.029e-05/0.03496, allocations: 82.53 kB / 344.4 MB, free: 4.207 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/0.03509, allocations: 108.4 kB / 344.5 MB, free: 4.102 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001101/0.03619, allocations: 0.9913 MB / 345.5 MB, free: 3.031 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.101e-05/0.03622, allocations: 4.141 kB / 345.5 MB, free: 3.027 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.24e-05/0.03629, allocations: 48.36 kB / 345.5 MB, free: 2.98 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.957e-05/0.03637, allocations: 102.1 kB / 345.6 MB, free: 2.879 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006723/0.03704, allocations: 462.5 kB / 346.1 MB, free: 2.414 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003921/0.04097, allocations: 3.052 MB / 349.2 MB, free: 15.26 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006867/0.04165, allocations: 0.6752 MB / 349.8 MB, free: 14.57 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002948/0.04195, allocations: 268 kB / 350.1 MB, free: 14.3 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.28e-05/0.04201, allocations: 21 kB / 350.1 MB, free: 14.28 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005172/0.04253, allocations: 468.2 kB / 350.6 MB, free: 13.8 MB / 330.7 MB Notification: Performance of pre-optimization done (n=126): time 2.956e-06/0.04253, allocations: 0 / 350.6 MB, free: 13.8 MB / 330.7 MB Notification: Performance of matching and sorting (n=137): time 0.009012/0.05154, allocations: 3.152 MB / 353.7 MB, free: 10.59 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.835e-05/0.05161, allocations: 145.8 kB / 353.9 MB, free: 10.42 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004075/0.05202, allocations: 471.1 kB / 354.3 MB, free: 9.949 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.804e-05/0.05209, allocations: 49.7 kB / 354.4 MB, free: 9.895 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002427/0.05233, allocations: 414.5 kB / 354.8 MB, free: 9.48 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003149/0.05264, allocations: 487.7 kB / 355.3 MB, free: 9 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002917/0.05294, allocations: 214.8 kB / 355.5 MB, free: 8.785 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.05308, allocations: 406.5 kB / 355.9 MB, free: 8.379 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003597/0.05668, allocations: 202.6 kB / 356.1 MB, free: 8.172 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000405/0.05708, allocations: 403.3 kB / 356.4 MB, free: 7.719 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000799/0.05788, allocations: 0.6048 MB / 357.1 MB, free: 7.074 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.05789, allocations: 0 / 357.1 MB, free: 7.074 MB / 330.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.00256/0.06045, allocations: 0.9469 MB / 358 MB, free: 6.098 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.829e-05/0.06049, allocations: 37.69 kB / 358 MB, free: 6.055 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.0605, allocations: 3.984 kB / 358 MB, free: 6.051 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002855/0.06335, allocations: 327.1 kB / 358.4 MB, free: 5.723 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008174/0.06417, allocations: 266.6 kB / 358.6 MB, free: 5.465 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008481/0.07265, allocations: 4.316 MB / 362.9 MB, free: 0.9844 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005018/0.07315, allocations: 51.95 kB / 363 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.544e-05/0.07324, allocations: 39.97 kB / 363 MB, free: 0.8945 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007554/0.07399, allocations: 298 kB / 363.3 MB, free: 0.5898 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004047/0.0744, allocations: 403.3 kB / 363.7 MB, free: 136 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003798/0.0782, allocations: 0.5981 MB / 364.3 MB, free: 15.49 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.639e-06/0.0782, allocations: 0 / 364.3 MB, free: 15.49 MB / 346.7 MB Notification: Performance of matching and sorting (n=161) (initialization_lambda0): time 0.00143/0.07963, allocations: 0.9118 MB / 365.2 MB, free: 14.55 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.843e-05/0.07966, allocations: 37.64 kB / 365.3 MB, free: 14.51 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.07967, allocations: 12.02 kB / 365.3 MB, free: 14.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007359/0.0804, allocations: 310.3 kB / 365.6 MB, free: 14.19 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005789/0.08619, allocations: 271.5 kB / 365.8 MB, free: 13.92 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007111/0.09331, allocations: 4.273 MB / 370.1 MB, free: 9.492 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005777/0.09388, allocations: 44.02 kB / 370.2 MB, free: 9.449 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.087e-05/0.09396, allocations: 47.95 kB / 370.2 MB, free: 9.402 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.0004932/0.09446, allocations: 255.1 kB / 370.5 MB, free: 9.148 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001539/0.09461, allocations: 103.9 kB / 370.6 MB, free: 9.047 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003684/0.09829, allocations: 1.016 MB / 371.6 MB, free: 8.016 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.204e-05/0.09831, allocations: 16 kB / 371.6 MB, free: 8 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.09831, allocations: 3.938 kB / 371.6 MB, free: 7.996 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.241e-05/0.09832, allocations: 11.97 kB / 371.6 MB, free: 7.984 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.005131/0.1035, allocations: 1.91 MB / 373.5 MB, free: 6.004 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.1035, allocations: 4 kB / 373.5 MB, free: 6 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002589/0.106, allocations: 195.8 kB / 373.7 MB, free: 5.809 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002046/0.1081, allocations: 427.1 kB / 374.1 MB, free: 5.383 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.25e-05/0.1082, allocations: 31.97 kB / 374.2 MB, free: 5.352 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004702/0.1129, allocations: 4.532 MB / 378.7 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.1129, allocations: 7.938 kB / 378.7 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001991/0.1149, allocations: 1.392 MB / 380.1 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002972/0.1152, allocations: 147.2 kB / 380.2 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.966e-05/0.1153, allocations: 32 kB / 380.3 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003852/0.1157, allocations: 39.92 kB / 380.3 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002232/0.1159, allocations: 133 kB / 380.4 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-05/0.116, allocations: 31.98 kB / 380.5 MB, free: 14.79 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002028/0.1162, allocations: 216.3 kB / 380.7 MB, free: 14.58 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1162, allocations: 0 / 380.7 MB, free: 14.58 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001522/0.1177, allocations: 0.6602 MB / 381.3 MB, free: 13.92 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.0001456/0.1178, allocations: 120.3 kB / 381.4 MB, free: 13.79 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002435/0.1203, allocations: 2.007 MB / 383.5 MB, free: 11.7 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.504e-05/0.1203, allocations: 8 kB / 383.5 MB, free: 11.69 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00102/0.1213, allocations: 0.8538 MB / 384.3 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007499/0.122, allocations: 192.1 kB / 384.5 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003564/0.1256, allocations: 2.122 MB / 386.6 MB, free: 8.434 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003697/0.126, allocations: 364.6 kB / 387 MB, free: 8.051 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004698/0.1264, allocations: 127 kB / 387.1 MB, free: 7.922 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004636/0.1269, allocations: 207.3 kB / 387.3 MB, free: 7.719 MB / 362.7 MB Notification: Performance of SimCode: time 1.041e-06/0.1269, allocations: 0 / 387.3 MB, free: 7.719 MB / 362.7 MB Notification: Performance of Templates: time 0.03302/0.1599, allocations: 22.25 MB / 409.6 MB, free: 1.633 MB / 378.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkControlled.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.335118745919317]