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.00175/0.00175, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.002102/0.002102, allocations: 165.7 kB / 24.26 MB, free: 176 kB / 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.52/1.52, allocations: 177.2 MB / 204.6 MB, free: 5.578 MB / 186.7 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.2996/0.2996, allocations: 29.42 MB / 290.5 MB, free: 2.445 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.623e-06/1.623e-06, allocations: 0 / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.619e-05/3.781e-05, allocations: 2.312 kB / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkControlled): time 0.01294/0.01298, allocations: 8.782 MB / 377.7 MB, free: 2.48 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01042/0.0234, allocations: 5.043 MB / 382.7 MB, free: 13.42 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001153/0.02456, allocations: 43.75 kB / 382.8 MB, free: 13.38 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003592/0.02815, allocations: 1.108 MB / 383.9 MB, free: 12.26 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004497/0.03265, allocations: 1.415 MB / 385.3 MB, free: 10.84 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001945/0.03459, allocations: 0.6152 MB / 385.9 MB, free: 10.22 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003368/0.03796, allocations: 2.05 MB / 388 MB, free: 8.168 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002034/0.03999, allocations: 0.8255 MB / 388.8 MB, free: 7.32 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002415/0.04241, allocations: 1.149 MB / 389.9 MB, free: 6.168 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001466/0.04387, allocations: 0.8608 MB / 390.8 MB, free: 5.305 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002071/0.04408, allocations: 112 kB / 390.9 MB, free: 5.195 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003376/0.04746, allocations: 1.336 MB / 392.2 MB, free: 3.855 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008245/0.04828, allocations: 0.635 MB / 392.9 MB, free: 3.219 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007347/0.04902, allocations: 470.9 kB / 393.3 MB, free: 2.758 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003794/0.05281, allocations: 2.146 MB / 395.5 MB, free: 0.6055 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.05282, allocations: 0 / 395.5 MB, free: 0.6055 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.05282, allocations: 0 / 395.5 MB, free: 0.6055 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.482e-05/0.05285, allocations: 0 / 395.5 MB, free: 0.6055 MB / 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.003716/0.05657, allocations: 1.603 MB / 397.1 MB, free: 14.96 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.05661, allocations: 11.98 kB / 397.1 MB, free: 14.95 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00395/0.06056, allocations: 0.6983 MB / 397.8 MB, free: 14.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001388/0.06195, allocations: 0.6553 MB / 398.4 MB, free: 13.56 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.383e-05/0.06204, allocations: 86.53 kB / 398.5 MB, free: 13.48 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002372/0.06228, allocations: 120.3 kB / 398.6 MB, free: 13.36 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003175/0.06545, allocations: 1.655 MB / 400.3 MB, free: 11.63 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.07e-05/0.06549, allocations: 4.188 kB / 400.3 MB, free: 11.62 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001324/0.06563, allocations: 44.55 kB / 400.3 MB, free: 11.58 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001342/0.06576, allocations: 94.14 kB / 400.4 MB, free: 11.49 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00321/0.06897, allocations: 1.621 MB / 402.1 MB, free: 9.859 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008756/0.07773, allocations: 4.381 MB / 406.4 MB, free: 5.371 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002447/0.08017, allocations: 1.219 MB / 407.7 MB, free: 4.129 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001421/0.0816, allocations: 0.7236 MB / 408.4 MB, free: 3.398 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.26e-05/0.08168, allocations: 21 kB / 408.4 MB, free: 3.379 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001651/0.08333, allocations: 0.8411 MB / 409.2 MB, free: 2.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=126): time 3.056e-06/0.08333, allocations: 0 / 409.2 MB, free: 2.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=137): time 0.0162/0.09953, allocations: 6.155 MB / 415.4 MB, free: 12.31 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001383/0.09967, allocations: 153.7 kB / 415.6 MB, free: 12.13 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000815/0.1005, allocations: 0.542 MB / 416.1 MB, free: 11.58 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001121/0.1006, allocations: 49.7 kB / 416.1 MB, free: 11.52 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004972/0.1011, allocations: 493.3 kB / 416.6 MB, free: 11.04 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005318/0.1016, allocations: 479.8 kB / 417.1 MB, free: 10.56 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006941/0.1023, allocations: 226.9 kB / 417.3 MB, free: 10.34 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002716/0.1026, allocations: 402.7 kB / 417.7 MB, free: 9.934 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001289/0.1039, allocations: 0.6518 MB / 418.4 MB, free: 9.27 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001476/0.1054, allocations: 0.8468 MB / 419.2 MB, free: 8.367 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002832/0.1082, allocations: 1.49 MB / 420.7 MB, free: 6.836 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.1082, allocations: 4 kB / 420.7 MB, free: 6.832 MB / 394.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.004725/0.1129, allocations: 2.133 MB / 422.8 MB, free: 4.672 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.99e-05/0.113, allocations: 33.7 kB / 422.9 MB, free: 4.633 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.113, allocations: 4 kB / 422.9 MB, free: 4.629 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001775/0.1148, allocations: 0.4936 MB / 423.4 MB, free: 4.129 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/0.116, allocations: 255.6 kB / 423.6 MB, free: 3.879 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01114/0.1271, allocations: 6.356 MB / 430 MB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001041/0.1282, allocations: 79.92 kB / 430 MB, free: 13.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002046/0.1284, allocations: 51.97 kB / 430.1 MB, free: 13.21 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00185/0.1302, allocations: 0.9023 MB / 431 MB, free: 12.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001809/0.132, allocations: 0.8429 MB / 431.8 MB, free: 11.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002861/0.1349, allocations: 1.463 MB / 433.3 MB, free: 9.891 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.933e-06/0.1349, allocations: 4 kB / 433.3 MB, free: 9.887 MB / 410.7 MB Notification: Performance of matching and sorting (n=161) (initialization_lambda0): time 0.004389/0.1393, allocations: 2.051 MB / 435.4 MB, free: 7.809 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.196e-05/0.1394, allocations: 37.7 kB / 435.4 MB, free: 7.766 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.1394, allocations: 7.938 kB / 435.4 MB, free: 7.758 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001444/0.1408, allocations: 466.4 kB / 435.9 MB, free: 7.297 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/0.142, allocations: 251.6 kB / 436.1 MB, free: 7.051 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01017/0.1521, allocations: 6.179 MB / 442.3 MB, free: 0.6836 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001155/0.1533, allocations: 75.92 kB / 442.4 MB, free: 0.6094 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002289/0.1535, allocations: 47.97 kB / 442.4 MB, free: 0.5625 MB / 410.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,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 (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.0004977/0.154, allocations: 248 kB / 442.6 MB, free: 320 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003464/0.1544, allocations: 143.3 kB / 442.8 MB, free: 176 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1675/0.3219, allocations: 2.146 MB / 444.9 MB, free: 109.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-05/0.3219, allocations: 15.56 kB / 444.9 MB, free: 109.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.3219, allocations: 0 / 444.9 MB, free: 109.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.626e-05/0.3219, allocations: 9.781 kB / 445 MB, free: 109.4 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.006062/0.328, allocations: 3.462 MB / 448.4 MB, free: 108.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/0.328, allocations: 3.188 kB / 448.4 MB, free: 108.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008506/0.3288, allocations: 207.8 kB / 448.6 MB, free: 108.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001763/0.3306, allocations: 0.555 MB / 449.2 MB, free: 108.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001004/0.3307, allocations: 39.8 kB / 449.2 MB, free: 108.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007495/0.3382, allocations: 6.707 MB / 455.9 MB, free: 103.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.3382, allocations: 9.656 kB / 455.9 MB, free: 103.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004964/0.3432, allocations: 3.104 MB / 459 MB, free: 102.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004799/0.3436, allocations: 211.8 kB / 459.2 MB, free: 102.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001799/0.3438, allocations: 31.5 kB / 459.3 MB, free: 102.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007818/0.3446, allocations: 72.67 kB / 459.3 MB, free: 102.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002981/0.3449, allocations: 135.1 kB / 459.5 MB, free: 102.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001077/0.345, allocations: 50.34 kB / 459.5 MB, free: 102.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00042/0.3454, allocations: 372.6 kB / 459.9 MB, free: 102.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3454, allocations: 0 / 459.9 MB, free: 102.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001872/0.3473, allocations: 0.6586 MB / 460.6 MB, free: 102.3 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.000189/0.3475, allocations: 130.2 kB / 460.7 MB, free: 102.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004483/0.352, allocations: 3.23 MB / 463.9 MB, free: 100.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.352, allocations: 0 / 463.9 MB, free: 100.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001817/0.3538, allocations: 1.251 MB / 465.2 MB, free: 100.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.3548, allocations: 199.6 kB / 465.4 MB, free: 99.99 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003926/0.3587, allocations: 2.644 MB / 468 MB, free: 98.73 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007169/0.3595, allocations: 0.6666 MB / 468.7 MB, free: 98.56 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008124/0.3603, allocations: 297 kB / 469 MB, free: 98.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002966/0.3606, allocations: 85.84 kB / 469 MB, free: 98.52 MB / 410.7 MB Notification: Performance of SimCode: time 1.012e-06/0.3606, allocations: 0 / 469 MB, free: 98.52 MB / 410.7 MB Notification: Performance of Templates: time 0.032/0.3926, allocations: 20.89 MB / 489.9 MB, free: 93.67 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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkControlled.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.758968063048087]