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.001035/0.001035, allocations: 80.8 kB / 21.49 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.001269/0.001269, allocations: 167.3 kB / 24.91 MB, free: 9.109 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.02/1.02, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.2563/0.2563, 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 1.703e-06/1.703e-06, allocations: 0 / 316.8 MB, free: 32 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.66e-05/2.83e-05, allocations: 2.312 kB / 316.8 MB, free: 28 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkControlled): time 0.0076/0.007628, allocations: 8.625 MB / 325.5 MB, free: 7.363 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006031/0.01366, allocations: 4.163 MB / 329.6 MB, free: 3.184 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000993/0.01465, allocations: 31.81 kB / 329.7 MB, free: 3.152 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001415/0.01607, allocations: 0.8009 MB / 330.5 MB, free: 2.348 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003014/0.01908, allocations: 1.384 MB / 331.8 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001437/0.02052, allocations: 0.6153 MB / 332.5 MB, free: 344 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002196/0.02271, allocations: 2.015 MB / 334.5 MB, free: 14.32 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001071/0.02379, allocations: 0.888 MB / 335.4 MB, free: 13.39 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001501/0.02529, allocations: 1.122 MB / 336.5 MB, free: 12.27 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001339/0.02663, allocations: 0.8218 MB / 337.3 MB, free: 11.45 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001844/0.02681, allocations: 111.9 kB / 337.4 MB, free: 11.34 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00187/0.02868, allocations: 1.27 MB / 338.7 MB, free: 10.06 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005091/0.02919, allocations: 0.6351 MB / 339.3 MB, free: 9.426 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005483/0.02974, allocations: 470.8 kB / 339.8 MB, free: 8.965 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002761/0.0325, allocations: 1.721 MB / 341.5 MB, free: 7.238 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.0325, allocations: 4 kB / 341.5 MB, free: 7.234 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.03251, allocations: 4 kB / 341.5 MB, free: 7.23 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.52e-05/0.03255, allocations: 3.938 kB / 341.5 MB, free: 7.227 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.002036/0.03459, allocations: 1.554 MB / 343.1 MB, free: 5.637 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.03463, allocations: 15.98 kB / 343.1 MB, free: 5.621 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00202/0.03664, allocations: 0.6248 MB / 343.7 MB, free: 4.996 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001068/0.03771, allocations: 0.5358 MB / 344.2 MB, free: 4.434 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.775e-05/0.03776, allocations: 86.52 kB / 344.3 MB, free: 4.348 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001305/0.03789, allocations: 116.4 kB / 344.4 MB, free: 4.234 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001123/0.03901, allocations: 0.9797 MB / 345.4 MB, free: 3.176 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.286e-05/0.03905, allocations: 8.141 kB / 345.4 MB, free: 3.168 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.771e-05/0.03911, allocations: 52.3 kB / 345.5 MB, free: 3.117 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.798e-05/0.03919, allocations: 90.16 kB / 345.6 MB, free: 3.027 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006584/0.03985, allocations: 462.6 kB / 346 MB, free: 2.562 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003701/0.04355, allocations: 3.06 MB / 349.1 MB, free: 15.4 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006588/0.04421, allocations: 0.6752 MB / 349.8 MB, free: 14.71 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002741/0.04449, allocations: 264.1 kB / 350 MB, free: 14.44 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.286e-05/0.04454, allocations: 24.98 kB / 350 MB, free: 14.42 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004513/0.04499, allocations: 464.2 kB / 350.5 MB, free: 13.94 MB / 330.7 MB Notification: Performance of pre-optimization done (n=126): time 2.464e-06/0.04499, allocations: 0 / 350.5 MB, free: 13.94 MB / 330.7 MB Notification: Performance of matching and sorting (n=137): time 0.005217/0.05021, allocations: 3.155 MB / 353.6 MB, free: 10.73 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.866e-05/0.05027, allocations: 149.8 kB / 353.8 MB, free: 10.56 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002986/0.05057, allocations: 471.1 kB / 354.2 MB, free: 10.09 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.118e-05/0.05063, allocations: 49.7 kB / 354.3 MB, free: 10.03 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001819/0.05081, allocations: 410.6 kB / 354.7 MB, free: 9.621 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002438/0.05105, allocations: 487.7 kB / 355.2 MB, free: 9.141 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002051/0.05126, allocations: 214.8 kB / 355.4 MB, free: 8.926 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.05138, allocations: 410.5 kB / 355.8 MB, free: 8.516 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002451/0.05163, allocations: 202.6 kB / 356 MB, free: 8.309 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002995/0.05193, allocations: 395.3 kB / 356.4 MB, free: 7.863 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005741/0.0525, allocations: 0.6087 MB / 357 MB, free: 7.215 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.0525, allocations: 0 / 357 MB, free: 7.215 MB / 330.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.001398/0.0539, allocations: 0.9469 MB / 357.9 MB, free: 6.238 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.339e-05/0.05393, allocations: 33.7 kB / 358 MB, free: 6.199 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.05395, allocations: 7.984 kB / 358 MB, free: 6.191 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006312/0.05458, allocations: 319 kB / 358.3 MB, free: 5.871 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004774/0.05505, allocations: 223.7 kB / 358.5 MB, free: 5.652 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003402/0.05846, allocations: 4.316 MB / 362.8 MB, free: 1.172 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003553/0.05881, allocations: 43.98 kB / 362.9 MB, free: 1.129 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.882e-05/0.05887, allocations: 43.97 kB / 362.9 MB, free: 1.086 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003895/0.05926, allocations: 298 kB / 363.2 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002936/0.05955, allocations: 395.3 kB / 363.6 MB, free: 340 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005522/0.06011, allocations: 0.5982 MB / 364.2 MB, free: 15.69 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.097e-06/0.06011, allocations: 4 kB / 364.2 MB, free: 15.69 MB / 346.7 MB Notification: Performance of matching and sorting (n=161) (initialization_lambda0): time 0.001269/0.06138, allocations: 0.9196 MB / 365.1 MB, free: 14.74 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.0614, allocations: 36.67 kB / 365.1 MB, free: 14.7 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.06141, allocations: 4 kB / 365.1 MB, free: 14.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005191/0.06193, allocations: 311.5 kB / 365.4 MB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004617/0.06239, allocations: 223.7 kB / 365.7 MB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003254/0.06564, allocations: 4.259 MB / 369.9 MB, free: 9.738 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003451/0.06599, allocations: 51.91 kB / 370 MB, free: 9.688 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.577e-05/0.06604, allocations: 39.98 kB / 370 MB, free: 9.648 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.0002163/0.06626, allocations: 244.1 kB / 370.2 MB, free: 9.402 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.06637, allocations: 103.8 kB / 370.3 MB, free: 9.301 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001464/0.06784, allocations: 1.02 MB / 371.4 MB, free: 8.266 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.919e-06/0.06785, allocations: 20 kB / 371.4 MB, free: 8.246 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.06785, allocations: 0 / 371.4 MB, free: 8.246 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.06786, allocations: 7.969 kB / 371.4 MB, free: 8.238 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.00272/0.07058, allocations: 1.914 MB / 373.3 MB, free: 6.254 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/0.07058, allocations: 4 kB / 373.3 MB, free: 6.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003776/0.07096, allocations: 179.7 kB / 373.5 MB, free: 6.074 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007898/0.07175, allocations: 431.1 kB / 373.9 MB, free: 5.645 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.103e-05/0.07181, allocations: 31.98 kB / 373.9 MB, free: 5.613 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003537/0.07535, allocations: 4.509 MB / 378.4 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.07535, allocations: 4 kB / 378.5 MB, free: 0.918 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001935/0.07729, allocations: 1.393 MB / 379.8 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002597/0.07755, allocations: 147.3 kB / 380 MB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.656e-05/0.07762, allocations: 32 kB / 380 MB, free: 15.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002894/0.07791, allocations: 39.98 kB / 380.1 MB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001881/0.0781, allocations: 136.9 kB / 380.2 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-05/0.07816, allocations: 31.98 kB / 380.2 MB, free: 15.07 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001696/0.07833, allocations: 212.4 kB / 380.4 MB, free: 14.86 MB / 362.7 MB Notification: Performance of sort global known variables: time 3e-08/0.07833, allocations: 0 / 380.4 MB, free: 14.86 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001266/0.07959, allocations: 0.6602 MB / 381.1 MB, free: 14.2 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.0001772/0.07977, allocations: 120.2 kB / 381.2 MB, free: 14.08 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001966/0.08174, allocations: 2.007 MB / 383.2 MB, free: 11.98 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.808e-06/0.08175, allocations: 4 kB / 383.2 MB, free: 11.98 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008096/0.08256, allocations: 0.8658 MB / 384.1 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005857/0.08314, allocations: 199 kB / 384.3 MB, free: 10.9 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00292/0.08606, allocations: 2.116 MB / 386.4 MB, free: 8.715 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007825/0.08684, allocations: 360.5 kB / 386.7 MB, free: 8.336 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004565/0.0873, allocations: 123 kB / 386.9 MB, free: 8.211 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003646/0.08767, allocations: 207.3 kB / 387.1 MB, free: 8.008 MB / 362.7 MB Notification: Performance of SimCode: time 1.443e-06/0.08767, allocations: 4 kB / 387.1 MB, free: 8.004 MB / 362.7 MB Notification: Performance of Templates: time 0.02894/0.1166, allocations: 22.11 MB / 409.2 MB, free: 2.055 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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkControlled.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6269800839945674]