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.001265/0.001265, allocations: 114.9 kB / 19.04 MB, free: 3.281 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.001236/0.001236, allocations: 190 kB / 22.21 MB, free: 112 kB / 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.408/1.408, allocations: 225.6 MB / 250.8 MB, free: 13.4 MB / 206.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.1792/0.1792, allocations: 38.52 MB / 344.5 MB, free: 2.547 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.00194/0.00194, allocations: 67.89 kB / 482.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3557/0.3576, allocations: 61.24 MB / 0.5306 GB, free: 5.508 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkControlled): time 0.009865/0.3675, allocations: 9.672 MB / 0.54 GB, free: 14.44 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009294/0.3768, allocations: 5.478 MB / 0.5454 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008263/0.3776, allocations: 33.88 kB / 0.5454 GB, free: 10.03 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003135/0.3808, allocations: 1.146 MB / 0.5465 GB, free: 9.141 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003341/0.3841, allocations: 1.39 MB / 0.5479 GB, free: 8.051 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001607/0.3857, allocations: 0.62 MB / 0.5485 GB, free: 7.562 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002553/0.3883, allocations: 2.012 MB / 0.5504 GB, free: 6.434 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001116/0.3894, allocations: 0.7386 MB / 0.5512 GB, free: 5.926 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00139/0.3908, allocations: 0.8528 MB / 0.552 GB, free: 5.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001313/0.3921, allocations: 0.9845 MB / 0.553 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001622/0.3922, allocations: 110.4 kB / 0.5531 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002837/0.3951, allocations: 1.606 MB / 0.5546 GB, free: 3.902 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005937/0.3957, allocations: 0.5886 MB / 0.5552 GB, free: 3.387 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00071/0.3964, allocations: 0.6646 MB / 0.5559 GB, free: 2.719 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002877/0.3993, allocations: 2.059 MB / 0.5579 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.3993, allocations: 4 kB / 0.5579 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3993, allocations: 0 / 0.5579 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.557e-05/0.3993, allocations: 0 / 0.5579 GB, free: 0.6484 MB / 398.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.003001/0.4023, allocations: 1.692 MB / 0.5595 GB, free: 14.9 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.4023, allocations: 15.89 kB / 0.5595 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003462/0.4058, allocations: 491.4 kB / 0.56 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/0.4069, allocations: 0.6906 MB / 0.5607 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.246e-05/0.4069, allocations: 82.53 kB / 0.5608 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001968/0.4071, allocations: 116.2 kB / 0.5609 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002851/0.41, allocations: 1.601 MB / 0.5624 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.961e-05/0.41, allocations: 11.92 kB / 0.5624 GB, free: 11.8 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001204/0.4101, allocations: 51.92 kB / 0.5625 GB, free: 11.75 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001149/0.4102, allocations: 86.22 kB / 0.5626 GB, free: 11.67 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002935/0.4132, allocations: 1.629 MB / 0.5642 GB, free: 10.03 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008022/0.4212, allocations: 4.926 MB / 0.569 GB, free: 4.973 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002315/0.4235, allocations: 1.225 MB / 0.5702 GB, free: 3.727 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001388/0.4249, allocations: 0.7119 MB / 0.5709 GB, free: 3.004 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001064/0.425, allocations: 24.98 kB / 0.5709 GB, free: 2.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001574/0.4266, allocations: 0.8333 MB / 0.5717 GB, free: 2.129 MB / 414.1 MB Notification: Performance of pre-optimization done (n=126): time 2.865e-06/0.4266, allocations: 0 / 0.5717 GB, free: 2.129 MB / 414.1 MB Notification: Performance of matching and sorting (n=137): time 0.01481/0.4414, allocations: 6.341 MB / 0.5779 GB, free: 11.67 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.862e-05/0.4415, allocations: 124.1 kB / 0.578 GB, free: 11.52 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007383/0.4422, allocations: 0.5744 MB / 0.5786 GB, free: 10.94 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.79e-05/0.4423, allocations: 53.62 kB / 0.5786 GB, free: 10.88 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005062/0.4428, allocations: 481.4 kB / 0.5791 GB, free: 10.4 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005335/0.4434, allocations: 487.7 kB / 0.5795 GB, free: 9.926 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004536/0.4438, allocations: 226.9 kB / 0.5798 GB, free: 9.699 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002375/0.4441, allocations: 406.7 kB / 0.5802 GB, free: 9.293 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001245/0.4453, allocations: 0.6305 MB / 0.5808 GB, free: 8.656 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001316/0.4466, allocations: 0.7754 MB / 0.5815 GB, free: 7.84 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002656/0.4493, allocations: 1.487 MB / 0.583 GB, free: 6.305 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.4493, allocations: 4 kB / 0.583 GB, free: 6.301 MB / 430.1 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.004226/0.4535, allocations: 2.064 MB / 0.585 GB, free: 4.215 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.74e-05/0.4536, allocations: 29.98 kB / 0.585 GB, free: 4.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.4536, allocations: 8 kB / 0.585 GB, free: 4.172 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001389/0.455, allocations: 457.2 kB / 0.5855 GB, free: 3.719 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001183/0.4561, allocations: 255.6 kB / 0.5857 GB, free: 3.469 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009893/0.466, allocations: 6.769 MB / 0.5923 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009938/0.467, allocations: 79.98 kB / 0.5924 GB, free: 12.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001118/0.4671, allocations: 51.97 kB / 0.5925 GB, free: 12.28 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001683/0.4688, allocations: 0.8694 MB / 0.5933 GB, free: 11.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001296/0.4701, allocations: 0.7714 MB / 0.5941 GB, free: 10.59 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002551/0.4727, allocations: 1.467 MB / 0.5955 GB, free: 9.082 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.146e-06/0.4727, allocations: 0 / 0.5955 GB, free: 9.082 MB / 446.1 MB Notification: Performance of matching and sorting (n=162) (initialization_lambda0): time 0.003933/0.4766, allocations: 1.994 MB / 0.5974 GB, free: 7.066 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.999e-05/0.4766, allocations: 36.36 kB / 0.5975 GB, free: 7.027 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.4767, allocations: 4 kB / 0.5975 GB, free: 7.023 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001229/0.4779, allocations: 438.4 kB / 0.5979 GB, free: 6.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/0.479, allocations: 259.6 kB / 0.5981 GB, free: 6.336 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008845/0.4878, allocations: 6.588 MB / 0.6046 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/0.4889, allocations: 71.98 kB / 0.6046 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/0.489, allocations: 55.97 kB / 0.6047 GB, free: 15.32 MB / 462.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.0004065/0.4894, allocations: 248.1 kB / 0.6049 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001822/0.4896, allocations: 107.3 kB / 0.605 GB, free: 14.97 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00475/0.4943, allocations: 2.142 MB / 0.6071 GB, free: 12.81 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.675e-05/0.4944, allocations: 16 kB / 0.6071 GB, free: 12.79 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.4944, allocations: 3.938 kB / 0.6071 GB, free: 12.79 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.732e-05/0.4944, allocations: 7.969 kB / 0.6072 GB, free: 12.78 MB / 462.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.007644/0.502, allocations: 3.907 MB / 0.611 GB, free: 8.758 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/0.502, allocations: 4 kB / 0.611 GB, free: 8.754 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009337/0.503, allocations: 203.7 kB / 0.6112 GB, free: 8.555 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001667/0.5046, allocations: 0.5092 MB / 0.6117 GB, free: 8.039 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.867e-05/0.5047, allocations: 31.98 kB / 0.6117 GB, free: 8.008 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01032/0.5151, allocations: 7.129 MB / 0.6187 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/0.5151, allocations: 4.031 kB / 0.6187 GB, free: 0.5664 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006044/0.5211, allocations: 3.057 MB / 0.6216 GB, free: 13.45 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006392/0.5217, allocations: 300.2 kB / 0.6219 GB, free: 13.14 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001387/0.5219, allocations: 31.94 kB / 0.622 GB, free: 13.11 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007372/0.5226, allocations: 75.92 kB / 0.622 GB, free: 13.04 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00031/0.5229, allocations: 120.9 kB / 0.6221 GB, free: 12.91 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001043/0.523, allocations: 43.98 kB / 0.6222 GB, free: 12.87 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005383/0.5236, allocations: 403 kB / 0.6226 GB, free: 12.48 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5236, allocations: 0 / 0.6226 GB, free: 12.48 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002047/0.5256, allocations: 0.6679 MB / 0.6232 GB, free: 11.82 MB / 478.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.0002221/0.5258, allocations: 139 kB / 0.6234 GB, free: 11.67 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005721/0.5316, allocations: 3.179 MB / 0.6265 GB, free: 8.422 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.5316, allocations: 0 / 0.6265 GB, free: 8.422 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002342/0.5339, allocations: 1.246 MB / 0.6277 GB, free: 7.145 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.535, allocations: 186.7 kB / 0.6279 GB, free: 6.973 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004948/0.5399, allocations: 2.737 MB / 0.6305 GB, free: 4.172 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001113/0.541, allocations: 1.256 MB / 0.6318 GB, free: 2.887 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009063/0.5419, allocations: 303 kB / 0.632 GB, free: 2.586 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002832/0.5422, allocations: 79.41 kB / 0.6321 GB, free: 2.508 MB / 478.1 MB Notification: Performance of SimCode: time 1.212e-06/0.5422, allocations: 0 / 0.6321 GB, free: 2.508 MB / 478.1 MB Notification: Performance of Templates: time 0.04/0.5822, allocations: 24.16 MB / 0.6557 GB, free: 10.4 MB / 0.4981 GB " [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: 5.714444430544972]